PQ Systems Knowledge Base

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. HKLM\SOFTWARE\PQ Systems\RebootNeeded 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. HKLM\SOFTWARE\PQ Systems\RebootNeeded 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


Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Continue