[WiX4] ProgramFiles64Folder copies data to Program Files (x86) #6498
-
I've try to set target folder to these values:
Regardless this settings the package is installed always to Program Files (x86). <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package
Codepage="1250"
Language="1029"
Manufacturer="drifted.in"
Name="JetBrowser"
UpgradeCode="bd815300-19b5-4ce5-b8c6-1b592be2c574"
Version="1.0.0"
InstallerVersion="100"
ProductCode="4700df0f-d076-4dd8-ae14-c4743e938e00">
<SummaryInformation Description="JetBrowser 1.0 Installer" Manufacturer="drifted.in" Codepage="1250" />
<Media Id="1" Cabinet="data.cab" EmbedCab="yes" />
<StandardDirectory Id="ProgramFiles64Folder">
<Directory Id="drifted.in" Name="drifted.in">
<Directory Id="INSTALLDIR" Name="jetbrowser" />
</Directory>
</StandardDirectory>
<DirectoryRef Id="INSTALLDIR">
<Component Id="exe" Guid="5d56d614-add6-48d2-ae1f-3508a19d3626">
<File Id="jetbrowser" Name="jetbrowser.exe" Source="jetbrowser.exe" KeyPath="yes" />
</Component>
</DirectoryRef>
<Feature Id="MainApplication" Title="Main Application" Level="1">
<ComponentRef Id="exe" />
</Feature>
</Package>
</Wix> Should I specify it differently? Unfortunately, there is no documentation for StandardDirectory element, but there is a request already. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Did you build a 64-bit package or a 32-bit package (what was your platform value on your build command-line)? 32-bit MSI packages, AFAICR, cannot place files in the 64-bit Program Files folder, but I may be remembering things incorrectly (it's been a few years that I've tried mucking with 64-bit platforms from 32-bit packages). |
Beta Was this translation helpful? Give feedback.
Did you build a 64-bit package or a 32-bit package (what was your platform value on your build command-line)?
32-bit MSI packages, AFAICR, cannot place files in the 64-bit Program Files folder, but I may be remembering things incorrectly (it's been a few years that I've tried mucking with 64-bit platforms from 32-bit packages).