This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to check OS before prerequisite?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 31, 2008
07:37 PM
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
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
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 01, 2008
07:24 AM
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).
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).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 19, 2008
03:48 PM
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).