Search:     Advanced search

Command line installing with the WinZip MSI file

Article ID: 229
Last updated: 12 Aug, 2014
Views: 49115

The information in this article complements the article How do I customize my WinZip MSI? It provides examples and gives additional detail regarding information in the Installing WinZip with limited user involvement section.

Windows Installer (msiexec.exe) is responsible for interpreting installation packages (MSI files) and installing applications. Installing an application using an MSI file can be done in a number of ways including doing so by a Group Policy, by manually installing, or by using System Center Configuration Manager (SCCM which was formerly SMS). If the method you choose involves using a command line you will need to know the correct syntax.

In basic terms, Microsoft lists the syntax for msiexec.exe as follows:

msiexec /Option <Required Parameter> [Optional Parameter]

The first Option you must include would be your install option. Of those that are offered with msiexec.exe, this article will deal with the install ( /i ) and uninstall ( /x ) options. Those who are advanced with using msiexec from the command line should note that WinZip does not support the Advertise option.

After the Install Option you must include the MSI file. If the MSI file is located in the same folder as that from which your command line is running you need only list its filename. Otherwise you will either need to list its local path, such as C:\Install_files\winzipxxx.msi, or its network path, such as \\server\share\Install_files\winzipxxx.msi.

Of the remaining msiexec options, Display Options and Public Properties are relevant. The WinZip install does NOT necessitate a restart by default.

For Display Options, Microsoft provides the following for limited user involvement:

If you have edited your WinZip MSI file properties, installing using the parameters above will honor those edited properties. If you have created one or more transforms to handle your customizations, you would need to add the following to your command line:

transforms=filename.mst

If you would rather not edit the MSI file properties directly or create and use transforms, you can force Windows Installer to use Public Property values that you specify on the command line. For instance, if you would like to prevent the WinZip desktop shortcut from being installed you could include ADDDESKTOPICON=0 on your command line.

Note: The INSTALLCMD property has a value that would be one or more switches. If you will be specifying a value for INSTALLCMD on the command line you will need to enclose the value with double quotes as there are spaces between these switches and forward slashes are involved. For example, if you want to disable the Check for Updates feature and you would also like prevent the Tip of the Day from displaying, you would use INSTALLCMD="/noc4u /notip /autoinstall".

Examples

If you have any questions about this information please email Technical Support.

Related Articles:
How do I customize my WinZip MSI?
How do I install WinZip multi-user licenses in a networked environment?

This article was:   Helpful | Not Helpful
Attached files
file KB229.pdf (16 kb)

Prev   Next
Error message - The system administrator has set policies to...     What does "This installation package could not be opened" mean?

RSS