Installs or uninstalls deployments on WIndows.
msiexec [ options ] [ SQLANYDIR=path ]
Option | Description |
---|---|
/log log-filename |
This parameter tells the Microsoft Windows Installer to log operations to a file (for example, sqlany12.log). The log file is useful for detecting problems. |
/package package-name |
This parameter tells the Microsoft Windows Installer to install the specified package (for example, sqlany12.msi). |
/qn |
This parameter tells the Microsoft Windows Installer to operate in the background with no user interaction. |
/uninstall package-name | product-code |
This parameter tells the Microsoft Windows Installer to uninstall the product associated with the specified MSI file or product code. The product-code is created when the Deployment Wizard is run to create the deployment package. |
SQLANYDIR=path |
The value of this parameter sets the default path to where the software is to be installed. This option is useful for silent installs. It is ignored for /uninstall. |
The /qn option can be used to perform the operation without user messages. On Windows Vista and later versions of Windows, administrator privilege is required to install or uninstall software. When the /qn option is used, the automatic request for administrator privilege is suppressed.
The following command installs a deployment file.
msiexec /package sqlany12.msi |
The following command performs a silent install of the deployment file to the specified folder and logs the results to a file.
msiexec /qn /package sqlany12.msi /log sqlany12.log SQLANYDIR=c:\sa12 |
The following command performs a silent uninstall using the specified package and logs the results to a file.
msiexec /qn /uninstall sqlany12.msi /log sqlany12.log |
The following command performs a silent uninstall using the specified product code.
msiexec.exe /qn /uninstall {19972A31-72EF-126F-31C7-5CF249B8593F} |
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |