![]()
|
ScriptMaker TutorialThe [Dir] PageOn the [Dir] page you can specify any extra directories you want Setup to create. For example, you may want a sub-directory called Help to be set up within your application's main directory (the installation directory chosen by the user). Type the name of the new sub-directory (in this case "{app}\Help") in the main field, select any options for the new directory as explained below, and then click the Add button to add it to the list of directories.
![]() There are three possible options you can select for each new directory. Checking Always Uninstall will force the uninstaller to attempt to delete the directory if it is empty. Normally the uninstaller will only try to delete a directory if it did not exist prior to installation of your application. Selecting Never Uninstall has the opposite effect and prevents the uninstaller from trying to delete the directory. It is obviously impossible to select both options at the same time! Selecting the Delete After Install option makes Setup delete the directory once installation is complete. This choice can therefore be used to create a temporary directory during installation.
Using Directory ConstantsWhen you ask for Setup to create a new directory you will usually use the Directory Constants in the directory path (e.g. {app}\Help). In all cases where the Directory Constants can be used you can select them from a context menu by right-clicking the appropriate field.
Deleting Unwanted EntriesIf you find that you have placed an entry in the list of new directories and now no longer want it to be created, simply click the entry to highlight it and then click the Delete button.
|
||
Member of |
Copyright © 2005
Last major revision: 4 February 2005 at 14:52 BST
|