Advanced Install Cached Mode

Prev Next

Use this procedure to install, reinstall, or upgrade the SysTrack cloud agent in Cached Mode on the golden image of non-persistent desktops. For the registry check and the cleanup of the golden image after the installation, see SysTrack Agent in Cached Mode.

Golden image based non-persistent Cached Mode

Prerequisites must be installed before SysTrack Cloud Edition.

Non-persistent desktops contain one or more desktops automatically created and customized by virtual machine templates. Users are allocated any desktop currently available in the pool, which may differ between sessions. This desktop is assigned dynamically each time the user connects.

Advanced installation steps are only necessary for use of the SysTrack cloud agent under certain circumstances, generally non-persistent pooled image-based deployments.

Cached Mode doesn't need a file share. On the endpoint, the agent keeps a working copy of the database in the MDB folder of the agent install folder.

Install, reinstall, upgrade, and uninstall must take place on the golden image for the Non-persistent desktop.

First-time (Advanced “Cached Mode”) installation – SysTrackCloudEdition.msi

Properties that you don't set use their default values. All properties are listed in the section Parameter Information: Read Command Line Properties on this page.

  1. On the golden image, open a command prompt with Run as administrator.

  2. Start the command with Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi".

  3. Add CACHEDMODE=1 to toggle agent behavior to periodically cache the child database on the master and to cache at device shutdown. When the device is started, the cached database will be fetched from the associated master and agent collection will begin with or without an associated user session. Otherwise, the default value 0 will be used.

  4. Add REBOOT=R to suppress automatic and certain prompts for system restarts.

  5. If the install path is not the default install path, add INSTALLDIR="<enter path>\SysTrack\LsiAgent". Place double quotes around the path. The default install path is C:\Program Files (x86)\SysTrack\LsiAgent on 64-bit Windows and C:\Program Files\SysTrack\LsiAgent on 32-bit Windows.

  6. To assign a named configuration, add CONFIGNAME="<EnterConfigurationName>". Place double quotes around the value. If you leave it out, the value is empty and the default configuration is used.

  7. Optional: add RUNONPARENT=<EnterValue>.

    • RUNONPARENT=0 (default) means the agent will exit on the parent image.

    • RUNONPARENT=1 means the agent will run on the parent image.

  8. Optional: add the proxy properties that you need:

    • PROXYCONNECTIONHUB="<EnterProxyConnectionHubSystemName>" assigns the name of the ProxyConnectionHub system (if applicable), for example PROXYCONNECTIONHUB=<servername>.<domain>.org. The default value is empty.

    • AUTODETECTPROXY=1 assigns the preferred proxy setting: use autodetect. Assign 1 if true, 0 otherwise. The default value is 0.

    • AUTOCONFIGSCRIPT="<EnterAddressOfAPacFile>" assigns the preferred proxy setting: the address of a .pac file to get proxy information, for example AUTOCONFIGSCRIPT=http://<server>.<domain>.org/test.pac. The default value is empty.

    • HTTPSPROXY="<EnterAddressForPreferredHTTPSProxy>" assigns the preferred proxy setting: the address for the preferred HTTPS proxy, for example HTTPSPROXY=127.0.0.1:443. The default value is empty.

  9. To set the language, add LANGUAGE=<ENTERLANGUAGECODE>. LANGUAGE is optional. It sets the language of the Client Tray App. The default is EN. Use an uppercase code; with any other value, the tray app shows English.

    • Arabic: LANGUAGE=AR

    • Chinese: LANGUAGE=ZH

    • English (default): LANGUAGE=EN

    • French: LANGUAGE=FR

    • German: LANGUAGE=DE

    • Japanese: LANGUAGE=JA

    • Portuguese: LANGUAGE=PT

    • Spanish: LANGUAGE=ES

  10. Optional: to write a verbose log, add /L*v <enter path to an existing temp folder>\silentinstallclient.log.

  11. Run the command.

Command with all options:

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

First-time "Cached Mode" install (default install path, no configuration name, no logging):

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REBOOT=R CACHEDMODE=1

