Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Diasbling Repair?
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 15th July 21:03
james f. koennicke
External User
 
Posts: 1
Default Diasbling Repair?



I have a .MSI file I built using Visual Studio Installer 2.0. Once the
program has been installed, if the user runs the MSI file a second time to
uninstall, or if they go to Add/Remove programs, they are presented with the
opportunity to repair or change the original installation. How can I remove
this functionality? In other words, how can I make sure there is only an
uninstall (remove) option?
  Reply With Quote


  sponsored links


2 15th July 21:03
kallely sajan
External User
 
Posts: 1
Default Diasbling Repair?



Pls read about ARPNOMODIFY and ARPNOREPAIR.
http://msdn.microsoft.com/library/en-us/msi/setup/arpnomodify_property.asp
http://msdn.microsoft.com/library/en-us/msi/setup/arpnorepair_property.asp
--

Regards,
Sajan.

PS: Please don't send me direct emails, use the newsroom.
  Reply With Quote
3 23rd July 19:29
james f. koennicke
External User
 
Posts: 1
Default Diasbling Repair?


That's exactly what I was looking for. Thanx!
  Reply With Quote
4 23rd July 19:29
phil wilson
External User
 
Posts: 1
Default Diasbling Repair?


Does that really work? The only thing I've noticed is that the Repair button is
removed when you click the "support information" link. The "Change" button still
goes into a dialog that offers repair, and right-click on the MSI file can still
do a Repair.
--
Phil Wilson [MVP Windows Installer]
----
  Reply With Quote
5 23rd July 19:30
james f. koennicke
External User
 
Posts: 1
Default Diasbling Repair?


At least in this instance it worked as our client was only concerned with
the users being able to affect things with the Add /Remove Programs Wizard.
Setting the ARPNOREPAIR and ARPNOMODIFY Properties in the Property table to
a value of 1 completely removed the Change button from the Add / Remove
Programs Wizard. Now, I believe that these properties only affect the
functioning of the Wizard as they cause the Registry values for NoRepair,

Therefore, right clicking on the msi file would still provide the repair
functionality. I'm not exactly certain how to remove this functionality
completely from the msi itself.
"Phil Wilson" <phil.wilson@unisys.spamcom> wrote in message news:OsZq1eDaDHA.2520@TK2MSFTNGP09.phx.gbl...
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666