[wix-users] Using Heat Task with 64-bit MSBuild

Phill Hogland phill.hogland at rimage.com
Mon Mar 14 08:53:04 PDT 2016


I believe that the wix toolset tools are all 32 bit.  I use the 32 bit MSBuild for my projects.
________________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Orzyszek Andreas <Andreas.Orzyszek at dentsplysirona.com>
Sent: Monday, March 14, 2016 5:50 AM
To: 'wix-users at lists.wixtoolset.org'
Subject: [wix-users] Using Heat Task with 64-bit MSBuild

Hi,

I am always getting this Exception:

Task "HeatDirectory"
  Befehl:
  G:\PlasticWorkspaces\InstallerNew\Sources\SetupPackages\CEREC..\..\..\..\Tools\WIX\310\Heat.exe dir G:\PlasticWorkspaces\InstallerNew\Sources\SetupPackages\CEREC..\..\..\..\Input\CEREC\programfiles -cg HeatProgramfilesComponents -dr SoftwareFolder -scom -sreg -srd -var var.InputProgramFilesPath -ag -sfrag -suid -out G:\PlasticWorkspaces\InstallerNew\Sources\SetupPackages\CEREC\Heat\ProgramFiles.wxs
  Could not load file or assembly 'file:///G:\PlasticWorkspaces\InstallerNew\Tools\WIX\310\Heat.exe' or one of its dependencies. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
     at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
     at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
     at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
     at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
     at System.Reflection.Assembly.LoadFrom(String assemblyFile)
     at Microsoft.Tools.WindowsInstallerXml.Build.Tasks.WixToolTask.ExecuteToolThread(Object parameters)

if I use 64-bit “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe” with the Heat from WIX Toolset 3.10.2

If I use “C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe” everything is fine.

Is this a known incompatibility or did I miss something?


And something off-topic, is it possible to search through the mailing list archives at the moment? The website says “no” but maybe this isn’t up to date.

Thanks

Andreas Orzyszek



-----------------------------------------------------------------------------------------------------------
Sirona Dental Systems GmbH • HRB 24948 •
Vorsitzender des Aufsichtsrats: Dr. Erich Blum •
Sirona Dental Services GmbH • HRB 25817 •
Geschäftsführung: Rainer Berthan • Michael Geil •
Sitz der Gesellschaften: Bensheim • Registergericht: AG Darmstadt •
------------------------------------------------------------------------------------------------------------
Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten
bestimmt und kann vertrauliche Informationen beinhalten.
--
This e-mail is intended only for the designated recipient(s). It may
contain confidential or proprietary information.
------------------------------------------------------------------------------------------------------------

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list