View Full Version : Release Flags not working?

03-01-2016, 12:12 PM
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?

03-01-2016, 02: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.