Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,149

    How do I make an install that uses "Sticky Folders"

    Question
    How do I make an install that uses "Sticky Folders"

    Answer
    In Setup Factory 6.0 there is an option to have a sticky folder. This feature would append a folder to the selected install folder. This is not a built in feature in Setup Factory 7.0 but the workaround is quite easy.

    In The "Select Install Folder" screen -> Actions -> "On Next" event add this code in between these 2 lines:
    Code:
    if(g_IsValidPath(strInstallFolderPath)) then
       -- insert the code at the end here
       -- if there's enough space on the selected drive, proceed to the next screen
       if(_SpaceAvailable >= _SpaceRequired) then
          -- This code will make a sticky folder
          -- Expand the session variable
          AppFolder = SessionVar.Expand("%AppFolder%");
          -- Append the sticky folder name to this result
          AppFolder = AppFolder.."\\StickyFolderName";
          -- And set the variable back to a Session variable.
          SessionVar.Set("%AppFolder%",AppFolder);
       end
    end
    For more information please see the following topics in the Setup Factory help file:

    Program Reference | Actions | SessionVar | SessionVar.Expand
    Program Reference | Actions | SessionVar | SessionVar.Set
    Last edited by Adam; 04-29-2008 at 01:13 PM.

Similar Threads

  1. make my install span multiple media devices?
    By Adam in forum Setup Factory 8.0 FAQ
    Replies: 0
    Last Post: 04-28-2008, 01:01 PM
  2. Setup Factory and VS 2005
    By vazir786 in forum Setup Factory 7.0
    Replies: 4
    Last Post: 01-13-2006, 09:47 PM
  3. HOWTO: Download and Install Files from the Web
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-23-2002, 02:16 PM
  4. HOWTO: Limit the Number of Times an Install can be Run
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-17-2002, 03:58 PM
  5. HOWTO: Make an Install that Spans Multiple CD-ROMs
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-11-2002, 04:36 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