Skip to content
⌘ NSIS Forum Archive

Ok to call WriteUninstaller in .onInit?

3 posts

andrewb#

Ok to call WriteUninstaller in .onInit?

Can anything think of negative ramifications of calling WriteUninstaller during .onInit? After looking through documentation and some searching I am unable to find out if this is a bad idea.

Let me know your thoughts.
kichik#
The uninstaller does whatever you tell it to do, so it can only become a bad idea if you do bad things in your uninstaller. The uninstaller does nothing you don't tell it to. It doesn't write to the registry and doesn't delete files.