Archive: Choose directory if Registry entry does not Exists


Choose directory if Registry entry does not Exists
HI All,

I am trying to create an installer, but I need to only display the choose directory dialog if the registry directory entry does not exists or is not valid... I have not been successful in my efforts to do this. Can anyone give me a hand?

Thanks,
Radmonius


OK.. I figured it out...

I check for the empty string in a function and skip the directory page if the $InstallDir Variable has something in it


You should do checks... first check if $INSTDIR is empty "" with StrCmp then check it exists with IfFileExists "$INSTDIR\*.*"

-Stu