/build/static/layout/Breadcrumb_cap_w.png

Checking if a file exists When i press on Next in a dialog

Hi all

I have made a dialog where the user should enter the path of a folder.

The path is saved in a property

I want to check if there's a certain file ( program.exe) exists in this folder.

If yes nothing happens
If no the user should be prompted that the file does not exist.

Note that i want to implement this scenario after the user enters the path or when the user presses next in the dialog where the path is entered.

i have found a vbscript to check for a file if it exists. But i don't know how can i call it when "next" is pressed. i need also to know where can i insert the script.

Beside that is the path saved in the property directly after the user enters the path in the editfield or is it done in the execute immediate sequence?

Thanks in advance

Best Regards

0 Comments   [ + ] Show comments

Answers (1)

Posted by: bkelly 15 years ago
Red Belt
0
You can use AppSearch to avoid the need to prompt the user at all: http://itninja.com/blog/view/appdeploy.com->-training-videos->-windows-installer-appsearch-(wise-system-search)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