saying $Instdir cannot be a certain folder?
I haven't really researched this much, but is there any way to say "if $instdir = "C:\folder" then error/msgbox/don't install"?
9 posts
Function .onVerifyInstDir
If $INSTDIR <> "\\path\directory" PathGood
Abort ;
PathGood
FunctionEnd
Function .onVerifyInstDir
If strcmp $INSTDIR "\\path\directory" PathGood
Abort ;
PathGood
FunctionEnd
Function .onVerifyInstDir
StrCmp $INSTDIR "C:\\Bad dir" 0 PathGood
Abort
PathGood:
FunctionEnd