Archive: Unnistaller in subfolder $INSTDIR


Unnistaller in subfolder $INSTDIR
Why didn't work a place unnistaller, when I want palce it to subfoler of $INSTDIR?

SetOutPath "$INSTDIR\System"
WriteUninstaller "Odinstalovat.exe"
Thanks fo reply

$INSTDIR is not saved anywhere. The uninstaller uses the directory from which is was executed as $INSTDIR. If you put it in a subdirectory, you can use un.GetParent in the uninstaller to get the parent directory.