Creating a TEZ File

For easy distribution to TerraExplorer users, zip the actual tool, the tool’s .xml defining the tool, and all other resources used by the tool into a standard zip archive. Then rename the zip file to the TEZ extension. You can include multiple tools in a single TEZ file by having multiple folders in the archive, each with a tool.xml.

If distributing a new Start page, the “texp_default.htm” file should be zipped into a TEZ zip file together with a Tool.xml file that sets the id as “StartPage” and defines the path of the texp_default.htm file as follows:

<Tool caption="Start Page" id="StartPage" Path="StartPage\texp_default.htm">

</Tool>

Once a TEZ is installed, the files will be saved to a predefined “Skyline\TerraExplorer” folder in the “Application Data” space of the current user, while a Start page TEZ is placed in a StartPage folder under the Add-ons folder.

Note: If the folder contains a file by the same name, the existing file is overwritten without a prompt.

Note: The Application Data folder path changes between different users and different Windows operating systems. To find the path used by your client look at the %APPDATA% environment variable.

 

All COM DLL’s referenced in tool.xml by <File> are dynamically registered and require no access to the computer registry.