Last modified by teamwire001 on 2026/07/08 06:34

From version 6.1
edited by teamwire001
on 2026/07/08 06:34
Change comment: DOC-573
To version 1.1
edited by teamwire001
on 2021/06/10 09:56
Change comment: Imported from XAR

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -4. Windows Install Options
1 +3. Silent Installation
Content
... ... @@ -1,95 +1,131 @@
1 -{{id name="4-quietinstall"/}}
1 +(% class="box warningmessage" %)
2 +(((
3 +These features are available on Teamwire for Windows only.
4 +)))
2 2  
3 -= Quiet installation =
4 4  
5 -Microsoft Windows Installer is an installation and configuration service provided with Windows. It allows to run processes with the Windows command {{code language="none"}}msiexec{{/code}} without any user interaction.
7 +You can install Teamwire in silent mode from a command line to avoid user interaction during the process.
6 6  
7 -The {{code language="none"}}msiexec{{/code}} **display options** allow a quiet installation. All available parameters can be found here: [[Microsoft ~> msiexec ~> Display options>>url:https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec#display-options||rel="noopener noreferrer" target="_blank"]]
9 +Therefore the command syntax is
8 8  
11 +{{code language="plain"}}
12 +start "" /WAIT Teamwire-setup_XXX.exe /S [optional parameters] /D=<path>
13 +{{/code}}
9 9  
10 -To install the Teamwire app quietly, use the following command and parameters:
15 +## ##
11 11  
12 -{{code language="none"}}
13 -msiexec.exe /i <path_to_package> /qn
17 +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.
18 +
19 +Example:
20 +
21 +{{code language="plain"}}
22 +start "" /WAIT Teamwire-setup_1.10.0.exe /S /D=C:\Program Files (x86)\Teamwire\
14 14  {{/code}}
15 15  
16 -Example: {{code language="none"}}msiexec.exe /i "C:\Users\USERNAME\Downloads\teamwire-setup.msi" /qn{{/code}}
25 +## ##
17 17  
27 +(% class="box infomessage" %)
28 +(((
29 +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.
30 +)))
18 18  
19 -{{id name="4-installcontext"/}}
32 +## ##
20 20  
21 -== Installation context ==
34 +An app shortcut will be created automatically and can be found in the Teamwire software directory.
22 22  
23 -Microsoft Windows Installer is an installation and configuration service provided with Windows. It allows to run processes with the Windows command {{code language="none"}}msiexec{{/code}} without any user interaction.
36 +The shortcut's target for the default installation is {{code language="plain"}}"<app_directory>\Teamwire\nw.exe" "<app_directory>\Teamwire\app"{{/code}}
24 24  
25 -Windows Installer can install a package on a computer into two installation contexts: per-machine and per-user.
26 26  
27 -A per-machine installation of the package is required to enable **all users** of the computer to access and use the application. Because a per-machine installation makes changes to the system that affect all users, administrative permissions are required. Further information available here: [[Microsoft ~> Windows Installer ~> Installation context>>https://learn.microsoft.com/en-us/windows/win32/msi/installation-context||rel="noopener noreferrer" target="_blank"]]
39 +{{id name="optional"/}}
28 28  
41 += Optional parameters =
29 29  
30 -{{id name="4-context-user"/}}
43 +The following parameters are optional and support additional settings to be enabled during the installation.
31 31  
32 -(% class="numbox" %)A(%%) (% class="numbox-title" %)Per user installation
45 +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.
33 33  
34 -By default, the package is installed in the per-user installation context. The following command performs the per-user installation:
35 35  
36 -{{code language="none"}}
37 -msiexec.exe /i <path_to_package>
38 -{{/code}}
48 +{{id name="roamingdir"/}}
39 39  
40 -Teamwire will be installed to the following directory: ##%LOCALAPPDATA%\Programs\Teamwire##
50 +== Roaming User Directory ==
41 41  
52 +{{code language="plain"}}/APPDATA=TRUE{{/code}} ## ##
42 42  
43 -{{id name="4-context-machine"/}}
54 +By default, the user's data is written to the ##%LOCALAPPDATA%## directory ( ##..\AppData\Local\## ).
44 44  
45 -(% class="numbox" %)B(%%) (% class="numbox-title" %)Per machine installation
56 +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.
46 46  
47 -To install the package in the per-machine installation context, the ##ALLUSERS## parameter is required. The following command performs the per-machine installation:
58 +Example:
48 48  
49 -{{code language="none"}}
50 -msiexec.exe /i <path_to_package> ALLUSERS=1
60 +{{code language="plain"}}
61 +start "" /WAIT Teamwire-setup_1.10.0.exe /S /APPDATA=TRUE /D=C:\Program Files (x86)\Teamwire\
51 51  {{/code}}
52 52  
53 -Teamwire will be installed to the following directory: ##C:\Program Files\Teamwire##
64 +## ##
54 54  
66 +An app shortcut will be created automatically and can be found in the Teamwire software directory.
55 55  
56 -{{id name="4-context-custom"/}}
68 +The shortcut's target incl. the roaming directory is {{code language="plain"}}"<app_directory>\Teamwire\nw.exe" "<app_directory>\Teamwire\app" --user-data-dir=%APPDATA%/Teamwire{{/code}}
57 57  
58 -(% class="numbox" %)C(%%) (% class="numbox-title" %)Custom installation directory
59 59  
60 -You can define a custom directory for the Teamwire app installation with the following parameters:
71 +{{id name="customdir"/}}
61 61  
62 -{{code language="none"}}
63 -msiexec.exe /i <path_to_package> APPLICATIONFOLDER=<absolute_application_path>
73 +== Custom User Directory ==
74 +
75 +{{code language="plain"}}/USERDATADIR=<path>{{/code}} ## ##
76 +
77 +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.**
78 +
79 +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.
80 +
81 +Example:
82 +
83 +{{code language="plain"}}
84 +start "" /WAIT Teamwire-setup_1.10.0.exe /S /USERDATADIR="H:\TeamwireData\" /D=C:\Program Files (x86)\Teamwire\
64 64  {{/code}}
65 65  
66 -Example: {{code language="none"}}msiexec.exe /i "C:\Users\USERNAME\Downloads\teamwire-setup.msi" APPLICATIONFOLDER="C:\Teamwire"{{/code}}
87 +## ##
67 67  
89 +An app shortcut will be created automatically and can be found in the Teamwire software directory.
68 68  
69 -{{id name="4-quietdeinstall"/}}
91 +The shortcut's target incl. the customised directory is {{code language="plain"}}"<app_directory>\Teamwire\nw.exe" "<app_directory>\Teamwire\app" --user-data-dir="<userdata_directory>\\Teamwire"{{/code}}
70 70  
71 -= Quiet deinstallation =
72 72  
73 -Microsoft Windows Installer is an installation and configuration service provided with Windows. It allows to run processes with the Windows command {{code language="none"}}msiexec{{/code}} without any user interaction.
94 +{{id name="runonstartup"/}}
74 74  
75 -The {{code language="none"}}msiexec{{/code}} **display options** allow a quiet deinstallation. All available parameters can be found here: [[Microsoft ~> msiexec ~> Display options>>url:https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec#display-options||rel="noopener noreferrer" target="_blank"]]
96 +== Run on Startup ==
76 76  
98 +{{code language="plain"}}/STARTUP=TRUE{{/code}} ## ##
77 77  
78 -To deinstall the Teamwire app quietly, use the following command and parameters:
100 +With this parameter you enable the feature to run Teamwire on Windows startup.
79 79  
80 -{{code language="none"}}
81 -msiexec.exe /x <path_to_package> /qn
102 +Example:
103 +
104 +{{code language="plain"}}
105 +start "" /WAIT Teamwire-setup_1.10.0.exe /S /STARTUP=TRUE /D=C:\Program Files (x86)\Teamwire\
82 82  {{/code}}
83 83  
84 -The MSI file path required for the deinstallation depends on your data management.
108 +## ##
85 85  
110 +{{id name="silentdeinstall"/}}
111 += Silent Deinstallation =
86 86  
87 -**Example A:** {{code language="none"}}msiexec.exe /x "C:\Users\USERNAME\Downloads\teamwire-setup.msi" /qn{{/code}}
88 -The file which was also used during the installation has remained in its directory.
113 +You can deinstall Teamwire in silent mode from a command line to avoid user interaction during the process.
89 89  
115 +Therefore the command syntax is
90 90  
91 -**Example B:** {{code language="none"}}msiexec.exe /x "C:\Windows\Installer\34237a6a.msi" /qn{{/code}}
92 -You use the MSI file cached by the system. By default, it's stored under ##%SystemRoot%\Installer##.
117 +{{code language="plain"}}
118 +start "" /WAIT "<path>\uninstall.exe" /S
119 +{{/code}}
93 93  
121 +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.**
94 94  
123 +Example: {{code language="plain"}}start "" /WAIT "C:\Program Files (x86)\Teamwire\uninstall.exe" /S{{/code}}
124 +
125 +
126 +(% class="box infomessage" %)
127 +(((
128 +Please note, the user data is not being removed for all users but the user performing the local deinstallation.
129 +)))
130 +
95 95  ## ##