49.8 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:

49.8.1 Common Tab

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

Table 49-7 Using Macros 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

49.8.2 Distribution Options Tab

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

Table 49-8 Using Macros 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

49.8.3 MSI Tab

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

Table 49-9 Using Macros on the MSI Tab

Field Name

Access to Field

Transform path

MSI tab > Transforms > Add

MSI Patch file

MSI tab > Patches > Add

49.8.4 Run Options Tab

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

Table 49-10 Using Macros 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