Hi Deepa,
I think your CA's to add these registry entries are being run on both Install 
and repair.
So, your CA for these must be like
<Custom Action ="InstallCA"  After="SomeCA">1</Custom>.
You should change it to:
<Custom Action ="InstallCA"  After="SomeCA"><![CDATA[Not Installed]]></Custom>

Also, you would need to schedule custom actions that do/undo the desired 
activities on repair too.
It might be that your missing scheduling this CA for repair. This can be done 
by:
<Custom Action ="ReapirCA"  After="SomeCA"><![CDATA[REINSTALL="ALL"]]></Custom>
Hope this helps.


-----Original Message-----
From: Deepa Choundappan [mailto:deepa...@gmail.com]
Sent: Tuesday, November 15, 2011 7:29 AM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Elevated privileges on a repair

Hi -

Our msi makes some registry changes during an install using custom actions
to give a non-admin user privileges to read/write registry changes. It
works fine and then repair comes along and what I am finding is that
1) Original registry changes are deleted
2) New registry entries are created - the custom actions that ACL these
registry entries are not run.

So at the end of a Repair - things are now messed up.

What am I missing here? My first instinct was that the elevation of
privileges did not happen but from the log I know my custom actions do not
appear to have been scheduled, so it must be something else that I am
missing doing on a Repair.

Thanks
Deepa
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Information contained and transmitted by this e-mail is confidential and 
proprietary to iGATE Patni and its affiliates and is intended for use only by 
the recipient. If you are not the intended recipient, you are hereby notified 
that any dissemination, distribution, copying or use of this e-mail is strictly 
prohibited and you are requested to delete this e-mail immediately and notify 
the originator or mailad...@igatepatni.com. iGATE Patni does not enter into any 
agreement with any party by e-mail. Any views expressed by an individual do not 
necessarily reflect the view of iGATE Patni. iGATE Patni is not responsible for 
the consequences of any actions taken on the basis of information provided, 
through this email. The contents of an attachment to this e-mail may contain 
software viruses, which could damage your own computer system. While iGATE 
Patni has taken every reasonable precaution to minimise this risk, we cannot 
accept liability for any damage which you sustain as a result of software 
viruses. You should carry out your own virus checks before opening an 
attachment. To know more about iGATE Patni please visit www.igatepatni.com.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to