Command Line Options
The command-line version of Turbo Studio is called XStudio.exe and can be found in the Turbo Studio installation directory. See below for a list of command-line arguments and options for the XStudio tool.
Note: If running XStudio displays the error
<SandboxCollision> is missing from the string table the XStudio application cannot be run while Turbo Studio is also running. Turbo Studio must be closed before running XStudio via the command line.
Build the specified container configuration.
> xstudio.exe [path-to-xappl] [optional]
- /l [path] specifies a path to the license file to use. The license file needs to be stored in Unicode format. This is only necessary if the license file was not installed on the machine through Turbo Studio.
- /o [path] overrides the path to the output file.
- /component overrides the Project Type to be Layer resulting in an SVM output rather than EXE output.
- /d enables the Generate diagnostic-mode executable setting.
- /compressed enables the Compress payload setting.
- /uncompressed disables the Compress payload setting.
- /deletesandbox enables the Delete sandbox on application shutdown setting.
- /v [version] assigns the Version of the output exe.
- /startupfile [path] overrides the Startup File of the output file.
Take a before snapshot.
> xstudio.exe /before /beforepath [path]
- /beforepath [path] specifies the path to where the snapshot file is to be saved.
Take an after snapshot.
> xstudio.exe /after /beforepath [path] /o [path]
- /beforepath [path] specifies the path to where the snapshot file is to be loaded.
- /o [path] specifies the path to where the resulting container configuration file will be saved.
Note: Configuration files that are generated from the command-line after using the /after flag do not have an output file specified in the XAPPL configuration file. When using scripting for snapshots, it may be necessary to apply changes to the generated XAPPL file, either manually or programmatically.
Import MSI, AXT, or ThinApp configurations.
xstudio.exe /import /i [path] /o [path]
- /i [path] specifies the path to the configuration file to be imported.
- /o [ath] specifies the path to where the resulting container configuration file is to be saved.
Combine two or more SVM layers into a single file.
xstudio.exe /merge [path-to-layer1.svm] [path-to-layer2.svm] ... /o [path]
- [path-to-layer1.svm] specifies the path to the first SVM layer file.
- [path-to-layer2.svm] specifies the path to the second SVM layer file.
- ... specifies the path of additional SVM layer files to combine.
- /o [path] specifies the path to output combined SVM file.
Merge the contents of a sandbox into a container configuration.
xstudio.exe /sandboxmerge [path-to-sandbox] /i [path] /o [path]
- /i [path] specifies the path to source configuration file.
- /o [path] specifies the path to output merged configuration file.
Dump a list of all configuration settings in the specified configuration file, container image, or standalone executable.
xstudio.exe /vmsettings [setting] /i [path]
- [setting] specifies the name of a specific setting to return the value of. This is optional and if not specified will show the values of all the available settings.
- /i [path] specifies a path to a .xappl, .svm, or .exe.
- /nologo is an optional flag that specifies that the Turbo Studio copyright and logo information is to be suppressed. Useful when consuming the output in scripts.
Transform a path to its tokenized form or back from its tokenized form. For example, to convert "c:\program files\internet explorer\iexplore.exe" to "@PROGRAMFILES@\internet explorer\iexplore.exe". This tool can also be used for registry paths.
xstudio.exe /pathreplace [path-to-transform] [optional]
- /reg specifies that the path is a registry path, not filesystem.
- /revert specifies that the path is tokenized and is to be converted back to native machine path.
- /nologo specifies that the Turbo Studio copyright and logo information is to be suppressed. Useful when consuming the output in scripts.