Display the message “Installation requires a 64-bit processor” from InstallShield in the MSI base project

I use InstallShield 11 and create a basic MSI project for a 64-bit machine.

When I run my installation on a 32-bit machine, the Windows installer shows a message that

This installation package is not supported by the processor.

Now the problem is that I want the InstallShield installation to display another message:

64 bit processor required!

+6
source share
2 answers

You can mark your installation as 32-bit rather than 64-bit. (Install the "Template Summary" for Intel, 1033 instead of AMD64, 1033.)

Then create a custom action configured to “Not VersionNT64,” in which your message “Requires a 64-bit processor!” Appears. and then come out.

Thus, your installation will work on 32-bit systems, which will give you the ability to detect 32-bit / 64-bit and take appropriate action.

NT64 version on MSDN

+2
source

This message is displayed automatically by the Windows installer and cannot be changed.

If you really need a special post, you can try this approach:

  • create a custom EXE boot boot that determines whether the target platform is 32-bit or 64-bit
  • if it is a 32-bit display of your custom message
  • if a 64-bit MSI package start

There is no predefined solution, so you will need to write the EXE yourself. Personally, I don't think it's worth it.

+5
source

Source: https://habr.com/ru/post/893349/


All Articles