Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select custom components to uninstall on Inno Setup uninstaller

I made installer with Inno Setup. It consist of multiple executables all located in Program Files "APP" folder. But for every executable there's different subfolder in this "APP" folder.

Because every executable is different from purpose, I want to create uninstaller where I can choose, which component I want to uninstall (for example Change button in Add/Remove programs). At the moment uninstaller removes all the applications.

One option is to create different installer for every component and then create installer that contains other installers, but this is too weird.

Is it possible to create custom uninstaller with option to select which component I want to uninstall?

like image 742
evilone Avatar asked Jun 20 '11 14:06

evilone


2 Answers

What seems that you need is a modify/repair setup option to your application's setup, right? Take a look in this extension named UninsHs

Note: Searching in Google I've found another newer version in other site, but I am not sure if it is legit.

like image 80
EMBarbosa Avatar answered Oct 24 '22 20:10

EMBarbosa


It is possible to do in the Inno uninstaller but it won't "fit in" with the wizard style, and will require showing your own forms, and cancelling the uninstall when you've removed the bits you want.

An alternative is to use the setup (which is slightly better suited for this) and handle components being ticked and unticked.

Both of these will require fairly extensive [Code] being written though.

like image 28
Deanna Avatar answered Oct 24 '22 20:10

Deanna