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.
On the golden image, open a command prompt with Run as administrator.
Start the command with
Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi".Add
CACHEDMODE=1to 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.Add
REBOOT=Rto suppress automatic and certain prompts for system restarts.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 isC:\Program Files (x86)\SysTrack\LsiAgenton 64-bit Windows andC:\Program Files\SysTrack\LsiAgenton 32-bit Windows.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.Optional: add
RUNONPARENT=<EnterValue>.RUNONPARENT=0(default) means the agent will exit on the parent image.RUNONPARENT=1means the agent will run on the parent image.
Optional: add the proxy properties that you need:
PROXYCONNECTIONHUB="<EnterProxyConnectionHubSystemName>"assigns the name of the ProxyConnectionHub system (if applicable), for examplePROXYCONNECTIONHUB=<servername>.<domain>.org. The default value is empty.AUTODETECTPROXY=1assigns 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 exampleAUTOCONFIGSCRIPT=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 exampleHTTPSPROXY=127.0.0.1:443. The default value is empty.
To set the language, add
LANGUAGE=<ENTERLANGUAGECODE>.LANGUAGEis 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=ARChinese:
LANGUAGE=ZHEnglish (default):
LANGUAGE=ENFrench:
LANGUAGE=FRGerman:
LANGUAGE=DEJapanese:
LANGUAGE=JAPortuguese:
LANGUAGE=PTSpanish:
LANGUAGE=ES
Optional: to write a verbose log, add
/L*v <enter path to an existing temp folder>\silentinstallclient.log.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.logFirst-time "Cached Mode" install (default install path, no configuration name, no logging):
Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REBOOT=R CACHEDMODE=1First-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.logIMPORTANT: 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=1the agent no longer runs in Cached Mode, andRUNONPARENTgoes back to 0. AddCACHEDMODE=1and every property that you want to keep.
The INSTALLDIR property is not valid for a Reinstall.
On the golden image, open a command prompt with Run as administrator.
Start the command with
Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REINSTALL=ALL.Add
CACHEDMODE=1to 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.Add
REBOOT=Rto suppress automatic and certain prompts for system restarts.To assign a named configuration, add
CONFIGNAME="<EnterConfigurationName>". If you leave it out, the value is empty and the default configuration is used.Add
RUNONPARENT=<EnterValue>.RUNONPARENT=0(default) means the agent will exit on the parent image.RUNONPARENT=1means the agent will run on the parent image.
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 forAUTODETECTPROXY, empty for the others.To set the language, add
LANGUAGE=<ENTERLANGUAGECODE>.LANGUAGEis 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.Optional: to write a verbose log, add
/L*v <enter path to an existing temp folder>\silentreinstallclient.log.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.logReinstall "Cached Mode" (no configuration name, no logging):
Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REINSTALL=ALL REBOOT=R CACHEDMODE=1Reinstall "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.logIMPORTANT: 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.
On the golden image, open a command prompt with Run as administrator.
Start the command with
Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi".Add
REBOOT=Rto suppress automatic and certain prompts for system restarts.If the install path is not the default install path, add
INSTALLDIR="<enter path>\SysTrack\LsiAgent". Place double quotes around the path.To set the language, add
LANGUAGE=<ENTERLANGUAGECODE>.LANGUAGEis 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.Optional: to write a verbose log, add
/L*v <enter path to an existing temp folder>\silentupgradeclient.log.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.logUpgrade "Cached Mode" (default install path, keep current CONFIGNAME and CACHEDMODE settings, no logging):
Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" REBOOT=RUpgrade "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.logIMPORTANT: 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,CACHEDMODEandRUNONPARENTgo back to 0, and the agent no longer runs in Cached Mode. AddCACHEDMODE=1and every property that you want to keep.
On the golden image, open a command prompt with Run as administrator.
Start the command with
Msiexec.exe /qn /i "<enter path>\SysTrackCloudEdition.msi" FORCE=1.FORCE=1makes the installer use the values ofCONFIGNAME,CACHEDMODE,PROXYCONNECTIONHUB,AUTODETECTPROXY,AUTOCONFIGSCRIPT,HTTPSPROXY, andRUNONPARENTon the command line.Add
CACHEDMODE=1to 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.To assign a named configuration, add
CONFIGNAME="<EnterConfigurationName>". If you leave it out, the value is empty and the default configuration is used.Add
RUNONPARENT=<EnterValue>.RUNONPARENT=0(default) means the agent will exit on the parent image.RUNONPARENT=1means the agent will run on the parent image.
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 forAUTODETECTPROXY, empty for the others.Add
REBOOT=Rto suppress automatic and certain prompts for system restarts.If the install path is not the default install path, add
INSTALLDIR="<enter path>\SysTrack\LsiAgent". Place double quotes around the values assigned toINSTALLDIRandCONFIGNAME.To set the language, add
LANGUAGE=<ENTERLANGUAGECODE>.LANGUAGEis 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.Optional: to write a verbose log, add
/L*v <enter path to an existing temp folder>\silentupgradeclient.log.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.logUpgrade "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=1Upgrade "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.logIMPORTANT: 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,REBOOTis 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=1or0(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.LANGUAGEis 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 propertiesCONFIGNAME,CACHEDMODE,PROXYCONNECTIONHUB,AUTODETECTPROXY,AUTOCONFIGSCRIPT,HTTPSPROXY,RUNONPARENTare to be used.FORCE=1: forces the Upgrade process to use the values ofCONFIGNAME,CACHEDMODE,PROXYCONNECTIONHUB,AUTODETECTPROXY,AUTOCONFIGSCRIPT,HTTPSPROXY, andRUNONPARENTon the command line to change the currently installed values. A property that you leave out goes back to its default value: 0 forCACHEDMODE,RUNONPARENT, andAUTODETECTPROXY, 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 isC:\Program Files (x86)\SysTrack\LsiAgenton 64-bit Windows andC:\Program Files\SysTrack\LsiAgenton 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