........... and to state the obvious, the registry entries aren't being 
redirected because a 64-bit install is running a 64-bit regedit, which again is 
why regedit is the wrong thing to do. 

Phil Wilson 



-----Original Message-----
From: Michael Osmond [mailto:mosm...@baytech.com.au] 
Sent: Monday, March 07, 2011 10:06 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] 64 bit registry issue with CA

You could have two .reg files one for each situation condition the customaction 
using the Msix64 property.

Having said that, would recommend you use the Wix RegistryKey/RegistryValue 
instead.

Michael

-----Original Message-----
From: Arun Kumar [mailto:arun_jku...@persistent.co.in] 
Sent: Tuesday, 8 March 2011 3:50 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] 64 bit registry issue with CA

Hi All,

I am writing 32 bit MSI and it has Custom Action to make some registry entries 
using .reg file.


It works very well on 32 bit machine but on win7 64 bit machine the registry 
entries are not redirected to HKEY_LOCAL_MACHINE\Software\WOW6432Node
My Custom Action looks like:
{
<CustomAction Id="InstallRegistry" Directory="INSTALLDIR" 
ExeCommand='regedit.exe /s Demo.reg' Return="check"/>
...
<Custom Action='InstallRegistry' After='InstallFinalize'>NOT Installed</Custom>
...
}

AND

Demo.reg looks like:
{
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\DemoProgram\Demo]
"ABC"=hex:00
"DEF"="DemoValue"
}

I am using Custom Action to make some registry entries on win7 64 bit machine 
and it seems that

Also if I make direct registry entries in my product.wxs file then it works, 
but I want it through .reg file.

Any pointer on how to do this?

Thank You,
AK

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
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 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (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 3155 1200 or e-mail 
recept...@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).



------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to