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 to Set the Default Application Directory

How to Set the Default Application Directory

In Setup Factory 7.0 the application directory is the directory where all of your files will be installed by default. The application directory is generally controlled by the built-in variable %AppFolder%. So setting the value of %AppFolder% sets the application directory.

By default this variable is set in two different locations:

Project -> Session Variables
The Select Install Folder screen

The Session Variables tab sets the default value of %AppFolder%. This is the value that %AppFolder% will contain for the duration of the installation unless it is overwritten by an action or screen. The value set by the Session Variables tab is considered the default value for the application directory because it is always set during design-time, and it is the first value that is assigned to %AppFolder%. Therefore if an installation had no screens or actions the application directory set on the Session Variables tab would remain constant throughout the installation and it would be the path were the files would be installed to.

By default the Select Install Folder screen also sets the application directory by setting the value of %AppFolder%. Which means that the Select Install Folder screen overwrites the default application directory that was set on the Session Variables tab.

The Select Install Folder screen also has a Default install folder field that controls the initial value that will be displayed in the Install Folder field during runtime. This value has no relation to the application directory set on the Session Variables tab or the current value of %AppFolder%.

So if you find that the application directory you set on the General Design dialog is not being displayed by default on the Select Install Folder screen during runtime, it is because you have not set the Default install folder on the Settings tab of the Screen Properties dialog of the Select Install Folder screen during design-time.

Another fact to keep in mind is that, by default, when the Next button is pressed on the Select Install Folder screen during runtime, the current path found in the Install Folder field will be used to set %AppFolder%, and therefore the application directory.

Note: %AppFolder% is simply a variable and can be set many different ways in Setup Factory, the Session Variables tab is the default method, and the Select Install Folder screen the most common way to overwrite this value.

For more information please see the following topics in the Setup Factory Help file:

Program Reference | Screen Types | Select Install Folder
Program Reference | Project Settings | Session Variables
Program Reference | Variables | Session Variables

Last edited by Adam; 04-29-2008 at 01:42 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
Fading effect with Labels autoplmst6 AutoPlay Media Studio 7.5 Examples 3 04-09-2008 04:18 PM
INFO: Dynamically Resizing an Application at Runtime Support AutoPlay Media Studio 4.0 Examples 0 10-21-2002 03:23 PM
HOWTO: Make an AutoPlay Application Expire Support AutoPlay Media Studio 4.0 Examples 0 10-09-2002 11:10 AM
INFO: How to Set the Default Application Directory Support Setup Factory 6.0 Knowledge Base 0 09-25-2002 01:02 PM
A few suggestions orkos Setup Factory 6.0 2 10-24-2000 09:29 AM


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