Hi everyone and thanks Pally for replying.

Here is what I want to do -

I have two installers of a product, one for 32bit version and one for
64bit version. Now, my task is to combine them both into one single
installer. There are certain dlls that will go into both 32bit and
64bit. So I am confused as to what to do with those components for those
dlls? Following is an example of an excerpt from the .wxs file of the 64
bit installer -


<Component Id="ABCFiles" Guid="A22C7A89-465B-4912-819E-3D54DF7C326E"
Win64="yes">
                    <File Id="ABC123.resources.dll"
Name="ABC.resources.dll" ShortName="ABC"
Source="$(var.BINARIES.DIR)es/ABC.resources.dll"  ReadOnly="yes" />
</Component>
                  
And in the 32 bit, the only difference is that the 'Win64="yes"'
attribute is not there. So what to do with the combined installer for 32
bit and 64 bit? One workaround for this problem is to add each of these
components twice with 'condition' in all of them checking whether it is
32 bit or 64 bit.

e.g.

<Component Id="ABCFiles" Guid="A22C7A89-465B-4912-819E-3D54DF7C326E">
                    <File Id="ABC123.resources.dll"
Name="ABC.resources.dll" ShortName="ABC"
Source="$(var.BINARIES.DIR)es/ABC.resources.dll"  ReadOnly="yes" />
<Condition><![CDATA[Installed OR (VersionNT >= 600)]]></Condition>
</Component>

<Component Id="ABCFiles" Guid="A22C7A89-465B-4912-819E-3D54DF7C326E"
Win64="yes">
                    <File Id="ABC123.resources.dll"
Name="ABC.resources.dll" ShortName="ABC"
Source="$(var.BINARIES.DIR)es/ABC.resources.dll"  ReadOnly="yes" />
<Condition><![CDATA[Installed OR (VersionNT64 >=600)]]></Condition>
</Component>


So there are two separate components for each of the dlls. And yes the
GUID will be different in both the components above. Does anyone have a
better solution or workaround?

Thanks and Regards,
Makarand


-----Original Message-----
From: Pally Sandher [mailto:[EMAIL PROTECTED] 
Sent: 28 October 2008 PM 4:06
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Question regarding the attribute "Win64"
in"Component"

Yes but you will get an ICE80 error when compiling if you set
Win64="yes" on a component when your MSI is an x86 build & vice-versa. 

Why would you want to?


Palbinder Sandher 
Software Deployment and IT Administrator 

T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 
http://www.iesve.com 

**Design, Simulate + Innovate with the <Virtual Environment>**

Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP

Email Disclaimer



-----Original Message-----
From: MAKARAND HAZARIKA [mailto:[EMAIL PROTECTED] 
Sent: 28 October 2008 07:14
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Question regarding the attribute "Win64" in
"Component"

Hello everyone,

 

Can I use the attribute  Win64 in the Component for 32 bit applications?
I read that Win64 attribute is applicable for both 32 and 64 bit.

 

Thanks and Regards,

Makarand

 

------------------------------------------------------------------------
-
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



------------------------------------------------------------------------
-
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

-------------------------------------------------------------------------
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