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


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?


Maybe an uninstaller function or section prefixed with "un.".


From the documentation:

If the section name is 'Uninstall' or is prefixed with 'un.', then it is a an uninstaller section.

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.