Make platform comparison case insensitive
This commit is contained in:
parent
cf2914d14a
commit
771924914b
1 changed files with 5 additions and 5 deletions
|
@ -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?>
|
||||
|
||||
|
|
Loading…
Reference in a new issue