Well not really. An admin install isn't anything to do with the actual running 
installed product, it just extracts the files out, which is probably what you 
want to prevent (why?). If you think you've concealed your files by preventing 
an admin install, good luck with that! Also, beware that an administrative 
install is used during the process of creating a patch, so if you plan to ship 
patches don't shoot yourself in the foot there. 

A repair is an attempt to correct the installed product where something is by 
definition broken, and that's very different from the idea of an admin install. 
If you don't let repair proceed the product will remain broken, and not only 
might it keep trying to repair indefinitely, you may also find that upgrades 
and patches won't work if the files installed don't match what the MSI file 
thinks should be there.  Every time I find someone trying to prevent repair 
it's because they want to do something like remove some files (or registry 
entries) after the install. If that's the case, there is a way to do that (a 
null ComponentID). Or if the repair is executing some custom action again, then 
the problem is that the condition on the custom action is incomplete. What is 
the problem that you believe disabling repair will solve? 

Phil Wilson 

-----Original Message-----
From: Bryan Reich [mailto:bryan.re...@microsoft.com] 
Sent: Thursday, January 07, 2010 1:50 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Disable repair and admin setup...

We did this in one case by using a <Condition> as follows:

<Condition Message="your error message">ACTION~&lt;&gt;"ADMIN"</Condition>

I know that works for advertise. I think there can be similar logic for repair.

--
Bryan

-----Original Message-----
From: Tony [mailto:yellowjacketl...@gmail.com] 
Sent: Thursday, January 07, 2010 12:38 PM
To: WiX Users
Subject: [WiX-users] Disable repair and admin setup...

Is there some way we can "disable" (abort install action) if someone were to 
launch our msi with the /a (administrative install) or /f
(repair) options?  We can hide the actions in the UI, but when launched via 
command-line they can still occur, we'd like to disable them for now.

--
Tony

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take 
advantage of Verizon's best-in-class app development support A streamlined, 14 
day to market process makes app distribution fast and easy Join now and get one 
step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to