Disable the 32-bit installation package from running on the 64-bit operating system.

Source: Internet
Author: User

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:

  • Windows Installer

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,
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.