TwinCAT Package Manager (TwinCAT 3.1.4026) | Working with the command line 2.4.5 uninstall | uninstall Command: uninstall Description: Use this command to uninstall installed packages. Use: tcpkg uninstall [options] Arguments: In this argument, you can specify the package or a list of packages to be uninstalled. If you want to specify lists of packages, you must separate the individual package IDs with a space. If you also want to specify a version, this must be written directly after the package ID, separated by an equal sign. If no fixed version is specified, the version that is found first in the feeds according to their priorities will be uninstalled. Options:
-y, --bypass, --bypass-confirmation, --no-prompt Use this option to prevent queries from being made during uninstallation. --include-dependencies When this option is used, not only the package itself but also all packages that depend on it are uninstalled. This applies to all dependent packages that are not protected by other dependencies. --params You can only use these parameters for TwinCAT HMI Servers. When this option is used, parameters are provided that are queried and evaluated in the package. Example: --params “Test1=5 Test2” --params-sensitive With this option, the parameters used are not written to the log file.
You can find the parameters in the documentation for the respective products. --params-file With this option, you can specify the path to a text file in which the parameters are entered in the following format. You can find the parameters in the documentation for the respective products. PackageID=Parameters Please note that only one package is entered per line. To enter parameters for all packages, use “all”: all=Parameters If you also enter an “*”, the parameters are treated as “--params-sensitive” and are not written to the log file.
--keep-latest For packages for which several versions can be installed at the same time, you can use this command to uninstall old versions while retaining the current version or the specified current versions. Example: Uninstalling the TwinCAT Standard Engineering workload tcpkg uninstall TwinCAT.Standard.XAE Uninstalling the TwinCAT Standard Engineering workload with all dependencies tcpkg uninstall TwinCAT.Standard.XAE --include-dependencies 2.4.6 show | show Command: show TwinCAT 3 34 Version: 2.3.1