/build/static/layout/Breadcrumb_cap_w.png

overwriting ARPNOREPAIR=1

Hi guys,
Is there a way you can overwrite ARPNOREPAIR=1 on the command line so that the it enables the button. This is for our deployment people who do not want to go editing msi. I think you could run a vbscript to do this but is there anything i can add to the end of msiexec /i .........

Regards

0 Comments   [ + ] Show comments

Answers (5)

Posted by: WiseUser 18 years ago
Fourth Degree Brown Belt
2
Except you can set ARPNOREPAIR to whatever value you like - it won't make a blind bit of difference!

Unless you remove the property or "blank it" the button will be missing.

Try this variation of Brent's command line:

msiexec /I packagename.msi ARPNOREPAIR=""

See here for details on how to use properties:

http://msdn.microsoft.com/library/en-us/msi/setup/getting_and_setting_properties.asp

Something else that might be worth mentionning, is how to enable the button after the product has been installed. An administrator can change the following "REG_DWORD" key from 1 to 0.

"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}\NoRepair"

The Xs represent the product code.
Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
[8D]

msiexec /I packagename.msi ARPNOREPAIR=0

[8D]
Posted by: sean_c_roberts 18 years ago
Senior Purple Belt
0
Hehe

I'm glad BrentHunter answered that - my understanding is that any property passed in the command-line will over-ride internal property settings...
Posted by: BobTheBuilder 18 years ago
Purple Belt
0
Note ARPNOREPAIR only affects the display in the ARP. The Windows Installer is still capable of repairing, installing-on-demand, and uninstalling applications through a command line or the programming interface.


WiseUser, Excellent tip with the registry key. Plus two for you!
Posted by: WiseUser 18 years ago
Fourth Degree Brown Belt
0
Thanks Bob!!

I've been posting frantically for several weeks now, in the desperate hope that someone would increment my score which has been stagnating for far too long.[:D]

_____________________________

But can you fix it????
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