Quote platform names

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2019-04-26 10:06:30 +02:00
parent 95c5503027
commit 6c3084c53c

View File

@ -4,7 +4,7 @@
Copyright (C) 2018-2019 WireGuard LLC. All Rights Reserved. Copyright (C) 2018-2019 WireGuard LLC. All Rights Reserved.
--> -->
<?if $(var.Platform) = x86?> <?if $(var.Platform) = "x86"?>
<?define PlatformProgramFilesFolder = "ProgramFilesFolder"?> <?define PlatformProgramFilesFolder = "ProgramFilesFolder"?>
<?else?> <?else?>
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder"?> <?define PlatformProgramFilesFolder = "ProgramFiles64Folder"?>
@ -90,7 +90,7 @@
<!-- <!--
Prevent WoW64 installations. Prevent WoW64 installations.
--> -->
<?if $(var.Platform) = x86?> <?if $(var.Platform) = "x86"?>
<CustomAction Id="WoW64Unsupported" Error="You are attempting to install the 32-bit variant of [ProductName] on a 64-bit operating system. 32-bit variant will not work with your operating system. The installation of the 64-bit variant is recommended."/> <CustomAction Id="WoW64Unsupported" Error="You are attempting to install the 32-bit variant of [ProductName] on a 64-bit operating system. 32-bit variant will not work with your operating system. The installation of the 64-bit variant is recommended."/>
<InstallExecuteSequence> <InstallExecuteSequence>
<Custom Action="WoW64Unsupported" After="LaunchConditions"><![CDATA[VersionNT64]]></Custom> <Custom Action="WoW64Unsupported" After="LaunchConditions"><![CDATA[VersionNT64]]></Custom>