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

Reply via email to