This article consists of the following sections:
- Requirements
- Advantages of deployment using command line
- Predefine add-in configuration properties
- Add-in deployment using the command line (with parameters)
- Deploy for ALL USERS (per machine) with predefined URL and Backend version
- Deploy PER USER with URL and backend version
- Add-in deployment using the command line (with TRANSFORM file)
Requirements
Go to System Requirements page on the Add-On Products website to have an overview of System requirements for Resource Central (RC).
NOTE: When you deploy Add-in 4.0 using Command line, you must open the Command Prompt with option “Run as Administrator”.
Advantages of deployment using command line
- It is possible to predefine some add-in configurations such as RC backend URL address, RC backend compatibility.
- It is possible to track the deployment process with an installation log.
Predefine add-in configuration properties
Property Name |
Value |
Note |
|||||||||||||||||||||||||||||||||
RESOURCECENTRAL_URL |
Example: http://RCWebServer/ResourceCentral |
URL address of Resource Central backend |
|||||||||||||||||||||||||||||||||
RC_WEB_VERSION |
|
Define RC backend compatibility for add-in |
|||||||||||||||||||||||||||||||||
LANGUAGE |
|
Define RC backend compatibility for add-in |
|||||||||||||||||||||||||||||||||
ALLUSERS |
1 |
Use this property with value “1” if Add-in is deployed for All users (per machine) |
|||||||||||||||||||||||||||||||||
DEFAULT_LOCATION |
ID of location tree in RC (e.g. ID of root location is 47) |
This property is used to set a default location for the first use of ResourceFinder |
|||||||||||||||||||||||||||||||||
UPDATE_SETTINGS |
|
Control the update settings function in working with backend web service |
Add-in deployment using the command line (with parameters)
1. Deploy for ALL USERS (per machine) with predefined properties
Open the Command Prompt with the option “Run as Administrator” and enter the following command:
msiexec /L*V "log.txt" /i ResourceCentralAddin.32bitv4.00.0056.msi RESOURCECENTRAL_URL="http://RCServerName.domain/ResourceCentral" ALLUSERS="1" RC_WEB_VERSION="4" DEFAULT_LOCATION="47" UPDATE_SETTINGS="1" LANGUAGE="da" /quiet |
In which, you can:
- Change ResourceCentralAddin.32bitv4.00.0056.msi with [path of installer file\name of current installer file] if it is located in another folder.
- Change value of the parameters as you wish to be compatible with configuration of the machine/environment.
2. Deploy PER USER with predefined properties
Open the Command Prompt with the option “Run as Administrator” and enter the following command:
msiexec /L*V "log.txt" /i ResourceCentralAddin.32bitv4.00.0056.msi RESOURCECENTRAL_URL="http://RCServerName.domain/ResourceCentral" RC_WEB_VERSION="4" DEFAULT_LOCATION="47" UPDATE_SETTINGS="1" LANGUAGE="da" /quiet |
In which, you can:
- Change ResourceCentralAddin.32bitv4.00.0056.msi with [path of installer file\name of current installer file] if it is located in another folder
- Change value of the parameters as you wish to be compatible with configuration of the machine/environment.
Add-in deployment using command line (with TRANSFORM file)
NOTE: See How to create a Transform file Knowledge Base article to know how to create a TRANSFORM with ORCA tool.
Copy the installer file (.msi) and .mst file to a folder then open the Command Prompt with option “Run as Administrator” and enter the following command:
msiexec /quiet /L*V "log.txt" /i ResourceCentralAddin.32bitv4.00.0056.msi TRANSFORMS="ALLUSERS_SETTINGS.mst" |
You can change ResourceCentralAddin.32bitv4.00.0056.msi or ALLUSERS_SETTINGS.mst with [path of file\name of current file] if they are located in another folder.
Validation after deployment
- Add-in is loaded into Outlook (My Meetings and ResourceFinder buttons are available in Outlook)
- Settings file is deployed to:
- Per Machine: “ProgramData\Add-On Products\Resource Central\Add-in” folder with all URL, backend version defined.
- Per User: “Users\[Logged-in User]\AppData\Local\Add-on Products\Resource Central\Addin” folder with all URL, backend version defined
Properties
Applies to: RC Add-in 4.0
Reference: TFS #94950
Knowledge base ID: 0208
Last updated: Oct 03, 2017
Rolf Szimnau
Comments