Disable the 32-bit installation package from running on the 64-bit operating system.
Windows installer provides a "Msix64" attribute to help us detect whether the current system is 32-bit or 64-bit.
TheMsix64Property is defined only if running on an x64 processor.
When a 64-bit system is detected, the installation package cannot be run. In Wix, we can add a Condition:
<Condition Message = "This insatller shoshould be run on a 32-bit operation system. 64-bit operating system is not supported.">
<! [CDATA [Not Msix64]>
</Condition>
However, note that this attribute must be supported by Windows Installer 3.1 or later, that is, the Windows Installer version of the operating system must be at least 3.1. In the installation package, we can specify the minimum version of Windows Installer required by the installation package:
<Package InstallerVersion = "310" Compressed = "yes"/>
* InstallerVersion = Windows Installer version * 100, so 310 indicates 3.1.
Related links:
Are you running a 64-bit installer on a 32-bit operating system ?? What does that mean ?? How can this problem be solved ??
Microsoft released the 32-bit and 64-bit operating systems. In theory, 64-bit is compatible with 32-bit systems. In turn, the solution is to change the 32-bit program, or change the system, but now all the software supports 32-bit system.
Are you running a 64-bit installer on a 32-bit operating system ?? What does that mean ?? How can this problem be solved ??
Your system is 32-bit, and your program is 64-bit, the current 32-bit and 64-bit systems are not supported. The 64-bit software cannot be installed on 32-bit systems,