Miscellaneous

The server configuration files are what TrueUpdate refers to as the encrypted files that are published to your server to control whether or not an update needs to take place. Normally the Client Script will contain a TrueUpdate.GetServerFile action that downloads and loads these files into the TrueUpdate client engine and a TrueUpdate.RunScript action to run the Server Script.

The server configuration files consist of three encrypted files, each containing the same name but with different file extensions. The name that is given to these files is referred to as the server file prefix and the extensions given to these files are .ts1, .ts2 and .ts3. Each of these files are defined as follows:

Note: You must make sure that the *.ts* extensions are part of the MIME types list on your server. If files with these extensions are not part of the list, you will receive error number 3624.

<<server file prefix>>.ts1

The .ts1 file contains the encrypted server data. This means that it contains the Server Script and Server Screens. This is the file that is normally updated each time a new version of your software is released.

<<server file prefix>>.ts2

The .ts2 file contains all of the client data in encrypted form. This means that it contains the Client Script, Client Screens and all other project data. This is all contained within the client's .dat file. If for any reason the client data needed to be updated, this will allow the client to update itself when the TrueUpdate.GetServerFile action is called. When the client data file is updated, the update process will restart automatically and the global variable _ClientRestarted will be set to true. TrueUpdate is able to tell whether or not there is a newer client data file from information stored in the .ts1 file. Generally it is best to design your update so that the client data does not require updating after it has been distributed, however cases may arise when this is needed.

<<server file prefix>>.ts3

The .ts3 file contains the client executable, which is the TrueUpdate client's runtime file. TrueUpdate is able to tell whether or not there is a newer client executable file from information stored in the .ts1 file. Normally the client executable does not need updating, but occasionally new versions become available through service releases of the TrueUpdate program. This means that the client will always stay up-to-date with the latest release of TrueUpdate's run time. The TrueUpdate client will also be updated if the Compress client executable setting changes, the Requested User Privilege Level setting on the Advanced tab of Project Settings, information on the Resources tab of the Build Settings, or changes to the Code Signing settings of the Build Settings. If the client executable is updated, the update process will restart automatically and the global variable _ClientRestarted will be set to true.