I am creating a wix v3 project that will be built with x86 and x64 platforms. 
It builds fine with x86, but it is giving me the following error when I
build with x64:

error LGHT0204: ICE80: This 64BitComponent ProductComponent uses
32BitDirectory INSTALLLOCATION

How can I get this to work with x64?

Here is a sample of my code:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
        <Product Id="***" Name="Company" Language="1033" Version="1.0.0.0"
Manufacturer="Company" UpgradeCode="***">
                <Package InstallerVersion="200" Compressed="yes" />

                <Media Id="1" Cabinet="Company.cab" EmbedCab="yes" />

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLLOCATION" Name="Interbank FX Trade
Administration">
          <Component Id="ProductComponent" Guid="***">
            <!-- Files -->
          </Component>
        </Directory>
      </Directory>
      <Directory Id="ProgramMenuFolder" Name="PMenu">
        <Directory Id="ProgramMenuDir" Name="Company">
        </Directory>
      </Directory>
    </Directory>

    <Feature Id="ProductFeature" Title="Setup.WiX" Level="1">
      <ComponentRef Id="ProductComponent" />
    </Feature>

    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION"></Property>
    <Property Id="ALLUSERS">1</Property>

    <UIRef Id="WixUI_InstallDir"/>
    
        </Product>
</Wix>


-- 
View this message in context: 
http://n2.nabble.com/error-LGHT0204%3A-ICE80%3A-This-64BitComponent-ProductComponent-uses-32BitDirectory-INSTALLLOCATION-tp1499700p1499700.html
Sent from the wix-users mailing list archive at Nabble.com.


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