QPR Knowledge Base

Customized Installation

Hide Navigation Pane

Customized Installation

Previous topic Next topic No expanding text in this topic  

Customized Installation

Previous topic Next topic JavaScript is required for expanding text Mail us feedback on this topic!  

Comments (...)

To customize the silent installation, you can supply some of the public properties listed below to customize the behavior of the silent installation. The base command required in all cases is QPR8Setup.exe /s /v"/qn followed by a selection of properties listed below. Remember also to add a closing double quote after defining the properties you want. In addition, make sure that there are no spaces in the /v"/qn part to ensure correct functionality. Note that you can also supply the properties to an normal (i.e. not silent) installation. In that case, omit the /s and /qn options from the base command. In addition, if any properties require values that need to be enclosed in double quotes, you need to escape those double quotes with a preceding backslash to avoid prematurely terminating the string supplied to the /v option. Example: QPR8Setup.exe /s /v"/qn INSTALLDIR=\"C:\Program Files\QPR 8.1\""

 

Note that you can define settings such as server connection strings by having them included in a pre-configured qpr.ini file in the same folder as the QPR8Setup.exe package. In the case such a file exists, it is copied to the installation folder during the installation and the settings included in it are used when the actual settings file created into C:\ProgramData\QPR Software\QPR 8\8.1\Settings in Windows Vista and later versions and <path to All Users profile>\Application Data\QPR Software\QPR 8\8.1\Settings in earlier versions of Windows. However, the file may not get copied properly in the case the installation package is located in a network drive.

 

Properties (note that these are case sensitive, so for example ProductActivation=1 does not work):

PRODUCTACTIVATION=1: Launches the QPR Product Activation Wizard at the end of the installation. Note that only one PRODUCTACTIVATION option can be selected for an installation, so this property cannot coexist with PRODUCTACTIVATION=2 or PRODUCTACTIVATION=3.
PRODUCTACTIVATION=2: Activates a 14-day evaluation license (if allowed) silently at the end of the installation.
PRODUCTACTIVATION=3: Performs a silent activation at the end of the installation provided that there's a properly filled qpr.ini present in the folder containing the QPR8Setup.exe package. See details about the necessary settings below.
NOIISCONFIG=1: Skips the automatic creation of Microsoft IIS virtual directories. This is useful in the case you are using some other web server software and you are having problems with the installation.
NOSERVICE=1: Skips the QPR Service installation. The service is installed by default on server editions of Windows, so you can use this option in the case you want to install the service manually after a silent installation on for instance Windows Server 2003/2008.
ASKSCRIPTFOLDER=1: Requests for the script/CGI-binary folder also when Microsoft IIS is found on the computer. This can be used also in non-silent installation to provide additional control.

 

Example 1: Install QPR 8.1 silently and activate an evaluation license: QPR8Setup.exe /s /v"/qn PRODUCTACTIVATION=2"

 

In the case you want to customize the selection of features installed within a silent installation similarly as you could do in the Select Features dialog in the Custom installation, you can do so by lowering the installation level below the default (100) and adding the desired features using the ADDLOCAL property. Feature names:

PGDevelopmentClient: QPR ProcessGuide Designer
SCDevelopmentClient: QPR ScoreCard Designer
UserManagementClient: QPR User Management Client
QPRAddInForOffice2007: QPR Add-In for Microsoft Office 2007 or 2010. Requires Microsoft .NET Framework 3.5 SP1, VSTO runtime 3.0 SP1 and Office 2007 Primary Operability Assemblies. All of these prerequisites are installed during the QPR 8.1 installation if QPR Add-In for Microsoft Office is selected to be installed and the prerequisites are not installed (Microsoft Office 2010 contains the required assemblies by default, so they are not installed if Microsoft Office 2010 is installed). Note that if both Microsoft Office 2007 and 2010 are installed, QPR Add-in for Microsoft Office 2010 will be installed.
SCApplicationServer: QPR ScoreCard Server
PGApplicationServer: QPR ProcessGuide Server
UserManagementServer: QPR User Management Server
WASAndPlugins: QPR Web Application Server.
WASScripts: QPR Web Application Server Scripts (CGI scripts and binaries and ISAPI DLL)
WASWebContents: QPR Web Application Server Web Contents
WASWebServices: QPR Web Services Foundation. Requires Microsoft .NET Framework 3.5 SP1, which is installed during the QPR 8.1 installation if QPR Web Services Foundation is selected to be installed and the framework cannot be found on the computer.
PGDesktopIcon: Desktop icon for QPR ProcessGuide
SCDesktopIcon: Desktop icon for QPR ScoreCard
PortalDesktopIcon: Desktop icon for QPR Portal
WLTShortcut: Start menu shortcut for QPR Product Activation
ConfigShortcut: Start menu shortcut for QPR Configuration Manager

 

To define installation location for these, provide values to the INSTALLDIR (all features except for WASScripts and WASWebcontents), CGI (WASScripts), and WASWEB (WASWebContents) properties. Note that with web servers other than Microsoft IIS you need to define a value for WASWEB if you define a value for CGI and vice versa. For Microsoft IIS the value is set to be "Scripts" under the folder defined by WASWEB unless also ASKSCRIPTFOLDER=1 is provided.

 

 

Example 2: Install QPR 8.1 silently with only QPR ScoreCard Designer (including the Desktop icon) as well as QPR Web Application Server and necessary scripts and web contents to defined locations and launch the product activation at the end of the installation: QPR8Setup.exe /s /v"/qn INSTALLLEVEL=10 ADDLOCAL=SCDevelopmentClient,SCDesktopIcon,WASAndPlugins,WASWebContents,WASScripts INSTALLDIR=\"C:\Program Files\QPR 8 Custom\" WASWEB=\"C:\inetpub\wwwroot\qpr81\"  PRODUCTACTIVATION=2"

 

 

Requirements for silent activation

 

In order to use the PRODUCTACTIVATION=3 property succesfully, the following settings need to be present in the qpr.ini file located in the same folder with the QPR8Setup.exe package. Substitute any possible whitespaces with a plus sign +.

 

[WLT Modes]

UseSilentForTransient=1

UseSilentForFirstActivation=1

 

[WLT Customer Info]

CustomerCode=<valid product activation code>

Email=<valid e-mail>

FirstName=<name>

LastName=<name>

Country=<country>

Organization=<organization>

 

 

Comments (...)