Page 1 of 1

unwanted change button in Add/Remove Programs

Posted: Thu Aug 11, 2011 3:52 am
by rosstrusler
During the Project Wizard, I selected 'uninstall only', since my app is a single EXE and I didn't want maintenance, and I want the simplest possible interface for my users. If there are 2 choices instead of 1, I get lots of support calls.

Anyway, despite choosing 'uninstall only', my app gets both the 'uninstall' and 'change' buttons in Add/Remove Programs (aka Programs and Features).

Worse, if a user clicks 'change', the app uninstalls, but the entry in Add/Remove programs isn't removed.

How do I suppress the 'Change' button from appearing. Why is it appearing in the first place despite my 'uninstall only' selection in the Project Wizard?
uninstall_only_please.png
uninstall_only_please.png (139.99 KiB) Viewed 4780 times

Re: unwanted change button in Add/Remove Programs

Posted: Thu Aug 11, 2011 4:47 am
by bokkie
Does this help? It might give you a starting frame of reference.

http://www.installaware.com/forum/viewt ... f=2&t=6752

Re: unwanted change button in Add/Remove Programs

Posted: Thu Aug 11, 2011 9:40 am
by rosstrusler
Thanks for that link. I can confirm that I have the same issue. Here is my registry (under HKCU/Software/Microsoft/Windows/CurrentVersion/Uninstall):
NoModifyMissing.png
NoModifyMissing.png (84.77 KiB) Viewed 4771 times
Yet here is the option I chose in the Wizard, and I didn't change anything in MSI code:
Uninstall_Only.png
Uninstall_Only.png (95.36 KiB) Viewed 4771 times
Seems like a bug to me. And bad too, since when the user clicks 'change', it uninstalls without removing the reference from ARP. Do you concur?

In the meantime, I will add a line of MSICode to create this key.

Re: unwanted change button in Add/Remove Programs

Posted: Thu Aug 11, 2011 12:06 pm
by giaviv
Guys,

Thank for your input. We are aware of this, and the suggested work-around is indeed to add the registry key during the installation.