Indigo Rose Software
  #1  
Old 07-11-2007
cdundee cdundee is offline
Forum Member
 
Join Date: Dec 2005
Posts: 43
Installation Folder

By default installation folder is C:\Program Files\[ProductName]. Instead of that I want the installation folder to be
C:\Program Files\[Manufacturer]\[ProductName]

Can someone tell me how I can include the manufacturer property value in the installation folder as a variable so that if I change the manufacturer property value the installation folder should automatically pick it up.

Thanks.
Reply With Quote
  #2  
Old 07-12-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Formatted text like [MyProperty] isn't expanded in the Folders table, so you can't just use a property as the name of the folder. If you want to set a folder's name to the value of a property, you need to use a Set Folder action.

I think a better way to approach that is to use a build variable (which is essentially a preprocessor definition) for the manufacturer field and that folder name.

So, you could define a build variable like ManufacturerName, and then refer to it using $(var.ManufacturerName) in both places.
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #3  
Old 07-12-2007
cdundee cdundee is offline
Forum Member
 
Join Date: Dec 2005
Posts: 43
I see what you are saying but where do I define and place the build variable. Help manual was not much help in this matter. Can you please give me an example?

Thanks.
Reply With Quote
  #4  
Old 07-13-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
To add a build variable, go to Build > Settings > Variables tab, then click Add.
__________________
--[[ Indigo Rose Software Developer ]]
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
Setting installation folder permissions? pww Setup Factory 7.0 Discussion 4 08-29-2006 03:02 PM
cookies goukilord10 AutoPlay Media Studio 5.0 6 05-20-2005 05:08 PM
Help With Installation Folder supercharged Setup Factory 7.0 Discussion 1 01-18-2005 08:48 AM
How do you remove Installation Folder? Toby123 Setup Factory 6.0 7 01-24-2003 02:42 PM
HOWTO: Add DirectX 8.1 Support to your Setup Factory 6.0 Installation Support Setup Factory 6.0 Knowledge Base 0 10-30-2002 02:55 PM


All times are GMT -6. The time now is 04:25 AM.


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