How to configure Validation check on TARGETDIR?
Posted: Mon Dec 14, 2009 4:00 am
Hi,
in my msi, I have a dialog for user to define the installtion directory. As I want to prevent user to choose certain directories for installation, I'd like to validate the user's entry. What I'd like to achieve:
1) User enters intallation directory (TARGETDIR)
2) Validation check of installation directory
3) if fails, show a message and go back to dialog 1)
4) if ok, continue with the installation
Do you have any idea to reach that? I'm new with Windows Installer and I tried several things, but it didn't work.
Thanks
in my msi, I have a dialog for user to define the installtion directory. As I want to prevent user to choose certain directories for installation, I'd like to validate the user's entry. What I'd like to achieve:
1) User enters intallation directory (TARGETDIR)
2) Validation check of installation directory
3) if fails, show a message and go back to dialog 1)
4) if ok, continue with the installation
Do you have any idea to reach that? I'm new with Windows Installer and I tried several things, but it didn't work.
Thanks