Skip to content

Commit 33f8909

Browse files
authored
Update Installer exe to include Architecture (#3671)
1 parent ffdfe6f commit 33f8909

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

installer/dev/WindowsAppRuntimeInstall.vcxproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<RootNamespace>WindowsAppRuntimeInstall</RootNamespace>
1414
<WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.22000.0</WindowsTargetPlatformVersion>
1515
<WindowsTargetPlatformMinVersion>10.0.17763.0</WindowsTargetPlatformMinVersion>
16+
<TargetName>WindowsAppRuntimeInstall-</TargetName>
1617
</PropertyGroup>
1718
<ItemGroup Label="ProjectConfigurations">
1819
<ProjectConfiguration Include="Debug|Win32">
@@ -40,6 +41,15 @@
4041
<Platform>ARM64</Platform>
4142
</ProjectConfiguration>
4243
</ItemGroup>
44+
<PropertyGroup Label="Globals" Condition="'$(Platform)'=='Win32'">
45+
<TargetName>WindowsAppRuntimeInstall-x86</TargetName>
46+
</PropertyGroup>
47+
<PropertyGroup Label="Globals" Condition="'$(Platform)'=='x64'">
48+
<TargetName>WindowsAppRuntimeInstall-x64</TargetName>
49+
</PropertyGroup>
50+
<PropertyGroup Label="Globals" Condition="'$(Platform)'=='ARM64'">
51+
<TargetName>WindowsAppRuntimeInstall-arm64</TargetName>
52+
</PropertyGroup>
4353
<PropertyGroup Label="Configuration">
4454
<ConfigurationType>Application</ConfigurationType>
4555
<PlatformToolset>v143</PlatformToolset>

installer/test/InstallerFunctionalTests/constants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#define BUILDOUTPUT_DIR L"BuildOutput"
2323
#define INSTALLER_DIR L"WindowsAppRuntimeInstall"
24-
#define INSTALLER_FILENAME L"WindowsAppRuntimeInstall.exe"
24+
#define INSTALLER_FILENAME L"WindowsAppRuntimeInstall-" ARCH L"exe"
2525
#define INSTALLER_EXE_PATH BUILDOUTPUT_DIR L"\\" CONFIGURATION L"\\" ARCH L"\\" INSTALLER_DIR L"\\" INSTALLER_FILENAME
2626

2727
namespace WindowsAppRuntimeInstallerTests

0 commit comments

Comments
 (0)