PDA

View Full Version : Adding an application to 'Programs and Features or Add/Remove' list



dorians58
26th August 2010, 16:40
Hi all;

I'm writing an installer via Qt. Is there any way to add the app to Add/Remove programs list in control panel in order to be able to remove it?

Thanks in advance

Talei
26th August 2010, 16:58
I don't know if Qt offers some class that will automate whole process, mostly because I don't really care about this and never looked for, but You can write it Yourself.
Main trick is to create registry entry with few required entries plus uninstall application/script whatever You want, to rm all files. You can do this somewhere in Your installer.

For more details look here:
http://nsis.sourceforge.net/Add_uninstall_information_to_Add/Remove_Programs
http://msdn.microsoft.com/en-us/library/aa368032%28VS.85%29.aspx

Regards