Archive: Uninstaller and $INSTDIR question


Uninstaller and $INSTDIR question
Is there a way to put uninstaller outside $INSTDIR and make it works? I have been trying without success :(


If your installer is not in $INSTDIR, run it with Exec like so:

Exec '"path\uninstall.exe" _?=$INSTDIR'

For manual uninstall (when user runs uninstaller) you need to store $INSTDIR in the registry and read it with ReadRegStr.

-Stu