Hello.

I create an msi für x64.
A Component i must mark with Win64=yes.
But a Config file has no platform.
What is the right way to handle this?

 <Product  Id="*" Name="MyApp" Language="1031" Version="2.0.3"
Manufacturer="My Company" UpgradeCode="{guid}">
    <Package InstallerVersion="200" Compressed="yes"
InstallScope="perMachine" Platform="x64" />

    <MajorUpgrade Schedule="afterInstallInitialize" DowngradeErrorMessage="A
newer version of [ProductName] is already installed." />
    <MediaTemplate EmbedCab="yes" />

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFiles64Folder">
        <Directory Id="CompanyFolder" Name="My Company">
          <Directory Id="APPLICATIONROOTDIRECTORY" Name="My App" >
            <Component Id="a.dll" Guid="{guid}" Win64="yes">
              <File Id="a.dll" Source="$(var.a.TargetPath)" KeyPath="yes"
Checksum="yes" Vital="yes" ProcessorArchitecture="x64" />
            </Component>
            <Component Id="MyApp.exe" Guid="{...}" Win64="yes">
              <File Id="MyApp.exe" Source="$(var.MyApp.TargetPath)"
KeyPath="yes" Checksum="yes" Vital="yes" ProcessorArchitecture="x64">
              </File>
            </Component>
            <Component Id="MyApp.exe.config" Guid="{...}" Win64="yes">
              <File Id="MyApp.exe.config"
Source="$(var.MyApp.TargetPath).config" KeyPath="yes" Checksum="yes"
Vital="yes" />
            </Component>
          </Directory>
        </Directory>
      </Directory>
    </Directory>
and so on...




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Platform-x64-And-Config-file-also-tp7585596.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to