We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

llc-elliot
Posts: 4
Joined: Wed Sep 02, 2015 1:53 pm

Options for 64-bit prerequisite

Hi all,

I am adding an .msi as a prerequisite to my installer.

I want to provide for both 32-bit and 64-bit systems. I have a i386.msi version for 32-bit systems. For 64-bit systems I have both amd64.msi and ia64.msi versions. Which should I use? Should I use both? Can I set the processor type as a precondition if I use both?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Options for 64-bit prerequisite

Hello,
For 64-bit systems I have both amd64.msi and ia64.msi versions. Which should I use? Should I use both? Can I set the processor type as a precondition if I use both?
You should use the amd64.msi as this is the most common platform.

From the Prerequisite Install Conditions Tab you can select the Supported Windows Versions for each prerequisite (e.g. 32-bit or 64-bit).

We do not have a method in order to check the platform during installation. However, you can add both 64msi versions and set the corresponding install condition for each prerequisite, so that each one be installed based on the platform type. So, you can create your own custom executable (.EXE) which search the platform type on the target machine.

Then you can add a new search to the prerequisite install condition, the Search done by a custom executable option. This option enables you to specify your own EXE file. The setup will interpret the result based on the return code of your EXE. In case of the EXE finds a suitable version of the prerequisite, the returned value must be 0. Any other value will be interpreted as failure.

Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”