Hello, 

 

I wonder if there isn't a bug in "WixUI_Advanced" flavor with 64bits.

The suggested folder in the destination folder dialog is "C:\Program Files
(x86)\My App" but when I change the flavor into WixUI_InstallDir (and set
the WIXUI_INSTALLDIR property), the suggested folder is the right one
("C:\Program Files\My App")

 

Did I miss another property ?

 

My wxs file:

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

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

  <Product Id="f92cdf33-cca3-42b7-858e-9fd4b59345d3" Name="WixProject1"
Language="1033" 

           Version="1.0.0.0" 

           Manufacturer="WixProject1" 

           UpgradeCode="ecb7914a-3c1b-4294-8bec-5723d8170fdf">

    

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

 

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

 

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

      <Directory Id="ProgramFiles64Folder">

        <Directory Id="INSTALLLOCATION" Name="MyApp">

          <Component Id="ProductComponent"
Guid="532cca55-2e47-43ec-b958-446b4f710798" Win64="yes">

            <File Id="MyApp"
Name="$(var.WindowsFormsApplication3.TargetFileName)" Vital="yes"
Source="$(var.WindowsFormsApplication3.TargetPath)" KeyPath="yes">

              <Shortcut Id="startmenuMyApp" Directory="ProgramMenuDir"
Name="MyApp" WorkingDirectory="INSTALLDIR"
Icon="$(var.WindowsFormsApplication3.TargetFileName)" IconIndex="0"
Advertise="yes" />

            </File>

            <RemoveFolder Id="RemovePMenuDir" Directory="ProgramMenuDir"
On="uninstall" />

          </Component>

        </Directory>

      </Directory>

      <Directory Id="ProgramMenuFolder" Name="Programs">

        <Directory Id="ProgramMenuDir" Name="MyApp" />

      </Directory>

    </Directory>

 

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

      <ComponentRef Id="ProductComponent" />

    </Feature>

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

    <Property Id="ApplicationFolderName" Value="MyApp" />

    <UIRef Id="WixUI_Advanced" />

  <UIRef Id="WixUI_ErrorProgressText" />

  <UI />

  <Icon Id="$(var.WindowsFormsApplication3.TargetFileName)"
SourceFile="$(var.WindowsFormsApplication3.TargetPath)" />

  </Product>

</Wix>

 

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to