Home » Categories » General

GN: How to do an Unattended Install or Uninstall of a PQ Systems product

Revision Date: 2007-12-07

Problem:

How do I perform an unattended (or silent) install or uninstall of a PQ System product?

Solution:

The install for PQ Systems products is created using InstallAware.

Older versions of PQ product installs used InstallShield - the following information does not apply to these old InstallShield created installs.

Unattended Install

When an unattended (or silent) install is requested, the installation program attempts to install the product without any user interaction. However, in some situations the installation program will request interaction with the user during a silent install:

  1. If a previous instance of the same Major.Minor version of the product exists it will automatically be uninstalled prior to installing the new version. The installation program will prompt the user if a reboot is necessary after uninstalling the previous instance, or an error occurs. In our experience this prompt rarely occurs. However, the prompt will likely occur if the PQ product is being used at the time.
  2. If a needed prerequisite for the product must be installed the prerequisite installation will occur automatically. The installation program will prompt the user if a reboot is necessary after installing the prerequisite, or an error occurs. In our experience this prompt rarely occurs.

In order to install in silent mode you must use the /s command line switch when running the install (as follows):

ProductInstallProgram.exe  /s

If a reboot is needed after the install completes:

  1. HKLMSOFTWAREPQ SystemsRebootNeeded will exist and contain the value 1.
  2. The exit code from the installation program will return 1.

If a reboot is not needed after the install completes:

  1. HKLMSOFTWAREPQ SystemsRebootNeeded will NOT exist.
  2. The exit code from the installation program will return 0.

Unattended Uninstall

In order to uninstall in silent mode you must use the following command line switches when running the install (as follows):

ProductInstallProgram.exe  /s MODIFY=FALSE REMOVE=TRUE UNINSTALL=YES


Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
GN: Link to Chart Images from PowerPoint
Viewed 3419 times since Fri, Jan 22, 2010
GN - Using the PQ Application Cleaner Utility
Viewed 2957 times since Fri, Nov 9, 2007
GN: Couldn’t update; currently locked - error on Netware
Viewed 2117 times since Wed, Nov 14, 2007
GN - Permissions for the PQ Systems registry key
Viewed 2815 times since Fri, Nov 9, 2007
GN: Cannot Read License File due to Data Execution Protection (DEP)
Viewed 2639 times since Fri, Nov 9, 2007
GN: Using the PQ Application Information Utility
Viewed 4740 times since Thu, Mar 8, 2012
GN: Using Dependency Walker to Diagnose ActiveX Component Registration Problems
Viewed 18539 times since Fri, Nov 9, 2007
GN: DAO360.DLL or DAO350.DLL Improperly Installed to Root of Drive on Windows XP
Viewed 7337 times since Fri, Nov 9, 2007
GN: General guidelines for sending e-mail via an SMTP server using PQ software products
Viewed 8095 times since Mon, Jan 16, 2012
GN: PqLicenseMrg.exe Installation Error
Viewed 2542 times since Wed, Oct 28, 2009