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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
[8D]

msiexec /I packagename.msi ARPNOREPAIR=0

[8D]
Answered 05/27/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
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...
Answered 05/27/2005 by: sean_c_roberts
Senior Purple Belt

Please log in to comment
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.
Answered 05/27/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
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!
Answered 06/02/2005 by: BobTheBuilder
Purple Belt

Please log in to comment
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????
Answered 06/02/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity