Windows Installer Package Information Panel

AdminStudio 2021 R2 | 22.0 | Distribution Wizard for ZENworks Configuration Management

On the Windows Installer Package Information panel, enter the information that will be referenced by this ZENworks server bundle, and click Next to continue.

Enter the following information:

Windows Installer Package Information Panel Properties

Property

Description

Windows Installer Package file (.msi)

Click Browse and select the Windows Installer (.msi) package that you want to distribute.

Windows Installer Transform Files (.mst)

All of the .mst files that are in the same directory as the selected Windows Installer package are automatically listed in this list.

To include transforms with the Windows Installer package, click the New button () and select a transform. If the package requires multiple transforms, you can repeat the procedure as necessary.

Use the Delete button () to delete the selected transform from the list.

Note:All of the .mst files that are in the same directory as the selected Windows Installer package are automatically listed in this list even if they are not applicable to the selected package. To prevent the inclusion of non-applicable transform files, delete those transforms from the list.

Install Parameters

You can customize how this package is installed by entering parameters in this field. These parameters are applied to msiexec.exe to perform the desired action. Any actions that you enter here will be performed whenever the bundle is installed.

The root parameter, which should not be edited or deleted, is:

/i packagename.msi

By default, the /qn parameter is added to indicate that you want to perform this operation silently (with no user interface). This is the common operating behavior for installing software with ZENworks. Running an operation silently implies that it does not require any user input.

Caution:If this operation requires user input, either remove the /qn parameter, or create a response transform to preconfigure all user input. For more information, see Using Response Transforms.

Note:For additional parameters that can be added, see Additional Install, Uninstall, and Repair Parameters.

Uninstall Parameters

Enter an action that will be performed whenever the bundle is uninstalled.

The root parameter, which should not be edited or deleted, is:

/x packagename.msi

By default, the /qn parameter is added to indicate that you want to perform this operation silently (with no user interface). This is the common operating behavior for installing software with ZENworks. Running an operation silently implies that it does not require any user input.

Caution:If this operation requires user input, either remove the /qn parameter, or create a response transform to preconfigure all user input. For more information, see Using Response Transforms.

Note:For additional parameters that can be added, see Additional Install, Uninstall, and Repair Parameters.

Repair Parameters

Enter an action that will be performed whenever the user chooses to repair the bundle by repairing or reinstalling missing or corrupted files.

The root parameter, which should not be edited or deleted, is:

/f packagename.msi

By default, the /qn parameter is added to indicate that you want to perform this operation silently (with no user interface). This is the common operating behavior for installing software with ZENworks. Running an operation silently implies that it does not require any user input.

Caution:If this operation requires user input, either remove the /qn parameter, or create a response transform to preconfigure all user input. For more information, see Using Response Transforms.

You can also apply any of the following additional parameters after the package name:

p – Reinstalls a file if it is missing
o – Reinstalls a file if it is missing or if an older version of the file is present on the user's system
e – Reinstalls a file if it is missing or if an equivalent or older version of the file is present on the user's system
c – Reinstalls a file if it is missing or if the stored checksum of the installed file does not match the new file's value
a – Forces a reinstall of all files
u or m – Rewrite all required user registry entries
s – Overwrites any existing shortcuts
v – Runs your application from the source and re-caches the local installation package

Note:For additional parameters that can be added, see Additional Install, Uninstall, and Repair Parameters.

Additional Install, Uninstall, and Repair Parameters

The following additional parameters can be entered in the Parameters fields.

Additional Parameters

Parameter

Description

/j [u|m] packagename.msi

/j [u|m] packagename.msi /t <transform list>

/j [u|m] packagename.msi /g

/j <language ID>

Building with the /j <package> option advertises the components of your application on the end user's computer

u – Advertises components only to the current user
m – Advertises components to all users of the computer
g – Specifies language ID
t – Applies a transform to your advertised product

Transforms allow the synchronization of applications across different languages. For example, if you upgrade the English version of your product, you could apply a transform to automatically upgrade the French version of your product.

/L [i|w|e|a|r|u|c|m|p|v|+] <log file>

Building with the /L option specifies the path to the log file. These flags indicate which information to record in the log file:

i – Logs status messages
w –Logs non-fatal warning messages
e – Logs any error messages
a – Logs the commencement of action sequences
r – Logs action-specific records
u – Logs user requests
c – Logs initial user interface parameters
m – Logs out-of-memory messages
p – Logs terminal settings
v – Logs the verbose output setting
+ – Appends to an existing file
* – Is a wildcard character that allows you to log all information (excluding the verbose output setting)

/q [n|b|r|f]

The /q option is used to set the user interface level in conjunction with the following flags:

q or qn – Creates no user interface
qb – Creates a basic user interface

The user interface settings below display a modal dialog box at the end of installation:

qr – Displays a reduced user interface
qf – Displays a full user interface
qn+ – Displays no user interface
qb+ – Displays a basic user interface

/y <filename>

This command calls the DllRegisterServer entry-point function of the DLL or OCX file specified in <filename>.

/z <filename>

This command calls the DllUnregisterServer entry-point function of the DLL or OCX file specified in <filename>.

TRANSFORMS

Use the TRANSFORMS command-line parameter to specify any transforms that you would like applied to your base package. Your transform command-line call might look something like this:

msiexec /i "C:\Directory\ProductName.msi" TRANSFORMS="New Transform 1.mst"

You can separate multiple transforms with a semicolon. Because of this, it is recommended that you do not use semicolons in the name of your transform, as the Windows Installer service will interpret those incorrectly.

Properties

All public properties can be set or modified from the command line. Public properties are distinguished from private properties by the fact that they are in all capital letters. For example, COMPANYNAME is a public property.

To set a property from the command line, use the following syntax: PROPERTY=VALUE.

If you wanted to change the value of COMPANYNAME, you would enter:

msiexec /i "C:\Directory\ProductName.msi" COMPANYNAME="YourCompany"

See Also