Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show message "Setup requires a 64Bit processor" from InstallShield in basic MSI project

I am using InstallShield 11 and creating a basic MSI project for a 64 Bit machine.

When I run my setup 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 setup to show another message instead:

64bit processor required!

like image 864
Jitendra Avatar asked Jul 22 '11 10:07

Jitendra


People also ask

What means of x64 MSI Installer?

The x64. msi version is the installer for the 64-bit version of Windows, while the x86. msi version is the installer for the default 32-bit version of Windows.

What is InstallShield setup EXE?

InstallShield uses setup.exe as the bootstrap loader to call the Microsoft Windows InstallerMicrosoft Windows InstallerWindows Installer (msiexec.exe, previously known as Microsoft Installer, codename Darwin) is a software component and application programming interface (API) of Microsoft Windows used for the installation, maintenance, and removal of software.https://en.wikipedia.org › wiki › Windows_InstallerWindows Installer - Wikipedia service. Setup.exe can accept command-line parameters that allow you to perform administrative installations, run silent installations, and complete other administrative tasks.

How do I find InstallShield?

Go to START > COMPUTER > C: > Program FilesProgram FilesProgram Files is the directory name of a standard folder in Microsoft Windows operating systems in which applications that are not part of the operating system are conventionally installed.https://en.wikipedia.org › wiki › Program_FilesProgram Files - Wikipedia > InstallShield Installation Information.


2 Answers

This message is shown automatically by Windows Installer and cannot be customized.

If you really want a custom message, you can try this approach:

  • create a custom EXE bootstrapper which determines if the target platform is 32-bit or 64-bit
  • if it's 32-bit show your custom message
  • if it's 64-bit launch the MSI package

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

like image 94
rmrrm Avatar answered Dec 16 '22 02:12

rmrrm


You could mark your install as a 32-bit install rather than a 64-bit install. (Set "Template Summary" to Intel;1033 rather than AMD64;1033.)

Then, create a Custom Action, conditioned on "Not VersionNT64", which pops up your message "64bit processor required!" and then exits.

This way, your install will still run on 32-bit systems, thus giving you the chance to detect 32-bit/64-bit and take appropriate action.

VersionNT64 on MSDN

like image 44
William Leara Avatar answered Dec 16 '22 03:12

William Leara