cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RC
Level 2

Help with multiple projects, selectable at build time

Hi,

We have two projects that use common code, one just has more features. We need to have separate install CD's so the features must be selected at build time. Is there a way to set the "include in build" property using a set command? If not how do we use flags to include/exclude features when we run the build. We plan to pass in a variable from a command line using NANT.

FYI we have upgraded from IS 12 to IS 2008 and one project is complete, using a script project.

Thanks
Roy
Labels (1)
0 Kudos
(1) Reply
ma1achai
Level 3

I'm coming from an InstallScript project mentality, but...

Why not just create another Release project and attach the features you want to each of them. That way you are sharing code, but your features are different.

Additionally, if you have some code that you want to run differently between the two release projects, you can set 'Compiler Preprocess Defines' variables (under the build tab) and then use #ifdef and #ifndef statements to let InstallShield know what code to compile for different ones... very handy.

Hope that helps...

-putman
0 Kudos