Wix 3.0.4123 + VS2005

 

Hello,

 

I am working on an installer which writes values to a key within HKLM.
It works fine if there is no existing registry key, but fails when it
tries to overwrite existing values. I get the error message:

 

"Could not write value Enabled to key
\SOFTWARE\xxx\yyy\AppName\InstanceName\LiveMonitor. Verify that you have
sufficient access to that key, or contact your support personnel"

 

This is being run as Administrator on XP Pro.

 

I have started to look at using the Permission element in conjunction
with the RegistryKey and RegistryValue elements, but it is not obvious
to me what combination of attributes I need. Essentially, I need the
installer to be able to overwrite registry entries in HKLM when run as
any user with admin rights.

 

Thanks in advance for any help,

Carl


AMX

AMX UK
Auster Road
Clifton Moor
York, North Yorkshire
United Kingdom
YO30 4GD

+44 (0) 1904 343100     office
+44 (0) 1904 343101     fax

AMX South
The Coach House
Grange Court, Grange Road
Tongham, Surrey
United Kingdom
GU10 1DW

+44 (0) 1252 781769     office
+44 (0) 8701 991661     fax

AMX Belgium
Boerenkrijglaan, 96a
B-2260
Westerlo
Belgium


+ 32 (0) 1454 2763      office
+ 32 (0) 1454 2766      fax

######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This email was scanned and cleared by NetIQ MailMarshal.
######################################################################
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to