add support for arm64 msi (#659)
This commit is contained in:
parent
2bf8005da1
commit
913e43cb71
|
@ -14,6 +14,7 @@
|
|||
ProductVersion=$(ProductVersion);
|
||||
</DefineConstants>
|
||||
<DefineSolutionProperties>false</DefineSolutionProperties>
|
||||
<!-- This is sufficient for x86 and x64 but gets overwritten below for ARM64 -->
|
||||
<WixTargetsPath Condition="'$(WixTargetsPath)' == ''">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -24,6 +25,12 @@
|
|||
</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Platform)' == 'ARM64'">
|
||||
<!-- Assumes WixToolPath input is provided at runtime -->
|
||||
<WixTargetsPath>$(WixToolPath)Wix.targets</WixTargetsPath>
|
||||
<WixTasksPath>$(WixToolPath)wixtasks.dll</WixTasksPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<BindInputPaths Include="..\..\..\bin\$(Platform)\$(Configuration)" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
<?elseif $(var.Platform) = "x86"?>
|
||||
<?define ProgramFilesFolder = "ProgramFilesFolder"?>
|
||||
<?define UpgradeCode = "2A1799F1-5B26-4DDC-A0C7-03F75C4C08D2"?>
|
||||
<?elseif $(var.Platform) = "ARM64"?>
|
||||
<?define ProgramFilesFolder = "ProgramFiles64Folder"?>
|
||||
<?define UpgradeCode = "5D153A07-920A-4978-8B33-8447DD4C42F9"?>
|
||||
<?else?>
|
||||
<?error Platform $(var.Platform) is not supported?>
|
||||
<?endif?>
|
||||
|
|
Loading…
Reference in New Issue