@@ -1087,14 +1087,17 @@ function Consolidate-HostToolchainInstall()
1087
1087
1088
1088
function Build-Installer ()
1089
1089
{
1090
- Build-WiXProject toolchain.wixproj - Arch $HostArch - Properties @ {
1091
- DEVTOOLS_ROOT = " $ ( $HostArch.ToolchainInstallRoot ) \" ;
1092
- TOOLCHAIN_ROOT = " $ ( $HostArch.ToolchainInstallRoot ) \" ;
1090
+ # WiX v3 does not support ARM64
1091
+ if ($HostArch -ne $ArchARM64 )
1092
+ {
1093
+ Build-WiXProject toolchain.wixproj - Arch $HostArch - Properties @ {
1094
+ DEVTOOLS_ROOT = " $ ( $HostArch.ToolchainInstallRoot ) \" ;
1095
+ TOOLCHAIN_ROOT = " $ ( $HostArch.ToolchainInstallRoot ) \" ;
1096
+ }
1093
1097
}
1094
1098
1095
1099
foreach ($Arch in $SDKArchs )
1096
1100
{
1097
- # WiX v3 does not support ARM64
1098
1101
if ($Arch -eq $ArchARM64 )
1099
1102
{
1100
1103
continue
@@ -1111,15 +1114,17 @@ function Build-Installer()
1111
1114
}
1112
1115
}
1113
1116
1114
- Build-WiXProject devtools.wixproj - Arch $HostArch - Properties @ {
1115
- DEVTOOLS_ROOT = " $ ( $HostArch.ToolchainInstallRoot ) \" ;
1116
- }
1117
+ if ($HostArch -ne $ArchARM64 )
1118
+ {
1119
+ Build-WiXProject devtools.wixproj - Arch $HostArch - Properties @ {
1120
+ DEVTOOLS_ROOT = " $ ( $HostArch.ToolchainInstallRoot ) \" ;
1121
+ }
1117
1122
1118
- # TODO: The above wixprojs need to build
1119
- # Build-WiXProject installer.wixproj -Arch $HostArch -Properties @{
1120
- # OutputPath = "$BinaryCache \";
1121
- # MSI_LOCATION = "$($Arch.MSIRoot)\";
1122
- # }
1123
+ Build-WiXProject installer.wixproj - Arch $HostArch - Properties @ {
1124
+ OutputPath = " $BinaryCache \ " ;
1125
+ MSI_LOCATION = " $ ( $HostArch .MSIRoot ) \" ;
1126
+ }
1127
+ }
1123
1128
}
1124
1129
1125
1130
# -------------------------------------------------------------------
@@ -1166,4 +1171,6 @@ Build-IndexStoreDB $HostArch
1166
1171
Build-Syntax $HostArch
1167
1172
Build-SourceKitLSP $HostArch
1168
1173
1174
+ Build-Installer
1175
+
1169
1176
Consolidate- HostToolchainInstall
0 commit comments