Indigo Rose Software

Go Back   Indigo Rose Software Forums > Setup Factory 8.0 > Setup Factory 8.0 FAQ

Reply
 
Thread Tools Display Modes
  #1  
Old 04-28-2008
Adam's Avatar
Adam Adam is offline
Indigo Rose Staff Member
 
Join Date: May 2000
Location: Indigo Rose Software
Posts: 2,154
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.
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
make my install span multiple media devices? Adam Setup Factory 8.0 FAQ 0 04-28-2008 01:01 PM
Setup Factory and VS 2005 vazir786 Setup Factory 7.0 Discussion 4 01-13-2006 09:47 PM
HOWTO: Download and Install Files from the Web Support Setup Factory 6.0 Knowledge Base 0 10-23-2002 02:16 PM
HOWTO: Limit the Number of Times an Install can be Run Support Setup Factory 6.0 Knowledge Base 0 10-17-2002 03:58 PM
HOWTO: Make an Install that Spans Multiple CD-ROMs Support Setup Factory 6.0 Knowledge Base 0 10-11-2002 04:36 PM


All times are GMT -6. The time now is 05: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