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
- :
- Solved
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
Mar 01, 2016
11:12 AM
Release Flags not working?
I recently inherited a pretty straightforward Basic MSI project. It was decided that the next version should be available as both a download and a CD.
So, I have two prerequisites that I want to include/exclude based on release flags, the web and full install of .NET framework. I have two releases, download and CD.
The two prereqs are flagged as "Web" and "Disc" respectively, and so are the releases.
This is all pretty basic, right?
However, when I build, the download release has just the web .NET as it should, but the CD release has both the web and full .NET! The previous owner of this project didn't know release flags existed, so there aren't any other flags to conflict.
Any ideas on where I'm going wrong?
So, I have two prerequisites that I want to include/exclude based on release flags, the web and full install of .NET framework. I have two releases, download and CD.
The two prereqs are flagged as "Web" and "Disc" respectively, and so are the releases.
This is all pretty basic, right?
However, when I build, the download release has just the web .NET as it should, but the CD release has both the web and full .NET! The previous owner of this project didn't know release flags existed, so there aren't any other flags to conflict.
Any ideas on where I'm going wrong?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 01, 2016
01:40 PM
In the hopes that it might benefit someone else in future --
Someone had previously created a custom prereq for this version of the web .NET installer, because InstallShield 2014 didn't come with it. We updated to 2015, which DID have a prereq for this .NET, with the same name. InstallShield only displayed one entry in the prereq list, presumably theirs, but another prereq had the custom one as a dependency. So basically, we were getting web .NET twice and only one of them had the release flag.
I replaced the custom .NET prereq with the default one, removed the dependency, and everything is back to normal.
Someone had previously created a custom prereq for this version of the web .NET installer, because InstallShield 2014 didn't come with it. We updated to 2015, which DID have a prereq for this .NET, with the same name. InstallShield only displayed one entry in the prereq list, presumably theirs, but another prereq had the custom one as a dependency. So basically, we were getting web .NET twice and only one of them had the release flag.
I replaced the custom .NET prereq with the default one, removed the dependency, and everything is back to normal.