NewsArchive
07-31-2009, 03:14 AM
Hi,
Is it possible to intersept an install if the user select an illegal
directory (don't ask me why the folder in question is illegal <g> ):
I have tried this:
......
Define Wizard Dialog "#4" (Select Install Folder) (%_SB_INSTALLDIR%)
If %_SB_INSTALLDIR% Contains "%PROGRAMFILESDIR%" Then
Display Message Box "You try to install in %PROGRAMFILESDIR..." --
"Wrong folder!"
End
Define Wizard Dialog "#5" (Ready to Install)
......
but that does not work.
Any ideas ?
Cheers,
/Poul
Is it possible to intersept an install if the user select an illegal
directory (don't ask me why the folder in question is illegal <g> ):
I have tried this:
......
Define Wizard Dialog "#4" (Select Install Folder) (%_SB_INSTALLDIR%)
If %_SB_INSTALLDIR% Contains "%PROGRAMFILESDIR%" Then
Display Message Box "You try to install in %PROGRAMFILESDIR..." --
"Wrong folder!"
End
Define Wizard Dialog "#5" (Ready to Install)
......
but that does not work.
Any ideas ?
Cheers,
/Poul