Application Object Properties Where Macros Can Be Used

You can use macros when defining the Application object properties.

When entering a macro in a property field, you must enclose the macros in % characters (for example, %TARGET_PATH% or %*WINDISK%). This enables Application Launcher to recognize and treat the macro as a macro.

The following sections describe the fields on each page on which you can use macros:


Common Tab

You can use macros in the following fields on the Common tab:

Field Name Access to Field

Drive to be Mapped/Path

Port to be Captured/Printer or Queue

Common tab > Drives/Ports page > Add

Run Before Uninstalling

Run After Uninstalling

NOTE:  To use macros in these two fields, you must be using a script engine rather than the Novell Client, as specified in the Script Engine Location field.

Common tab > Uninstall Scripts page

Package Source Path

Common tab > Sources > Add


Distribution Options Tab

You can use macros in the following fields on the Distribution Options tab:

Field Name Access to Field

Key, Value Name, and Value Data stings

Distribution Options tab > Registry page

Section, Value Name, and Value Data strings

Distribution Options tab > INI Settings page

Source File

Target File

Target Directory

Distribution Options tab > Application Files page > Add > File or Directory

Add Text to the File

Delete Text from the File

Find File and Replace Text in the File

Distribution Options tab > Text Files page > Add > Change

All Icon/Shortcut properties

Distribution Options tab > Icons/Shortcuts page

NOTE:  the Icons/Shortcuts page is not available for MSI applications.

Run Before Distribution

Run After Distribution

NOTE:  To use macros in these two fields, you must be using a script engine rather than the Novell Client, as specified in the Script Engine Location field.

Distribution Options tab > Distribution Scripts page


MSI Tab

You can use macros in the following fields on the MSI tab:

Field Name Access to Field

Transform Path

MSI tab > Transforms > Add

MSI Patch File

MSI tab > Patches > Add


Run Options Tab

You can use macros in the following fields on the Run Options tab:

Field Name Access to Field

Path to File

Parameter

Working Directory

Run Options tab > Application page

Run Before Launching

Run After Termination

NOTE:  To use macros in these two fields, you must be using a script engine rather than the Novell Client, as specified in the Script Engine Location field.

Run Options tab > Launch Scripts page