diff options
author | Dmitry Fleytman <dfleytma@redhat.com> | 2015-03-31 11:19:35 +0300 |
---|---|---|
committer | Dmitry Fleytman <dfleytma@redhat.com> | 2015-03-31 11:19:35 +0300 |
commit | 59f8d972b218d48679f6682654a0e7d6a3cbb1ff (patch) | |
tree | fdf7355cb604d3e1c51be9ffd494fe0c0f13fb65 | |
parent | 455efb0638bbac91b0be0a398df3818f224e21fb (diff) |
MSI: Reject installation of 32 bit MSI on 64 bit systemv1.00-3
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
-rw-r--r-- | Tools/Installer/UsbDkInstaller.wxs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/Installer/UsbDkInstaller.wxs b/Tools/Installer/UsbDkInstaller.wxs index d06fa4b..eed94d5 100644 --- a/Tools/Installer/UsbDkInstaller.wxs +++ b/Tools/Installer/UsbDkInstaller.wxs @@ -27,6 +27,12 @@ InstallScope="perMachine" InstallPrivileges="elevated" /> + <?if $(var.UsbDkPlatform) = x86 ?> + <Condition Message="Error: 32-bit version of UsbDk can not be installed on 64-bit Windows."> + <![CDATA[Not VersionNT64]]> + </Condition> + <?endif?> + <Media Id="1" Cabinet="usbdk.1.1.0.0.cab" EmbedCab="yes" /> <Property Id="WHSLogo">1</Property> |