I need my installer to specify a folder path and validate that not root drive is specifyed..
e.g.
C:\Folder\ - Allowed
C:\Folder\Subfolder\ - Allowed
C:\ - Not Allowed
I have made a custom action with the following VB script and attached it to dialog next button:
Path=Session.Property("REPOSITORY_FOLDER") : If Len(Path)<4 Then MsgBox("Please specify folder")
But how do I prevent that the wizard continues if Path not longer than 4 chars.?