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

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

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -3. Silent Installation
1 +4. Windows Install Options
Content
... ... @@ -1,131 +1,95 @@
1 -(% class="box warningmessage" %)
2 -(((
3 -These features are available on Teamwire for Windows only.
4 -)))
1 +{{id name="4-quietinstall"/}}
5 5  
3 += Quiet installation =
6 6  
7 -You can install Teamwire in silent mode from a command line to avoid user interaction during the process.
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.
8 8  
9 -Therefore the command syntax is
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"]]
10 10  
11 -{{code language="plain"}}
12 -start "" /WAIT Teamwire-setup_XXX.exe /S [optional parameters] /D=<path>
13 -{{/code}}
14 14  
15 -## ##
10 +To install the Teamwire app quietly, use the following command and parameters:
16 16  
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\
12 +{{code language="none"}}
13 +msiexec.exe /i <path_to_package> /qn
23 23  {{/code}}
24 24  
25 -## ##
16 +Example: {{code language="none"}}msiexec.exe /i "C:\Users\USERNAME\Downloads\teamwire-setup.msi" /qn{{/code}}
26 26  
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 -)))
31 31  
32 -## ##
19 +{{id name="4-installcontext"/}}
33 33  
34 -An app shortcut will be created automatically and can be found in the Teamwire software directory.
21 +== Installation context ==
35 35  
36 -The shortcut's target for the default installation is {{code language="plain"}}"<app_directory>\Teamwire\nw.exe" "<app_directory>\Teamwire\app"{{/code}}
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.
37 37  
25 +Windows Installer can install a package on a computer into two installation contexts: per-machine and per-user.
38 38  
39 -{{id name="optional"/}}
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"]]
40 40  
41 -= Optional parameters =
42 42  
43 -The following parameters are optional and support additional settings to be enabled during the installation.
30 +{{id name="4-context-user"/}}
44 44  
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.
32 +(% class="numbox" %)A(%%) (% class="numbox-title" %)Per user installation
46 46  
34 +By default, the package is installed in the per-user installation context. The following command performs the per-user installation:
47 47  
48 -{{id name="roamingdir"/}}
36 +{{code language="none"}}
37 +msiexec.exe /i <path_to_package>
38 +{{/code}}
49 49  
50 -== Roaming User Directory ==
40 +Teamwire will be installed to the following directory: ##%LOCALAPPDATA%\Programs\Teamwire##
51 51  
52 -{{code language="plain"}}/APPDATA=TRUE{{/code}} ## ##
53 53  
54 -By default, the user's data is written to the ##%LOCALAPPDATA%## directory ( ##..\AppData\Local\## ).
43 +{{id name="4-context-machine"/}}
55 55  
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.
45 +(% class="numbox" %)B(%%) (% class="numbox-title" %)Per machine installation
57 57  
58 -Example:
47 +To install the package in the per-machine installation context, the ##ALLUSERS## parameter is required. The following command performs the per-machine installation:
59 59  
60 -{{code language="plain"}}
61 -start "" /WAIT Teamwire-setup_1.10.0.exe /S /APPDATA=TRUE /D=C:\Program Files (x86)\Teamwire\
49 +{{code language="none"}}
50 +msiexec.exe /i <path_to_package> ALLUSERS=1
62 62  {{/code}}
63 63  
64 -## ##
53 +Teamwire will be installed to the following directory: ##C:\Program Files\Teamwire##
65 65  
66 -An app shortcut will be created automatically and can be found in the Teamwire software directory.
67 67  
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}}
56 +{{id name="4-context-custom"/}}
69 69  
58 +(% class="numbox" %)C(%%) (% class="numbox-title" %)Custom installation directory
70 70  
71 -{{id name="customdir"/}}
60 +You can define a custom directory for the Teamwire app installation with the following parameters:
72 72  
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\
62 +{{code language="none"}}
63 +msiexec.exe /i <path_to_package> APPLICATIONFOLDER=<absolute_application_path>
85 85  {{/code}}
86 86  
87 -## ##
66 +Example: {{code language="none"}}msiexec.exe /i "C:\Users\USERNAME\Downloads\teamwire-setup.msi" APPLICATIONFOLDER="C:\Teamwire"{{/code}}
88 88  
89 -An app shortcut will be created automatically and can be found in the Teamwire software directory.
90 90  
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}}
69 +{{id name="4-quietdeinstall"/}}
92 92  
71 += Quiet deinstallation =
93 93  
94 -{{id name="runonstartup"/}}
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.
95 95  
96 -== Run on Startup ==
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"]]
97 97  
98 -{{code language="plain"}}/STARTUP=TRUE{{/code}} ## ##
99 99  
100 -With this parameter you enable the feature to run Teamwire on Windows startup.
78 +To deinstall the Teamwire app quietly, use the following command and parameters:
101 101  
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\
80 +{{code language="none"}}
81 +msiexec.exe /x <path_to_package> /qn
106 106  {{/code}}
107 107  
108 -## ##
84 +The MSI file path required for the deinstallation depends on your data management.
109 109  
110 -{{id name="silentdeinstall"/}}
111 -= Silent Deinstallation =
112 112  
113 -You can deinstall Teamwire in silent mode from a command line to avoid user interaction during the process.
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.
114 114  
115 -Therefore the command syntax is
116 116  
117 -{{code language="plain"}}
118 -start "" /WAIT "<path>\uninstall.exe" /S
119 -{{/code}}
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##.
120 120  
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.**
122 122  
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 -
131 131  ## ##