First-time "Cached Mode" install (not default install path, no configuration name, with logging):

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REBOOT=R INSTALLDIR="D:\DifferentFolder\SysTrack\LsiAgent" CACHEDMODE=1 /L*v C:\temp\silentinstallclient.log

IMPORTANT: Never, under any circumstances, copy and paste command lines from this or any document into a command prompt window. There are known issues with the characters not lining up correctly and in almost all cases, the command line will not function correctly. It’s more than likely that the neutral quotation marks and neutral double quotation marks get converted during the paste operation into curly quotation marks and curly double quotation marks which will not function as desired when applied to commands on the command line.

Reinstall (Advanced “Cached Mode”) – SysTrackCloudEdition.msi

WARNING: A reinstall doesn't keep the installed values. Every property that you leave out is set to its default value. For example, without CACHEDMODE=1 the agent no longer runs in Cached Mode, and RUNONPARENT goes back to 0. Add CACHEDMODE=1 and every property that you want to keep.

The INSTALLDIR property is not valid for a Reinstall.

  1. On the golden image, open a command prompt with Run as administrator.

  2. Start the command with Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REINSTALL=ALL.

  3. Add CACHEDMODE=1 to toggle agent behavior to periodically cache the child database on the master and to cache at device shutdown. When the device is started, the cached database will be fetched from the associated master and agent collection will begin with or without an associated user session. Otherwise, the default value 0 will be used.

  4. Add REBOOT=R to suppress automatic and certain prompts for system restarts.

  5. To assign a named configuration, add CONFIGNAME="<EnterConfigurationName>". If you leave it out, the value is empty and the default configuration is used.

  6. Add RUNONPARENT=<EnterValue>.

    • RUNONPARENT=0 (default) means the agent will exit on the parent image.

    • RUNONPARENT=1 means the agent will run on the parent image.

  7. Add the proxy properties that you use (PROXYCONNECTIONHUB, AUTODETECTPROXY, AUTOCONFIGSCRIPT, HTTPSPROXY), in the same form as for a first-time installation. A proxy property that you leave out is set to its default value: 0 for AUTODETECTPROXY, empty for the others.

  8. To set the language, add LANGUAGE=<ENTERLANGUAGECODE>. LANGUAGE is optional. It sets the language of the Client Tray App. The default is EN. Use an uppercase code; with any other value, the tray app shows English. The language codes are listed in the first-time installation steps on this page.

  9. Optional: to write a verbose log, add /L*v <enter path to an existing temp folder>\silentreinstallclient.log.

  10. Run the command.

Command with all options:

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REINSTALL=ALL REBOOT=R LANGUAGE=<ENTERLANGUAGECODE> CONFIGNAME="<EnterConfigurationNameHere>" CACHEDMODE=1 /L*v <enter path to an existing temp folder>\silentreinstallclient.log

Reinstall "Cached Mode" (no configuration name, no logging):

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REINSTALL=ALL REBOOT=R CACHEDMODE=1

Reinstall "Cached Mode" (no configuration name, with logging):

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REINSTALL=ALL REBOOT=R CACHEDMODE=1 /L*v C:\temp\silentreinstallclient.log

IMPORTANT: Never, under any circumstances, copy and paste command lines from this or any document into a command prompt window. There are known issues with the characters not lining up correctly and in almost all cases, the command line will not function correctly. It’s more than likely that the neutral quotation marks and neutral double quotation marks get converted during the paste operation into curly quotation marks and curly double quotation marks which will not function as desired when applied to commands on the command line.

Upgrade (Advanced “Cached Mode”) – SysTrackCloudEdition.msi

Upgrade and Keep the Installed Settings

