PrizmDoc Viewer v13.6 - Updated
Unattended Install & Uninstall
Get Started! > 2 - Install PrizmDoc Server (Self-Hosted only) > Install on Windows > Unattended Install & Uninstall

Unattended Install

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

PrizmDoc Viewer requires a clean installation. You must first uninstall any previous versions of PrizmDoc Viewer and reboot your system. Then you can install PrizmDoc Viewer.
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