开发者

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 e开发者_运维问答xample 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?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