Archive: Multiple Uninistallers


Multiple Uninistallers
Heyho!

Well... I codet several tools, and now I want to add them into one installer. Therefor I am using normal sections with dummys.

Now my question: Is it possible to create an uninstaller for each of the tool? Because I want the tool collection to keep variable, so you can add and remove tools as you want.

Would be cool if someone can help me :)

Thank you!


you could simply create a 2nd installer using sections, that works as your uninstaller. you can hide/disable sections of tools that weren't installed in the first place.


Suggestion: You could create each installer/uninstaller standalone and then write a wrapper-installer that calls all your real installers. You can install silently so your users will only see the GUI of the outer installer. The outer installer can be without uninstaller.

This way you can have single installers and create simple packages (wrapper) as you like.

Using this way you will have one entry for each tool in Windows Control Panel (Software / Uninstall) -- but anything is possible here, too...

If you want only one uninstall entry there, you should really combine the uninstallers into one (as Yathosho suggested). But you do not need a second NSIS script for this. Your uninstaller could detect what tools are installed and allow uninstalling just those (one section per tool).


Thank you for your suggestions!

I will first try the second one, cause it sounds better ^^.