Windows-Install-Options

Version 1.4 by teamwire001 on 2023/11/07 11:37

These features are available on Teamwire for Windows only.

You can install Teamwire in silent mode from a command line to avoid user interaction during the process.

Therefore the command syntax is

start "" /WAIT Teamwire-setup_XXX.exe /S [optional parameters] /D=<path>

 

Please enter the path to the Teamwire setup file and use the option  /D  to define a directory in which Teamwire is going to install its further contents.

Example:

start "" /WAIT Teamwire-setup_1.10.0.exe /S /D=C:\Program Files (x86)\Teamwire\

 

Please note, /D  must be the last parameter used in the command line and must not contain any quotation marks even if the path contains spaces.

 

An app shortcut will be created automatically and can be found in the Teamwire software directory.

The shortcut's target for the default installation is  "<app_directory>\Teamwire\nw.exe" "<app_directory>\Teamwire\app"

Optional parameters

The following parameters are optional and support additional settings to be enabled during the installation.

Furthermore, please note that the  /D  option must be the last parameter used in the command line and must not contain any quotation marks even if the path contains spaces.

Roaming User Directory

/APPDATA=TRUE   

By default, the user's data is written to the  %LOCALAPPDATA%  directory ( ..\AppData\Local\ ).

In some corporate and virtual environments, a folder's content is deleted when the session is closed. In order to write into  %APPDATA%  directory ( ..\AppData\Roaming\ ) , please add the  /APPDATA=TRUE  argument to your command.

Example:

start "" /WAIT Teamwire-setup_1.10.0.exe /S /APPDATA=TRUE /D=C:\Program Files (x86)\Teamwire\

 

An app shortcut will be created automatically and can be found in the Teamwire software directory.

The shortcut's target incl. the roaming directory is  "<app_directory>\Teamwire\nw.exe" "<app_directory>\Teamwire\app" --user-data-dir=%APPDATA%/Teamwire

Custom User Directory

/USERDATADIR=<path>  

In case you need to store your user data to a different location due to your network environment or retention policies for local data, you are able to define a custom path (e.g. mapped home directory for your users) with the parameter  /USERDATADIR. You will have to put the path in quotation marks.

The customised directories will not be created until the first run and registration. Please note, that despite the custom path of user data the original directories ( %LOCALAPPDATA%\Teamwire\User Data\Default\ ) will still be created but do not contain any data.

Example:

start "" /WAIT Teamwire-setup_1.10.0.exe /S /USERDATADIR="H:\TeamwireData\" /D=C:\Program Files (x86)\Teamwire\

 

An app shortcut will be created automatically and can be found in the Teamwire software directory.

The shortcut's target incl. the customised directory is  "<app_directory>\Teamwire\nw.exe" "<app_directory>\Teamwire\app" --user-data-dir="<userdata_directory>\Teamwire"

Run on Startup

/STARTUP=TRUE  

With this parameter you enable the feature to run Teamwire on Windows startup.

Example:

start "" /WAIT Teamwire-setup_1.10.0.exe /S /STARTUP=TRUE /D=C:\Program Files (x86)\Teamwire\

 

Silent Deinstallation

You can deinstall Teamwire in silent mode from a command line to avoid user interaction during the process.

Therefore the command syntax is

start "" /WAIT "<path>\uninstall.exe" /S

Enter the path to the uninstalling file, which is located in the Teamwire root directory. You will have to put the path in quotation marks.

Example:  start "" /WAIT "C:\Program Files (x86)\Teamwire\uninstall.exe" /S

Please note, the user data is not being removed for all users but the user performing the local deinstallation.