Options.xml schema elements
The following sections describe the elements found in the
Options.xml
schema file.BaseUrlVpsList
This element creates the list of organizations that appear in the System selection window of the MSI.
Example
<Element baseUrl="https://alerts4d.athoc.com/config/baseurl.asp" providerId="1111111" label="Organization Name" />
Attributes
baseUrl
: The full Base URL of the server where the Provider is: “http[s]://[server_name]/config/baseurl.asp.”providerId
: The number of the organization.label
: The value that appears in the MSI window.UpgradeCodes
Optional. The UpgradeCodes element is used when upgrading an existing installation of the desktop app.
UpgradeGUID
The UpgradeGUID (or UpgradeCode) of the installed client to upgrade.
Editions
Note the difference between this node and EditionName (described below under SystemName.)
Deprecated. See the EditionName element.
EditionName
This element is a child of the Editions element. Each EditionName element will be searched for and uninstalled if present.
ProductName
This element is displayed in the MSI window. This element is number 2 in the following image.
SystemName
This element is displayed in the MSI window. This element is numbers 3 and 4 in the following image.
EditionName
The application name of the desktop app. For example,
AtHoc
Gov. This element is item 1 in the image above.ServerProductName:
BlackBerry AtHoc
This element is displayed in the MSI window. This element is always displayed as “
BlackBerry AtHoc
."ManualSelection
This element provides the user interface that allows the user to input the Base URL and Provider ID. Valid values are " yes" or "no." These values are case insensitive. The default is "no."
DeepCleaning
This element determines whether or not deep cleaning of existing client installations is performed.
Valid values are "no" and "NO." These values are case sensitive. Any value other than “NO” or “no” will enable Deep Cleaning.
There are two custom actions involved in Deep Cleaning, both perform identical operations to search for remnants of existing clients:
- DetectOldVersions: Runs before UninstallOldVersions, and returns 3 (abort) if remnants of previous installations are found.
- UninstallOldVersions: Runs after DetectOldVersions. This element attempts to uninstall and clean up all remnants of existing clients listed under AcceptableEditions.
DetectOldVersions causes the MSI to show a 1603 result code and log an installation failure even though the client functions normally. For this reason, the DeepCleaning element has been disabled in the installer.
UninstallOption
Optional. This element provides a way to specify whether or not users can uninstall the client from the standard Windows UI. Valid values are "yes" and "no." These values are case insensitive. The default is "yes."
This value is overridden by the UNINSTALLOPTION value in the
run.bat
file.ScheduleReboot
Optional. This element provides a mechanism to cause the machine to reboot after installing the client. Valid values are "yes" and "no." These values are case insensitive. The default value is "no."
BaseUrlVpsListHeaderText
Optional. Default: none. The text to display above the list of organizations instead of the default “Select Your System.” This element is item 5 in the MSI image below.
ConnectionInstructions
This element provides a way to modify the text. This element is item 6 in the image below.
AcceptableEditions
This element provides a list of
AtHoc
desktop client names that the code will look for and attempt to uninstall if Deep Cleaning is enabled. The code performs Deep Cleaning on each edition in this list.If this node is empty, then a default list of edition names in
CallUninstaller.cpp
is used to perform the uninstallalation and deep cleaning operations (acceptableEditionNameSet).PackageDSWtoMsi fails if this node is not present.
EditionName
(Subnode of AcceptableEditions.) This element specifies the names of different editions of the
BlackBerry AtHoc
desktop app. There are no spaces in the names.