Adding wix-users.

From: Jian Yu
Sent: Thursday, September 25, 2008 1:45 AM
To: WiX Working Group
Cc: Sheng Zhao; Ravit Shapira; Binggong Ding; Jian-Chao Wang
Subject: how to use WIX write registry values to both 32 bit and 64 bit 
registries in one MSI?

Hi, everyone. Recently, I met some problems in using WIX.

We want to install some data file in a folder, and add registry values which 
points to this folder in both 32bit and 64 bit registries, so both 32bit and 64 
bit programs can make use of the same data.

We expected to do this in a single MSI. So in this MSI, I need to write some 
registry values to both 32 bit and 64 bit registries in one MSI. I tried to 
achieve this goal by using the "Wow6432Node".

For example,:
<RegistryValue Root="HKLM" Key="SOFTWARE\Wow6432Node\Acme\Foobar 1.0" 
Name="Version" Type="string" Value="3.0" />
<RegistryValue Root="HKLM" Key="SOFTWARE\Acme\Foobar 1.0" Name="Version" 
Type="string" Value="3.0" />

However, after running the MSI, only "SOFTWARE\Acme\Foobar 1.0"is rightly set. 
Nothing happens in "SOFTWARE\Wow6432Node\Acme\Foobar 1.0".

It seems windows installer doesn't permit the 64bit MSI to write registry 
values in 32 bit registry. Is there any solution about this problem?  This WIX 
file is complied in a 64-bit machine.

Sincerely thanks for your help.

Best regards.
Jian Yu
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to