I modified WixAdvancedSample.wxs to build for 64 bit arch.
Unfortunately, it's installing on the 32 Program files folder:

 

<?xml version="1.0" encoding="utf-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>

    <Product Id="49d75c41-17e3-48ed-9f4f-e65cedd3285e"
UpgradeCode="5b2d91c2-6c8f-4224-87af-71766b037ae4" Name="Acme Sample
Application" Language="1033" Version="1.0.0.0" Manufacturer="Acme
Software Ltd.">

        <Package InstallerVersion="200" Compressed="yes" Platform="x64"
/>

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

        <Directory Id="TARGETDIR" Name="SourceDir">

            <Directory Id="ProgramFiles64Folder">

                <!-- must be named APPLICATIONFOLDER -->

                <Directory Id="APPLICATIONFOLDER"
Name="[ApplicationFolderName]" FileSource=".\">

                    <Component Id="ProductComponent"
Guid="70bcba1f-19a8-41b3-bc25-15a2648907e6" Win64="yes" >

                        <File Id="f1" Name="SampleFile.txt" />

                    </Component>

                </Directory>

            </Directory>

        </Directory>

        <Feature Id="ProductFeature" Title="Main Feature" Level="1">

            <ComponentRef Id="ProductComponent" />

        </Feature>

        <Property Id="ApplicationFolderName" Value="Acme Sample
Application" />

        <Property Id="WixAppFolder" Value="WixPerUserFolder" />

        <UIRef Id="WixUI_Advanced" />

        <UI />

    </Product>

</Wix>

 

What is missing?

 

Cordialement / Best regards,

Gernot

 

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to