|
#1
|
||||
|
||||
|
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
Program Reference | Actions | SessionVar | SessionVar.Expand Program Reference | Actions | SessionVar | SessionVar.Set Last edited by Adam; 04-29-2008 at 01:13 PM. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
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.








Linear Mode

