cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
geo1st487
Level 5

Checking server path

I try make a dialogbox with a text control which contain the server path, and a button which check if the server path is correct. How do that?
How to check if the server path is correct?
Thanks
Labels (1)
0 Kudos
(2) Replies
Apoorv_Jain
Level 5

Write a function and attach to a custom action which executes on your dialog's button click...

function should check for the path using Is() function where 1st argument to Is() will be PATH_EXISTS and the second argument will be the value in your Server path field which you will have to get using MsiGetProperty().

Hope this helps.
0 Kudos
geo1st487
Level 5

Apoorv Jain wrote:
Write a function and attach to a custom action which executes on your dialog's button click...


Ok, i write a function which display only a message and attach to a custom action. After set for button the DoAction to function name and condition to 1. When run my setup and push button see hourglass for 1-2 seconds without message. What happen if my code is ok?
0 Kudos