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: Help with multiple projects, selectable at build time
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
Oct 21, 2007
05:47 PM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 22, 2007
11:53 AM
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
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