PrizmDoc Viewer v13.10 Release - Updated
Unattended Install & Uninstall
Administrator Guide (Self-Hosted) > Install PrizmDoc Server > Install on Windows > Unattended Install & Uninstall

Unattended Install

The PrizmDoc Server Windows installer can be installed unattended, however certain properties must be set:

IMPORTANT: PrizmDoc requires a clean installation when migrating from a version earlier than v12.0. You must first uninstall any previous versions of PrizmDoc and reboot your system. Only then should you install PrizmDoc v12.0 or later. Make sure you back up your configuration files before uninstalling any previous versions of PrizmDoc. Once you have installed v12.0, you do not need to uninstall if you want to migrate to v12.1 or later.
Property Description Default
ServiceUser Required - The service account user name. This defines what user the PrizmDoc Server should run as. It should be in the format DOMAIN\USER. If you are using the Microsoft Office Conversion (MSO) add-on, please make sure that the required "ServiceUser" parameter value corresponds to a real user account with Administrator rights. Running PrizmDoc Server under the LocalSystem user or another Microsoft Windows integrated service account is not supported for this option. None
ServicePassword Required - The password for the ServiceUser. None
InstallFolder Optional - The base installation directory for the product. "C:\Prizm"

To start the unattended install:

  1. The PrizmDocServer.exe can be used to launch the installer and specify the above parameters in silent mode. Open a command line prompt as an Administrator, change to the folder where the .exe is located, and run the following (note that the values shown below for ServiceUser and ServicePassword are examples, and you will need to change them to specify your ServiceUser and ServicePassword):
     Example
    Copy Code
    > PrizmDocServer.exe ServiceUser=accusoft.com\PrizmUser ServicePassword=pdpassword -s -l output.log
    

The -s flag is required to trigger silent mode and prevent the UI from opening. Leaving this out will open the UI.

The -l output.log flag is optional. If specified, it will output a log of the entire install process to a file using the specified name for the filename. For a complete install, this will output 3 files. If the install fails, include these files in bug reports.

  1. You may wish to run this with the start command to wait for completion, otherwise the install will start in the background and on a console or script, it will return immediately.
    Example 
    Copy Code
    > start /wait PrizmDocServer.exe ServiceUser=accusoft.com\PrizmUser ServicePassword=pdpassword -s -l output.log
    
  1. After which the PLU can be used to retrieve a license, for example:
Example
Copy Code
C:\Prizm\java\jre8\bin\java.exe -jar C:\Prizm\plu\plu.jar deploy get C:\path\to\License_Config.txt "License Solution Name"
For more details on command line parameters to the licensing utility, refer to the Prizm License Utility section Command Line Mode.
  1. Next, the service needs to be started. See the Getting Started with PrizmDoc Viewer > Starting & Stopping PrizmDoc Server > Windows for more information on stopping and starting the service.
Example
Copy Code
> net start prizm
  1. PrizmDoc Server should now be installed, licensed and started.
When installing from the command line on Windows, the use of 8.3 notation to specify the install directory is not supported. While this may result in an error free install, some services may not start as expected.

Unattended Uninstall

You can use the -u flag as shown below to silently uninstall PrizmDoc Server on Windows:

Example
Copy Code
> PrizmDocServer.exe -s -u -l output.log