This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Programmatically set ARPNOMODIFY
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 16, 2007
04:59 PM
Programmatically set ARPNOMODIFY
I would like to allow the Add/Remove Programs (Programs and Features within Vista) Change button for all non-Vista machines, but not allow for all Vista machines.
Currently setting the "Disable Change Button" within IS2008 always overrides setting the ARPNOMODIFY property, no matter where I set it (within ExecuteSequence, and or a final CA within the InstallSequence).
After some trial-n-error, I can make the ARPNOMODIFY property stick, verifying this via the msi logfile... but the Registry(HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall...) will always state: NoModify = 1.
How can I programmatically set the ARPNOMODIFY via operating system flavor?
Currently setting the "Disable Change Button" within IS2008 always overrides setting the ARPNOMODIFY property, no matter where I set it (within ExecuteSequence, and or a final CA within the InstallSequence).
After some trial-n-error, I can make the ARPNOMODIFY property stick, verifying this via the msi logfile... but the Registry(HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall...) will always state: NoModify = 1.
How can I programmatically set the ARPNOMODIFY via operating system flavor?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 16, 2007
08:43 PM
I haven't tried it, but does a conditional set-property custom action or two do the trick?