Commit 876cc5b8 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

package: msi: Install 64bits program in Program Files/

Instead of Program Files (x86). This works around a bug in WiX
https://github.com/wixtoolset/issues/issues/2165
parent f994d6d6
......@@ -72,6 +72,17 @@
<Media Id='1' Cabinet='product.cab' EmbedCab='yes' CompressionLevel="high" />
<CustomAction Id="Overwrite_WixSetDefaultPerMachineFolder" Property="WixPerMachineFolder"
Value="[$(var.PlatformProgramFilesFolder)][ApplicationFolderName]" Execute="immediate" />
<InstallUISequence>
<Custom Action="Overwrite_WixSetDefaultPerMachineFolder" After="WixSetDefaultPerMachineFolder" />
</InstallUISequence>
<InstallExecuteSequence>
<Custom Action="Overwrite_WixSetDefaultPerMachineFolder" After="WixSetDefaultPerMachineFolder" />
</InstallExecuteSequence>
<SetProperty Id="ARPINSTALLLOCATION" Value="[APPLICATIONFOLDER]" After="CostFinalize" />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'>
<Directory Id='VideoLANFolder' Name='$(var.Manufacturer)'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment