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!

ittim
Posts: 29
Joined: Mon Aug 22, 2016 1:36 pm

Detecting Operating System

Hi,

So I have two installers, my signed one for 7 and up and an unsigned one for those still lagging behind of XP and Vista, what I would like to do if possible is have a pre-requisite determine that its xp or vista and go on to download and install the other package. (and cancel the first one)

Is that possible to do?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Detecting Operating System

Hi ittim,

Of course you can implement your scenario with Advanced Installer.

The solution is to add both your MSI's to a third project and set them as "feature-based" prerequisites (Requirements section - Prerequisites page in the left pane, right-click on Packages - "Feature-based" and select "New URL Prerequisite"). You will set for both ones install conditions according to targeted Windows Versions (third tab - "Install Conditions" - "Supported Windows Versions" section).

Also, it is important that in your third MSI (the selector) to uncheck the option "Register product with Windows Installer" (in Product Details page, under "Product Information" section in the left pane) because this MSI should not appear in Control Panel - "Program and Features" on the target machines.

I attached to this post a sample project which will help you complete your project.

If you have any questions just let us know.

Best regards,
Eusebiu
Attachments
Your Application.aip
(17.47 KiB) Downloaded 278 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”