Indigo Rose Software
  #1  
Old 09-25-2002
Support Support is offline
Super Moderator
 
Join Date: Jan 2000
Location: Indigo Rose Corporation
Posts: 204
INFO: How to Set the Default Application Directory

INFO: How to Set the Default Application Directory

INFO: How to Set the Default Application Directory

Document ID: IR02009
The information in this article applies to:
  • Setup Factory 6.0

SUMMARY

This article explains how to set the default application directory.

DISCUSSION

In Setup Factory 6.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 %AppDir%. So setting the value of %AppDir% sets the application directory.

By default this variable is set in two different locations:

  • The Settings tab of General Design dialog
  • The Select Install Folder screen


  • The General Design dialog sets the default value of %AppDir%. This is the value that %AppDir% will contain for the duration of the installation unless it is overwritten by an action or screen. The value set by the General Design screen 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 %AppDir%. Therefore if an installation had no screens or actions the application directory set on the General Design dialog 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 %AppDir%. Which means that the Select Install Folder screen overwrites the default application directory that was set on the General Design dialog.

    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 General Design dialog or the current value of %AppDir%.

    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 Custom tab of the Screen Properties: Select Install Folder dialog 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 %AppDir%, and therefore the application directory.

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

    MORE INFORMATION

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

  • Command Reference | Screens | Individual Screens | Select Install Folder
  • Command Reference | Design Environment | Dialogs | General Design | General Design tabs | Settings tab
  • Command Reference | Variables | Built-in Variables
  • KEYWORDS: Setup Factory, Application directory, %AppDir%, General Design, Select Install Folder


    Last reviewed: September 25, 2002
    Copyright © 2002 Indigo Rose Corporation. All rights reserved.
     

    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 On



    All times are GMT -6. The time now is 01:39 PM.


    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