Since I know that everything I'm installing is managed code anyCpu build output
I enabled this with my service deliverable wix sources using the following
syntax.
<?if $(var.Platform) = "x64" ?>
<?define Win64 = "yes" ?>
<?define SystemFolder = "System64Folder" ?>
<?define SystemFolderX86 = "SystemFolder" ?>
<?define SoftwareKey = "Software" ?>
<?define SoftwareKeyX86 = "Software\Wow6432Node" ?>
<?define ProgramFilesFolder = "ProgramFiles64Folder" ?>
<?define ProgramFilesFolderX86 = "ProgramFilesFolder" ?>
<?define DotNetFramework35Folder =
"[%SystemRoot]\Microsoft.NET\Framework64\v3.5\" ?>
<?define DotNetFramework20Folder =
"[%SystemRoot]\Microsoft.NET\Framework64\v2.0.50727\" ?>
<?else?>
<?define Win64 = "no" ?>
<?define SystemFolder = "SystemFolder" ?>
<?define SystemFolderX86 = "SystemFolder" ?>
<?define SoftwareKey = "Software" ?>
<?define SoftwareKeyX86 = "Software" ?>
<?define ProgramFilesFolder = "ProgramFilesFolder" ?>
<?define ProgramFilesFolderX86 = "ProgramFilesFolder" ?>
<?define DotNetFramework35Folder =
"[%SystemRoot]\Microsoft.NET\Framework\v3.5\" ?>
<?define DotNetFramework20Folder =
"[%SystemRoot]\Microsoft.NET\Framework\v2.0.50727\" ?>
<?endif?>
<Directory Id="DotNetFramework20Folder"></Directory>
<Directory Id="DotNetFramework35Folder"></Directory>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="$(var.ProgramFilesFolder)">
<Directory Id="INSTALLDIR" Name="!(loc.ProductDir)">
<Directory Id="MyComponent1Dir" Name="MyComponent1">
</Directory>
</Directory>
</Directory>
</Directory>
<DirectoryRef Id="MyComponent1Dir">
<Component Id="MyComponent1Name" Guid="<yourguidhere>"
Win64="$(var.Win64)">
</Component>
</DirectoryRef>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Gautam
(HCL Technologies Ltd)
Sent: Thursday, September 11, 2008 7:39 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to create only installer for 32 Bit and 64 bit OS
Hi,
I want to create one common installer that will work for 32 Bit and 64 bit OS.
How can I do this?
Regards
Sandeep
-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users