Talk:Signing an Uninstaller: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(uninstaller script can't use $INSTDIR variable!) |
(Answer question) |
||
Line 1: | Line 1: | ||
Does this solution require that the $INSTDIR is static in the installer (i.e. not user-selectable at time of install execution)? It seems that it would if you pre-create, sign, and then include the uninstall.exe with the rest of the files in the installer. i.e. I won't be able to use the $INSTDIR variable dynamically within the uninstaller! (?) | Does this solution require that the $INSTDIR is static in the installer (i.e. not user-selectable at time of install execution)? It seems that it would if you pre-create, sign, and then include the uninstall.exe with the rest of the files in the installer. i.e. I won't be able to use the $INSTDIR variable dynamically within the uninstaller! (?) | ||
Anders: No, it does not. There is a dummy installer that runs first on your system to generate the uninstaller.exe. | |||
---- |
Latest revision as of 04:58, 4 January 2020
Does this solution require that the $INSTDIR is static in the installer (i.e. not user-selectable at time of install execution)? It seems that it would if you pre-create, sign, and then include the uninstall.exe with the rest of the files in the installer. i.e. I won't be able to use the $INSTDIR variable dynamically within the uninstaller! (?)
Anders: No, it does not. There is a dummy installer that runs first on your system to generate the uninstaller.exe.