PrizmDoc
Unattended Install & Uninstall

## Unattended Install

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

 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. None ServicePassword Required - The password for the ServiceUser. None InstallFolder Optional - The base installation directory for the product. "C:\Prizm" SelectedClientFeatures Optional - This can be set to "ALL" to include the server-side features or set to an empty string to not include them. "ALL"

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):

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.

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\jre6\jre6-windows-x86-64\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 > Starting & Stopping PrizmDoc Server > Windows for more information on stopping and starting the service.
Example
Copy Code
> net start prizm

1. PrizmDoc 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 on Windows:

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