An upgrade without FORCE=1 keeps the installed values of CONFIGNAME, CACHEDMODE, PROXYCONNECTIONHUB, AUTODETECTPROXY, AUTOCONFIGSCRIPT, HTTPSPROXY, and RUNONPARENT. You don't need to add FORCE or these properties. If you add them without FORCE=1, the installer ignores them.

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

  1. On the golden image, open a command prompt with Run as administrator.

  2. Start the command with Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi".

  3. Add REBOOT=R to suppress automatic and certain prompts for system restarts.

  4. If the install path is not the default install path, add INSTALLDIR="<enter path>\SysTrack\LsiAgent". Place double quotes around the path.

  5. To set the language, add LANGUAGE=<ENTERLANGUAGECODE>. LANGUAGE is optional. It sets the language of the Client Tray App. The default is EN. Use an uppercase code; with any other value, the tray app shows English. The language codes are listed in the first-time installation steps on this page.

  6. Optional: to write a verbose log, add /L*v <enter path to an existing temp folder>\silentupgradeclient.log.

  7. Run the command.

Command with all options:

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

Upgrade "Cached Mode" (default install path, keep current CONFIGNAME and CACHEDMODE settings, no logging):

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REBOOT=R

Upgrade "Cached Mode" (not default install path, keep current CONFIGNAME and CACHEDMODE settings, with logging):

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REBOOT=R INSTALLDIR="D:\DifferentFolder\SysTrack\LsiAgent" /L*v C:\temp\silentupgradeclient.log

IMPORTANT: Never, under any circumstances, copy and paste command lines from this or any document into a command prompt window. There are known issues with the characters not lining up correctly and in almost all cases, the command line will not function correctly. It’s more than likely that the neutral quotation marks and neutral double quotation marks get converted during the paste operation into curly quotation marks and curly double quotation marks which will not function as desired when applied to commands on the command line.

Upgrade and Change the Installed Settings

WARNING: With FORCE=1, the upgrade uses the values on the command line. Properties that you leave out go back to their default values. For example, CACHEDMODE and RUNONPARENT go back to 0, and the agent no longer runs in Cached Mode. Add CACHEDMODE=1 and every property that you want to keep.

  1. On the golden image, open a command prompt with Run as administrator.

  2. Start the command with Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" FORCE=1. FORCE=1 makes the installer use the values of CONFIGNAME, CACHEDMODE, PROXYCONNECTIONHUB, AUTODETECTPROXY, AUTOCONFIGSCRIPT, HTTPSPROXY, and RUNONPARENT on the command line.

  3. Add CACHEDMODE=1 to toggle agent behavior to periodically cache the child database on the master and to cache at device shutdown. When the device is started, the cached database will be fetched from the associated master and agent collection will begin with or without an associated user session. Otherwise, the default value 0 will be used.

  4. To assign a named configuration, add CONFIGNAME="<EnterConfigurationName>". If you leave it out, the value is empty and the default configuration is used.

  5. Add RUNONPARENT=<EnterValue>.

    • RUNONPARENT=0 (default) means the agent will exit on the parent image.

    • RUNONPARENT=1 means the agent will run on the parent image.

  6. Add the proxy properties that you use (PROXYCONNECTIONHUB, AUTODETECTPROXY, AUTOCONFIGSCRIPT, HTTPSPROXY), in the same form as for a first-time installation. A proxy property that you leave out is set to its default value: 0 for AUTODETECTPROXY, empty for the others.

  7. Add REBOOT=R to suppress automatic and certain prompts for system restarts.

  8. If the install path is not the default install path, add INSTALLDIR="<enter path>\SysTrack\LsiAgent". Place double quotes around the values assigned to INSTALLDIR and CONFIGNAME.

  9. To set the language, add LANGUAGE=<ENTERLANGUAGECODE>. LANGUAGE is optional. It sets the language of the Client Tray App. The default is EN. Use an uppercase code; with any other value, the tray app shows English. The language codes are listed in the first-time installation steps on this page.

  10. Optional: to write a verbose log, add /L*v <enter path to an existing temp folder>\silentupgradeclient.log.

  11. Run the command.

Command with all options:

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

Upgrade "Cached Mode" (default install path, change current CACHEDMODE and CONFIGNAME, no logging):

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REBOOT=R FORCE=1 CONFIGNAME="<EnterConfigurationNameHere>" CACHEDMODE=1

