cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yeeht19
Level 5

How to check OS before prerequisite?

Hi,

I'm using Basic MSI project. I would like to check for OS before start running setup prerequisite. However, I don't managed to add any custom action before the prerequisite.
Is there any way to do so?

Thanks & Regards,
HY
Labels (1)
0 Kudos
(2) Replies
DLee65
Level 13

HY,

The only way I was able to accomplish this was to create a small InstallScript install that checks for the OS conditions and any other system conditions first. This setup would be named Setup.exe. I add this to Disk1 of the setup. If this passes then I call Prerequisites.exe and pass in all command line options.

The prerequisites exe file name can be set in the releases view. Select the product configuration and modify the Setup Name value.

I have attached a sample InstallScript project that we use to test that the OS meets the requirements for SQL 2005 Express (memory, system, processor, etc).
0 Kudos
SvetlanaT
Level 3

I don't know how particular your OS has to be, but if you right-click on your prerequisite and choose "edit". In Conditions Tab, you can click ADD and one of the options is checking for a certain OS (the last radio button).
0 Kudos