Embed customizations

If you don't want to manage an external file system, you can embed customizations that Tricentis Tosca Commander requires for steering.

To embed customizations, you must perform the following steps:

  • Embed all required ZIP files under a Module folder. If you have multiple ZIP files, arrange them hierarchically in descending order. Within a Module folder, Tricentis Tosca Commander starts with the ZIP file that has been embedded first.

  • Your ZIP file must contain a BAT file named start.bat that tells Tricentis Tosca Commander which steps to perform, such as copy files or perform registrations. At run-time, Tricentis Tosca Commander unzips the ZIP files in the Module and executes the start.bat file. This ensures that the customizations are available from the directories.

All files that the BAT file calls up must exist in the ZIP file. This ensures the following:

  • Customizations are entirely versioned via Tricentis Tosca Commander.

  • The commands of the BAT file are simplified by specifying relative paths.

Example: BAT file content

The following example shows the content of a BAT file that tells Tricentis Tosca Commander which steps to perform:

xcopy "TricentisDotNetBaseControls.dll" "%TRICENTIS_HOME%\dll\DotNetEngine\CustomControls"
xcopy "TricentisDotNetBaseControls_1.dll" "%TRICENTIS_HOME%\dll\DotNetEngine\CustomControls"