Force (FORCE)

Prev Next

FORCE controls whether an upgrade of the SysTrack agent changes the installed property values.

WARNING: With FORCE=1, the upgrade uses the values on the command line. Every property that FORCE controls and that you leave out of the command line goes back to its default value. For example, CACHEDMODE and RUNONPARENT go back to 0. Add every property that you want to keep, for example CACHEDMODE, POOLDB, POOLNAME, RUNONPARENT, POOLDB_LOGFOLDER, and POOLDB_WRITEFOLDER.

  1. Default value is 0.

  2. Used during Upgrade only and to change the currently installed product’s property values for CONFIGNAME and CACHEDMODE, POOLNAME, POOLDB, POOLDB_LOGFOLDER, POOLDB_WRITEFOLDER, RUNONPARENT, PROXYCONNECTIONHUB, AUTODETECTPROXY, AUTOCONFIGSCRIPT, HTTPSPROXY, CONTEXT.

  3. If FORCE=0 or the property is not set in the command line argument because the default is 0, the Upgrade process will ignore CONFIGNAME, CACHEDMODE, POOLNAME, POOLDB, POOLDB_LOGFOLDER, POOLDB_WRITEFOLDER, RUNONPARENT, PROXYCONNECTIONHUB, AUTODETECTPROXY, AUTOCONFIGSCRIPT, HTTPSPROXY, CONTEXT property values in the command line and NOT change the currently installed product’s property value. A typical Upgrade will not change the property setting.

  4. If FORCE=1 is used on the command line argument, the Upgrade process will be forced to use the command line properties (CONFIGNAME, CACHEDMODE, POOLNAME, POOLDB, POOLDB_LOGFOLDER, POOLDB_WRITEFOLDER, RUNONPARENT, PROXYCONNECTIONHUB, AUTODETECTPROXY, AUTOCONFIGSCRIPT, HTTPSPROXY, CONTEXT) values to change the currently installed product’s property value. Default values are used if not set.

An upgrade never keeps LANGUAGE and INSTALLDIR. Add them to every upgrade command if you don't use the defaults.

Example:

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REBOOT=R FORCE=1 CONFIGNAME="<EnterConfigurationNameHere>" LANGUAGE=<ENTERLANGUAGECODE> INSTALLDIR="<enter path>\SysTrack\LsiAgent" /L*v <enter path to an existing temp folder>\silentupgradeclient.log