[wix-users] 32 bit component uses 64 bit directory

Blair Murri osito at live.com
Fri Aug 16 12:22:03 PDT 2019


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> on behalf of balachander s via wix-users <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>
Cc: balachander s <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/



More information about the wix-users mailing list