Validating a typed in path
Posted: Fri Jun 29, 2007 7:20 pm
Hello,
I have a dialog with a push button and a edit box. The edit box is populated with a variable that is initially set to the default installation directory. When the button is pushed, I perform a select custom folder and change the value in the edit box to whatever directory the user selected. The edit box is enabled so the user can type in the directory without having to use the folder selector.
Is it possible to validate the contents of the dialog to make sure the typed in path is valid? When dealing with Wix this is possible by specifying the CheckTargetPath control event. Is anything like this possible with InstallAware?
Thanks in advance for any help.
I have a dialog with a push button and a edit box. The edit box is populated with a variable that is initially set to the default installation directory. When the button is pushed, I perform a select custom folder and change the value in the edit box to whatever directory the user selected. The edit box is enabled so the user can type in the directory without having to use the folder selector.
Is it possible to validate the contents of the dialog to make sure the typed in path is valid? When dealing with Wix this is possible by specifying the CheckTargetPath control event. Is anything like this possible with InstallAware?
Thanks in advance for any help.