Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    1

    Populating session variable in a file

    Hi,

    I am a newbie in this field of set up and install. I trying use to this product as an installer for our application. I need to populate %AppFolder% actual value in one of my application file after installation. What is the procedure to fulfil this requirement. This may be a basic thing. Please help.

    Thanks
    SJ

  2. #2
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    there are posts in this forum on how to do what you want...

    below is registry related, however applies to most Path setting for Session Variables.

    http://www.indigorose.com/forums/showthread.php?t=13299

    eg: using the lua variable: strAppLoc from above post
    Code:
    INIFile.SetValue(_TempFolder.."\\My Settings.ini", "Location", "AppFolder", strAppLoc);
    
    --another way:
    INIFile.SetValue(_TempFolder.."\\My Settings.ini", "Location", "AppFolder", SessionVar.Expand("%AppFolder%"));

    hth
    Last edited by Eagle; 01-30-2006 at 06:28 AM.

Similar Threads

  1. Can't write variable value to log file
    By David Wellman in forum Setup Factory 7.0
    Replies: 4
    Last Post: 01-10-2005, 11:06 AM
  2. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 AM
  3. Faulty File Search Variable settings
    By JRP in forum Setup Factory 5.0
    Replies: 1
    Last Post: 01-19-2001, 08:16 AM
  4. Can search allow manual browse even if file is found?
    By RichardShaw in forum Setup Factory 5.0
    Replies: 2
    Last Post: 08-28-2000, 06:08 PM
  5. Replies: 0
    Last Post: 08-17-2000, 02:29 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