Indigo Rose Software

Go Back   Indigo Rose Software Forums > MSI Factory 2.0 > MSI Factory 2.0 Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 07-16-2007
alexzfirm alexzfirm is offline
Forum Member
 
Join Date: Jul 2007
Posts: 69
How to add file to the project based on condition or variable value?

I have one project that is used to build 5 different installers.

I have 5 different help files (with different names). I need to have only 1 per build. How can I add (or remove) files from the project based on variable value or some other condition?

Related to this
http://www.indigorose.com/forums/sho...336#post105336

Thank you
Reply With Quote
  #2  
Old 07-17-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
You might be able to use a build variable for this. (Build > Settings > Variables tab.)

Build variables are essentially preprocessor definitions that get replaced when the project is compiled.
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #3  
Old 07-17-2007
alexzfirm alexzfirm is offline
Forum Member
 
Join Date: Jul 2007
Posts: 69
Thank you that worked. The filename containing variable shows in red in the file list but still compiles and installs just fine.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac autostart function??? Protocol AutoPlay Media Studio 4.0 21 06-26-2003 11:25 AM
AutoPlay Media Studio 4.0.0.3 Released Brett AutoPlay Media Studio 4.0 0 12-11-2002 09:39 AM
HOWTO: "Hide" Externally Referenced Files Support AutoPlay Media Studio 4.0 Examples 0 10-23-2002 04:19 PM
INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0 Support AutoPlay Media Studio 4.0 Examples 0 10-03-2002 09:38 AM
Playing flash file when the project is Initialize nagad AutoPlay Media Studio 4.0 6 09-05-2002 04:39 AM


All times are GMT -6. The time now is 10:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software