Altiris XML Template

AdminStudio 2022 | 23.0 | Distribution Wizard

When using the Altiris distribution method, a custom script file is required. If you select the Altiris method on the Distribution Type Panel, the Distribution Wizard uses an XML Template file (AltirisTemplate.config) to create a custom script file named <packageName>.Config. The Distribution Wizard copies this configuration file along with the Windows Installer package with any transforms and files to the Network Directory specified on the Altiris Integration Panel.

You can edit AltirisTemplate.config to customize it for your organization. The file, which is installed with AdminStudio, is located in the Templates subdirectory of the following directory:

[AdminStudioInstallDirectory]\AdminStudio Shared

The following variables are used in the AltirisTemplate.Config file:

AltirisTemplate.config Variables

Variable

Value

%DIST.ASVERSION%

AdminStudio version number

%DIST.COMMANDLINE%

Command line specified on the Altiris Integration Panel of the Distribution Wizard. See the Windows Installer Property Reference for more information.

%DIST.NETWORKLOCATION%

Network location of the MSI package as specified on the Altiris Integration Panel of the Distribution Wizard

%ProductCode%

ProductCode property from the MSI Property Table

%ProductName%

ProductName property from the MSI Property Table

%ProductVersion%

ProductVersion property from the MSI Property Table

%SUMMARYSTREAM.Id%

Comments property from the MSI Summary Stream.

Any property with the SUMMARYSTREAM prefix will be populated based on the MSI Summary Information Stream Property as specified by the Id, in the format of:

<description>%SUMMARYSTREAM.4%</description>

Summary Stream Ids range from 1 to 19. For a complete list of Summary Information Stream Ids, see Summary Information Stream Property Set. In the example above, "4" indicates that the value of the Author property should be inserted.

Please note the following:

Any property with the DIST prefix will be custom populated by the Distribution Wizard.
Any other property will be populated based on the MSI Property Table.
Typically, all variables are enclosed within '%' characters, as shown above.