PrizmDoc® v14.2 Release - Updated
PrizmDoc / Administrator Guide / PrizmDoc Server / Installing / Install on Windows / Unattended Install & Uninstall
In This Topic
    Unattended Install & Uninstall
    In This Topic

    Introduction

    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
    DatabaseConnectionString Required - The connection string to the central database. None
    InstallFolder Optional - The base installation directory for the product. "C:\Prizm"

    Unattended Install

    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, ServicePassword and DatabaseConnectionString are examples, and you will need to change them to specify your ServiceUser, ServicePassword and DatabaseConnectionString):

      Example

      > PrizmDocServer.exe ServiceUser=accusoft.com\PrizmUser ServicePassword=pdpassword DatabaseConnectionString=mysql://prizm-user:password@prizm-server.database.host:3306/prizmdoc_server_db -s -l output.log
      
      

      NOTE: 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.

    2. 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

       > start /wait PrizmDocServer.exe ServiceUser=accusoft.com\PrizmUser ServicePassword=pdpassword DatabaseConnectionString=mysql://prizm-user:password@prizm-server.database.host:3306/prizmdoc_server_db -s -l output.log
      
      
    3. If you have a paid license, configure your license (see Licensing for more information). If you are evaluating the product, you can skip this step.

    4. Finally, start the service. See the Getting Started with PrizmDoc > Starting & Stopping PrizmDoc Server > Windows for more information on stopping and starting the service.

      Example

       > net start prizm
      
      
    5. PrizmDoc Server should now be installed, licensed and started.

      NOTE: 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.

    Silent Uninstall

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

    Example

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