Installation
The installation of client-print and service-print is different from one another. However, they do have a set of common prerequisites.
Prerequisites
First, you must install the Customizable Report Pack application from the App Store in the cloud or download it from the homepage if you have an on-premises environment.
Download the Customizable Report Pack for on-premises
Second, you need the installer for the local Windows components, which are the client-print executable or the service-print Windows service.
Client-print
Installation of client-print is covered under the client-print topic.
Service-print
Details about installing the service-print are covered at the link below.
Unattended installation
The ForNAV installer supports command line switches. You can use them to install or update client-print and service-print without anyone clicking through the wizard, for example with a software distribution tool.
These are the switches you will use most often:
| Switch | Description |
|---|---|
/SILENT |
The wizard isn't shown, but a window shows the progress of the installation. |
/VERYSILENT |
Nothing is shown, not even the progress window. |
/SUPPRESSMSGBOXES |
Message boxes aren't shown, and the installer chooses the default answer itself. Only works together with /SILENT or /VERYSILENT. |
/NORESTART |
The installer doesn't restart the computer, even if a restart is needed. |
/LOG="<file>" |
Writes a log file you can check if the installation fails. /LOG without a file name writes the log to the user's TEMP folder. |
/COMPONENTS="<list>" |
Selects which components are installed. All other components are deselected. |
Components
Use /COMPONENTS to choose what to install. Separate several components with a comma, and use a backslash between the parent and the child, as in deployment\print.
| Component | Description |
|---|---|
development |
Development. Installs all components. Can't be combined with deployment. |
deployment |
Deployment. Select one or more of the components below. |
deployment\print |
Direct Print Client (client-print). |
deployment\printservice |
Direct Print and File Service (service-print and the file service). |
deployment\designer |
Designer. |
deployment\reportservice |
Report Service. |
deployment\server |
Server add-in. |
deployment\client |
Client add-in (NAV 2013 and 2013 R2 only). |
designermcp |
Designer MCP Server (experimental). |
For example, this installs both client-print and service-print:
ReportsForNAV_<version>.exe /COMPONENTS="deployment\print,deployment\printservice" /VERYSILENT /SUPPRESSMSGBOXES
Only the components you list are selected. All other components are deselected. If you leave out /COMPONENTS on a new installation, the installer installs all components. When you update an existing installation, the installer uses the components you selected last time.
Fully unattended installation
For an installation where nobody has to answer anything, combine /VERYSILENT and /SUPPRESSMSGBOXES:
ReportsForNAV_<version>.exe /COMPONENTS="deployment\printservice" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /LOG="C:\Temp\fornav-install.log"
Be aware of the following:
- Without
/SUPPRESSMSGBOXES, the installation can stop and wait./SILENTand/VERYSILENThide the wizard, but error messages and other message boxes are still shown. On a machine where nobody is logged in, the installer waits for an answer that never comes. - With
/SUPPRESSMSGBOXES, the installer answers for you. For example, it chooses Abort when a file can't be replaced and Cancel in a retry/cancel prompt, so the installation stops instead of waiting. Check the log file to find out why. /VERYSILENTrestarts the computer without asking if a restart is needed. Add/NORESTARTto prevent this, and restart the computer at a time that suits you. With/SILENT, the installer asks before it restarts, unless/SUPPRESSMSGBOXESis also used.
For switches that only apply to the direct print service, see Installer command line switches.
Updating
When you need to update the local components, see: