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
- :
- Re: Conditional Installation - where to start?
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
‎Jul 31, 2012
08:12 AM
Conditional Installation - where to start?
I have been asked to build an installation which will install one program if the operating system is WinXP or earlier and a different program if the operating system is Vista or higher. Since I am only familiar with building basic installers for one thing at a time, could someone point me at the place to start for building a single installer for two programs?
Thanks!
Thanks!
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2012
12:01 AM
Could you mention some more details like what kind of IS project you are using? and what do you mean by a different program?? in non xp machine?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2012
07:02 AM
The projects I am familiar with are basic ones, I haven't started this particular one, so I guess it could be whatever type is needed. The fundamental reason behind the conditional install is that the sales folks want our previous version of a program, which is rather old and 16-bit to boot installed on systems where it can be run (XP or earlier). We have a newer version of the program which is 32-bit, but has fewer features, for use on newer platforms.
Any advice on what kind of project to use or where to look for information would be appreciated.
Thanks for replying!
Any advice on what kind of project to use or where to look for information would be appreciated.
Thanks for replying!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2012
08:10 AM
You can either use the release flags to create two setup.exe one for (xp or earlier) and the other one for later OS. You can make you of BasicMsi project to achieve this. Get more info in Help on "Release Flags ". You will have one project to maintain but just 2 setup.exes.
Another way is include all the features and you have to write code to check for the os and depending on that you can enable or disable the features you wanted. You will finally endup with a single setup.exe which does installation on both flavors. If using Installscript then the api MsiSetFeatureState can be used to set the state.
Another way is include all the features and you have to write code to check for the os and depending on that you can enable or disable the features you wanted. You will finally endup with a single setup.exe which does installation on both flavors. If using Installscript then the api MsiSetFeatureState can be used to set the state.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 17, 2012
09:13 AM
have done something similar
that was build two seperate installers one for 32bit and another for 64bit
Then build another installer having those previous installers as prereqs.
Mine was a bit more complicated..
But that was essentially it
that was build two seperate installers one for 32bit and another for 64bit
Then build another installer having those previous installers as prereqs.
Mine was a bit more complicated..
But that was essentially it