No MODIFY button in ARP (add remove program)

Got a problem you cannot solve? Try here.
wwanko
Posts: 7
Joined: Mon Oct 11, 2010 10:46 am

No MODIFY button in ARP (add remove program)

Postby wwanko » Thu Jun 09, 2011 8:33 am

Hi everybody,

even if this was discussed quite a few times in this forum I can't seem to find a satisfying answer.
As the message subject states, I don't want ARP to show a modify option for my installed program.
So I checked the registry entry for my software and found that IA generates all three entries NoRemove, NoModify, NoRepair, all set to 1.
To my understanding this should lead to "no button at all" being shown in ARP.

I tried to modify the entries manually but this would not change a thing.
If writing to the registry is the solution, do the NoModify and NoRepair keys have to be there before IA generates it's entries?

Please can somebody shed some light on my problem?? This is the final tiny issue standing between me and a release....
:o
Thanks a lot
Wolfgang
(using the latest 10.10 IA Studio)

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: No MODIFY button in ARP (add remove program)

Postby bokkie » Thu Jun 09, 2011 9:15 am

Wolfgang,

I might have found something. I too noticed the same three registry keys in HKLM\SOFTWARE\Microsoft\CurrentVersion\Installer (bold my emphasis).

Try adding them to HKLM\SOFTWARE\Microsoft\CurrentVersion\Uninstall\YourPackageName. I did that for one of my packages and it works ok. I'm using Win7 in case there's a registry difference between OS versions. It looks like you don't get those settings by default so yes, you will need to create them in your MSIcode.

Try that.

Edit: I noticed you're using 10.10 and I'm on 11. I'm quite sure though that it should be the same registry items you need to create.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

wwanko
Posts: 7
Joined: Mon Oct 11, 2010 10:46 am

Re: No MODIFY button in ARP (add remove program)

Postby wwanko » Thu Jun 09, 2011 9:32 am

Hi Bokkie,
And thanks for your answer!
In fact, I have those three entries exactly where you want me to generate them: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{Product ID} and so on...

NoModify
REG_DWORD
0x1
NoRemove
REG_DWORD
0x1
NoRepair
REG_DWORD
0x1

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\ does not show any signs of the three keys...

:(

I'm on Win 7 32 bit too..
Wolfgang

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: No MODIFY button in ARP (add remove program)

Postby bokkie » Thu Jun 09, 2011 2:39 pm

Wolfgang, I'll have a look again when I get to the office in the morning. I'm at home now and my wife is barking orders at me. :)
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: No MODIFY button in ARP (add remove program)

Postby bokkie » Fri Jun 10, 2011 2:11 am

Wolfgang,

Do the two screenshots help? I've based them on my installed FileZilla client and I show the registry edits I applied and how things look in the ARP. I get the same effect with my own installations. In other words, it works for me. Anyway, compare the screenshots for possible clues compared to your settings. Hope this helps in your mission. :)
Attachments
Screencap2.png
Screencap2.png (126.74 KiB) Viewed 15878 times
Screencap1.png
Screencap1.png (148.73 KiB) Viewed 15878 times
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

wwanko
Posts: 7
Joined: Mon Oct 11, 2010 10:46 am

Re: No MODIFY button in ARP (add remove program)

Postby wwanko » Fri Jun 10, 2011 6:11 am

Hello Peter,

And thanks again for your help...

So I did it... I did it wrong! I always changed registry entries here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{Product ID}

BUT SHOULD HAVE CHANGED:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{Product NAME}

Now everything works like a charm!
Me happy! Very happy! :P

Greetings from Munich!
Wolfgang

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: No MODIFY button in ARP (add remove program)

Postby bokkie » Fri Jun 10, 2011 7:31 am

Glad to hear it. The reason you had a problem could be down to drinking too many of those excellent Bavarian lagers you have in Munich? :D
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

DanStutzman
Posts: 85
Joined: Wed Jun 10, 2009 10:36 am
Location: Philadelphia, PA
Contact:

Re: No MODIFY button in ARP (add remove program)

Postby DanStutzman » Mon Jun 13, 2011 12:22 pm

WWanko,

You can also use $TITLE$ instead of [ProductName].


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 84 guests