Make platform comparison case insensitive

This commit is contained in:
Eric StJohn 2021-09-02 15:58:25 -07:00
parent cf2914d14a
commit 771924914b

View file

@ -7,11 +7,11 @@
<!-- The following match the expected values for PROCESSOR_ARCHITECTURE
https://docs.microsoft.com/en-us/windows/win32/winprog64/wow64-implementation-details -->
<?if $(var.Platform)=x86?>
<?define InstallerArchitecture~="X86"?>
<?elseif $(var.Platform)=x64?>
<?define InstallerArchitecture~="AMD64"?>
<?elseif $(var.Platform)~=ARM64?>
<?if $(var.Platform)~=x86?>
<?define InstallerArchitecture="X86"?>
<?elseif $(var.Platform)~=x64?>
<?define InstallerArchitecture="AMD64"?>
<?elseif $(var.Platform)~=arm64?>
<?define InstallerArchitecture="ARM64"?>
<?endif?>