Upgrade "Cached Mode" (not default install path, change current CACHEDMODE and CONFIGNAME, with logging):

Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REBOOT=R FORCE=1 CONFIGNAME="<EnterConfigurationNameHere>" CACHEDMODE=1 INSTALLDIR="D:\DifferentFolder\SysTrack\LsiAgent" /L*v C:\temp\silentupgradeclient.log

IMPORTANT: Never, under any circumstances, copy and paste command lines from this or any document into a command prompt window. There are known issues with the characters not lining up correctly and in almost all cases, the command line will not function correctly. It’s more than likely that the neutral quotation marks and neutral double quotation marks get converted during the paste operation into curly quotation marks and curly double quotation marks which will not function as desired when applied to commands on the command line.

Parameter Information: Read Command Line Properties

All property names must be UPPERCASE:

  • REBOOT=R: to suppress automatic and certain prompts for system restarts. By default, REBOOT is not set.

  • REINSTALL=ALL: Required for Reinstall only.

  • CONFIGNAME="<EnterConfigurationName>": to assign a named configuration. The default value is empty: the default configuration is used.

  • PROXYCONNECTIONHUB=<servername>.<domain>.org: assign name of the ProxyConnectionHub system (if applicable). Optional. The default value is empty.

  • AUTODETECTPROXY=1 or 0 (default is 0): assign preferred proxy setting: whether to use autodetect. Optional.

  • AUTOCONFIGSCRIPT=http://<server>.<domain>.org/test.pac: assign preferred proxy setting: the address of a *.pac file to get proxy information from. Optional. The default value is empty.

  • HTTPSPROXY=127.0.0.1:443: assign preferred proxy setting: the address for the preferred HTTPS proxy. Optional. The default value is empty.

  • RUNONPARENT: Optional for “Cached Mode”. The default value is 0.

  • CACHEDMODE: Required for “Cached Mode” only. The default value is 0.

  • LANGUAGE is optional. It sets the language of the Client Tray App. The default is EN. Use an uppercase code; with any other value, the tray app shows English.

  • FORCE: Required for Upgrades only when command line properties CONFIGNAME, CACHEDMODE, PROXYCONNECTIONHUB, AUTODETECTPROXY, AUTOCONFIGSCRIPT, HTTPSPROXY, RUNONPARENT are to be used.

    • FORCE=1: forces the Upgrade process to use the values of CONFIGNAME, CACHEDMODE, PROXYCONNECTIONHUB, AUTODETECTPROXY, AUTOCONFIGSCRIPT, HTTPSPROXY, and RUNONPARENT on the command line to change the currently installed values. A property that you leave out goes back to its default value: 0 for CACHEDMODE, RUNONPARENT, and AUTODETECTPROXY, empty for the others.

    • FORCE=0: not required because the default is 0.

  • INSTALLDIR: Required for First-time and Upgrade installations and if not using the default install path. The default install path is C:\Program Files (x86)\SysTrack\LsiAgent on 64-bit Windows and C:\Program Files\SysTrack\LsiAgent on 32-bit Windows.

Command line switches:

  • /qn – (q)silent mode (no user interaction); (n)no user interface

  • /i – install

  • /L*v – verbose logging (optional): The L in L*v may use a lower case (l).

Either installation type will take a few minutes to complete.

If you are performing a silent installation (using the /qn switch), a good way of knowing if the installation is still running would be to look into the Task Manager. There, you should see multiple listings of “msiexec.exe”. And, if you ran the MSI installer with logging (using the /L*v switch), not only will the log be created, but inside toward the bottom of the information, will display whether the installation was a success or failure.

To determine if a system reboot is needed, simply add the /L*v switch to create a log file when performing a silent mode installation and search for entries that indicate a system reboot is required. Key words to search for are: System restart and Reboot. Results: Info 1903.Scheduling reboot operation: Deleting file c:\Config.Msi\3c4d50f.rbf. Must reboot to complete operation. MSI (s) (EC:A0) [16:38:48:595]: The Windows Installer initiated a system restart to complete or continue the configuration of 'Systems Management Agent'. Property(S): MsiSystemRebootPending = 1