Skip to content

Commit

Permalink
MSI: Reject installation of 32 bit MSI on 64 bit system
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Fleytman <[email protected]>
  • Loading branch information
Dmitry Fleytman committed Mar 31, 2015
1 parent 455efb0 commit 59f8d97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tools/Installer/UsbDkInstaller.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 59f8d97

Please sign in to comment.