Skip to content
⌘ NSIS Forum Archive

warning: Uninstall section found but WriteUninstaller never used - no uninstal

4 posts

dienjd#

warning: Uninstall section found but WriteUninstaller never used - no uninstal

Devs, what causes this compiler warning?
warning: Uninstall section found but WriteUninstaller never used - no uninstaller will be created.

I have a script that does not contain Section "Uninstall" , but I still get this warning message. What else can make the compiler think that a script has an uninstall section?
goldy1064#
From the documentation:
If the section name is 'Uninstall' or is prefixed with 'un.', then it is a an uninstaller section.
dienjd#
oops, it turns out I had left behind some MUI_UNPAGE macros that weren't being used. Taking them out made the warning go away. Thanks.