Hello!
I have a situation where it has become very inconvenient to use classic uninstall.exe (Write Uninstaller "$INSTDIR\Uninstall.exe"). The fact is that the base installer can install many different applications (universal for all of them). So, I want to make the base installer is also an uninstaller (in some cases, with self-written logic via plugin). Can I use UN- pages, section and functions without INSTALLER- pages, sections and functions by commandline parameter? For example, run "install.exe -uninstall" and use only UN-prefix pages, sections, functions.
It's like embedding an uninstaller into an installer. Is it real?
Or I need to use INSTALLER- mode pages etc? It's very diffcult for skip uninstall pages in back-next process in normal install mode... =(
Thanks for any answer and sorry for my English. =)
Uninstall pages sections in basic installer.
3 posts
You can use !makensis and then !system to compile installers that do nothing other than call WriteUninstaller and then include the uninstaller as a normal file in your main installer.
See also:
- https://nsis.sourceforge.io/Signing_an_Uninstaller
See also:
- https://nsis.sourceforge.io/Signing_an_Uninstaller
Thank you. I'll try it.