Archive: Custom uninstall page / form


Custom uninstall page / form
I'm trying to create a custom uninstall page or form similar to this one:
http://www.thornsoft.com/Misc/trialpay_uninstall.PNG

The design does not need to be exactly like that and could even be integrated in the uninstall dialog but I would like it to be the first page to be displayed when the user runs the uninstaller.

Anyone knows if this is even possible with NSIS? I have sample code for inno setup (to create that exact dialog) but I use NSIS in all my products.

Thanks!


To be that size, you will have to write an NSIS plug-in that displays the dialog. It's very easy to do as you can use Visual Studio to design your form. The only bit that may require a little bit more work is changing the background colours.

Stu


Originally posted by Afrow UK
To be that size, you will have to write an NSIS plug-in that displays the dialog. It's very easy to do as you can use Visual Studio to design your form. The only bit that may require a little bit more work is changing the background colours.

Stu
What about displaying that text within the uninstall dialog as the first page the user would see? Would that be an easy thing to do?

I only use Delphi so I'm not sure it would be easy for me to write the plug-in to display the dialog (but I can try :).

There is a Delphi example under ExDll (in NSIS source under Contrib). ExDll may be included with normal NSIS dist. now as well but I'm not sure.

Otherwise, yes, using InstallOptions or nsDialogs will let you create an embedded dialog in your installer/uninstaller but you cannot change the dialog's size. There are lots of InstallOptions examples in the Examples and Examples\Modern UI folders. nsDialogs should have some as well.

Stu