How do prerequisites work with multiple versions of Windows? - Advanced Installer Community

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!

Nate
Posts: 3
Joined: Sat Jul 17, 2010 12:00 am

How do prerequisites work with multiple versions of Windows?

I need to ensure that Windows Installer 4.5 is available.

I understand that I can add it as a prerequisite, but which one should I add? Or should I add all of them? My options are "WI for Windows XP x86", "WI for Windows Server 2003 X86", "WI for Vista/Server 2008 x86" and so on.

There seems to be no way to restrict them to the correct OS version. If I add "WI for Windows XP x86" and choose an Install Condition of "Windows NT From: Windows XP Service Pack 2" then wouldn't that also install on Windows Server 2003 and Vista? That seems bad: each OS should get it's own WI 4.5 installer setup.
Nate
Posts: 3
Joined: Sat Jul 17, 2010 12:00 am

Re: How do prerequisites work with multiple versions of Windows?

To answer my own question: the order of the prerequisites matters. I arranged them so those for the newer operating systems would install first. As a result, by the time the prerequisite that matches XP or higher is reached on a Vista machine, the prerequisite will already have been installed.

Return to “Common Problems”