[wix-users] 32 bit component uses 64 bit directory
Blair Murri
osito at live.com
Tue Aug 20 02:57:32 PDT 2019
Microsoft in their official docs say to make separate 32- & 64-bit MSIs. However, you can use the exact same source files in WiX to do so.
Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: balachander s <connecttobalachander at gmail.com>
Sent: Monday, August 19, 2019 12:01:48 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Blair Murri <osito at live.com>
Subject: Re: [wix-users] 32 bit component uses 64 bit directory
Hi,
Thanks for the reply.
I was running the code with Target environment = x86 and package platform attribute to x64. Now it is running fine.
I was supposed to create installer for both 64 and 32 bit setups.(fact that msi is being 32 bit file)
Now will this technique work? Or should i create separate installer project for 32 bit
I know that we can use VERSIONNT64 to conditionally install components for 64 bit. But is that a good idea to approach?
On Sat, Aug 17, 2019 at 12:52 AM Blair Murri via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>> wrote:
I don't see the error. Was it an attachment? Those generally get stripped.
Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> on behalf of balachander s via wix-users <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Sent: Friday, August 16, 2019 5:26:39 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: balachander s <connecttobalachander at gmail.com<mailto:connecttobalachander at gmail.com>>
Subject: [wix-users] 32 bit component uses 64 bit directory
Hi ,
I m getting this error during linking.
candle.exe product.wxs -dTargetArch=x64
I have VarDefs.wxi file
<?if $(var.TargetArch) = x64 ?>
<?define bitness = "(64 bits)" ?>
<?define Win64 = "yes" ?>
<?define shortcutArch = "(64)"?>
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
<?define platformDir = "x64\"?>
<?define use64bitsValue = "1"?>
<?else ?>
<?define bitness = "(32 bits)" ?>
<?define Win64 = "no" ?>
<?define shortcutArch = "(32)"?>
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
<?define platformDir = ""?>
<?define use64bitsValue = "0"?>
<?endif ?>
included in the product.wxs which has various components.
Here will Win64 attribute set to yes, since include VarDefs is there or
should i maually include for all components.
or if you have other suggestions please let me know
Regards,
Balachander
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list