Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    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.

  2. #2
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    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 ]]

  3. #3
    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.

  4. #4
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    To add a build variable, go to Build > Settings > Variables tab, then click Add.
    --[[ Indigo Rose Software Developer ]]

Similar Threads

  1. Setting installation folder permissions?
    By pww in forum Setup Factory 7.0
    Replies: 4
    Last Post: 08-29-2006, 02:02 PM
  2. cookies
    By goukilord10 in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 05-20-2005, 04:08 PM
  3. Help With Installation Folder
    By supercharged in forum Setup Factory 7.0
    Replies: 1
    Last Post: 01-18-2005, 07:48 AM
  4. How do you remove Installation Folder?
    By Toby123 in forum Setup Factory 6.0
    Replies: 7
    Last Post: 01-24-2003, 01:42 PM
  5. HOWTO: Add DirectX 8.1 Support to your Setup Factory 6.0 Installation
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-30-2002, 01:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts