Re: [WiX-users] WOW6432Node registry trouble for 64 bit MSI

2007-07-19 Thread Fei Cao
I now know the issue lies in our build script (which changes the attribute 
value) & the fact that I also created another  64 bit component to write to the 
same registry (I intend to write to both WOW6432 and counter part outside 
WOW6432, but seems I have to use different regkey name).

From: Fei Cao
Sent: Thursday, July 19, 2007 12:16 PM
To: 'wix-users@lists.sourceforge.net'
Subject: WOW6432Node registry trouble for 64 bit MSI


Hi,

 I want the 64 bit installer to write to WOW6432Node registry, which is used 
for 32 bit application, and the 64 bit components will not write to registries 
under WOW6432Node.

>From WIX help file for  element:
Win64

YesNoType

Set this attribute to 'yes' to mark this as a 64-bit component. This attribute 
facilitates the installation of packages that include both 32-bit and 64-bit 
components. If this bit is not set, the component is registered as a 32-bit 
component. If this is a 64-bit component replacing a 32-bit component, set this 
bit and assign a new GUID in the Guid attribute.


So I created the following component with win64 attribute set to NO to indicate 
this is 32 bit component, but after build the amd64 MSI still has the attribute 
value for this component as 260 (256+4). Consequently the setup didn't really 
write to the WOW6432NODE.

#ifndef _X86_





#endif


>From the help on Component Table at 
>http://msdn2.microsoft.com/en-us/library/aa368007.aspx

msidbComponentAttributes64bit

256

0x0100

Set this bit to mark this as a 64-bit component. This attribute facilitates the 
installation of packages that include both 32-bit and 64-bit components. If 
this bit is not set, the component is registered as a 32-bit component.
If this is a 64-bit component replacing a 32-bit component, set this bit and 
assign a new GUID in the ComponentId column.


I even tried to manually change the 260 to 4, but still didn't work.

Any clue ? thanks!

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WOW6432Node registry trouble for 64 bit MSI

2007-07-19 Thread Fei Cao

Hi,

 I want the 64 bit installer to write to WOW6432Node registry, which is used 
for 32 bit application, and the 64 bit components will not write to registries 
under WOW6432Node.

>From WIX help file for  element:
Win64

YesNoType

Set this attribute to 'yes' to mark this as a 64-bit component. This attribute 
facilitates the installation of packages that include both 32-bit and 64-bit 
components. If this bit is not set, the component is registered as a 32-bit 
component. If this is a 64-bit component replacing a 32-bit component, set this 
bit and assign a new GUID in the Guid attribute.


So I created the following component with win64 attribute set to NO to indicate 
this is 32 bit component, but after build the amd64 MSI still has the attribute 
value for this component as 260 (256+4). Consequently the setup didn't really 
write to the WOW6432NODE.

#ifndef _X86_





#endif


>From the help on Component Table at 
>http://msdn2.microsoft.com/en-us/library/aa368007.aspx

msidbComponentAttributes64bit

256

0x0100

Set this bit to mark this as a 64-bit component. This attribute facilitates the 
installation of packages that include both 32-bit and 64-bit components. If 
this bit is not set, the component is registered as a 32-bit component.
If this is a 64-bit component replacing a 32-bit component, set this bit and 
assign a new GUID in the ComponentId column.


I even tried to manually change the 260 to 4, but still didn't work.

Any clue ? thanks!

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users