cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Alfetta159
Level 4

Prerequisite problem

I have a project that has three different product configurations that is when it comes to the build output. I have one that creates a setup.exe, and then another that just creates an MSI. But I want to put some prerequisistes in the setup.exe like .NET 2.0 (x64). That's easy, but then my MSI configuration gives me an error because it says that I have to have a setup.exe to include the prerequisites.

I'm aware of that when I create an MSI, the prerequisites aren't applicable, but why is it an "error".

So how can I have the IDE ignore this error? Or how can I create a build configuration with a setup.exe bootstrapper with all the prerequistes taht I want and an internal MSI that contains the CABS? ( I don't want external cab files.
Labels (1)
0 Kudos
(4) Replies
Weiman
Level 4

Try setting a release flag on your prerequisites. Then include that flag in the setup.exe configuration but not the MSI configuration.
0 Kudos
Alfetta159
Level 4

And how, praytel, do you set a release flag on a prerequisite?
0 Kudos
DebbieL
Level 17

0 Kudos
Alfetta159
Level 4

Thank you.

That was the first thing I had looked for, but missed it the first time when I looked at the prerequisite properties.

Thanks again, on both replies.
0 Kudos