unwanted change button in Add/Remove Programs

Got a problem you cannot solve? Try here.
Post Reply
rosstrusler
Posts: 35
Joined: Fri May 13, 2011 1:24 am

unwanted change button in Add/Remove Programs

Post 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 4777 times
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: unwanted change button in Add/Remove Programs

Post by bokkie »

Does this help? It might give you a starting frame of reference.

http://www.installaware.com/forum/viewt ... f=2&t=6752
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
rosstrusler
Posts: 35
Joined: Fri May 13, 2011 1:24 am

Re: unwanted change button in Add/Remove Programs

Post 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 4768 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 4768 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.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: unwanted change button in Add/Remove Programs

Post 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.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply