PDA

View Full Version : New Drive and Dir location after test


Jean
02-19-2002, 08:48 AM
From the:

Screens->Before Installing->Select Install Folder->After

I am creating a Setup file for an upgrade. I am checking to make sure the directory they type in has a data base file. If it doesn't then I am aborting.

Is it possable to backup to the Installation Folder screen where they entered the Drive and Directory to let them enter again?

Jean
02-19-2002, 01:06 PM
Thanks! That worked great.

Darryl
02-20-2002, 12:25 AM
You can accomplish this using the built-in variable defined as follows:

%PreventNextPage%
This is a special variable that can be set on a screen's Before or After action tabs. If this variable is set to TRUE, the installer will not allow the user to proceed to the next screen when the Next button is clicked; instead, the user will remain on the current screen. If set to FALSE, the installer will allow the user to proceed normally when they click Next.

This variable is useful if you want to validate the data entered by the user on a screen. If the data is incorrect, you could display an error message and set %PreventNextPage% to "true" to make the user go back and enter valid data.

The value of %PreventNextPage% is reset to FALSE every time a screen is displayed.


Hope this helps.

------------------
Sincerely,

Darryl Hnatiuk
Indigo Rose Corporation