Wiki source code of 4. Windows Install Options
Last modified by teamwire001 on 2026/07/08 06:34
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
4.1 | 1 | {{id name="4-quietinstall"/}} |
| |
1.1 | 2 | |
| |
4.1 | 3 | = Quiet installation = |
| |
1.1 | 4 | |
| |
4.1 | 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. |
| |
2.1 | 6 | |
| |
4.1 | 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"]] |
| |
2.1 | 8 | |
| 9 | |||
| 10 | To install the Teamwire app quietly, use the following command and parameters: | ||
| 11 | |||
| |
4.1 | 12 | {{code language="none"}} |
| |
2.1 | 13 | msiexec.exe /i <path_to_package> /qn |
| 14 | {{/code}} | ||
| 15 | |||
| |
4.1 | 16 | Example: {{code language="none"}}msiexec.exe /i "C:\Users\USERNAME\Downloads\teamwire-setup.msi" /qn{{/code}} |
| |
2.1 | 17 | |
| 18 | |||
| 19 | {{id name="4-installcontext"/}} | ||
| 20 | |||
| 21 | == Installation context == | ||
| 22 | |||
| |
4.1 | 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. |
| 24 | |||
| |
2.1 | 25 | Windows Installer can install a package on a computer into two installation contexts: per-machine and per-user. |
| 26 | |||
| |
2.2 | 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"]] |
| |
2.1 | 28 | |
| 29 | |||
| 30 | {{id name="4-context-user"/}} | ||
| 31 | |||
| |
4.1 | 32 | (% class="numbox" %)A(%%) (% class="numbox-title" %)Per user installation |
| |
2.1 | 33 | |
| 34 | By default, the package is installed in the per-user installation context. The following command performs the per-user installation: | ||
| 35 | |||
| |
4.1 | 36 | {{code language="none"}} |
| |
2.1 | 37 | msiexec.exe /i <path_to_package> |
| 38 | {{/code}} | ||
| 39 | |||
| 40 | Teamwire will be installed to the following directory: ##%LOCALAPPDATA%\Programs\Teamwire## | ||
| 41 | |||
| 42 | |||
| 43 | {{id name="4-context-machine"/}} | ||
| 44 | |||
| |
4.1 | 45 | (% class="numbox" %)B(%%) (% class="numbox-title" %)Per machine installation |
| |
2.1 | 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: | ||
| 48 | |||
| |
4.1 | 49 | {{code language="none"}} |
| |
2.1 | 50 | msiexec.exe /i <path_to_package> ALLUSERS=1 |
| 51 | {{/code}} | ||
| 52 | |||
| 53 | Teamwire will be installed to the following directory: ##C:\Program Files\Teamwire## | ||
| 54 | |||
| 55 | |||
| 56 | {{id name="4-context-custom"/}} | ||
| 57 | |||
| |
4.1 | 58 | (% class="numbox" %)C(%%) (% class="numbox-title" %)Custom installation directory |
| |
2.1 | 59 | |
| 60 | You can define a custom directory for the Teamwire app installation with the following parameters: | ||
| 61 | |||
| |
4.1 | 62 | {{code language="none"}} |
| |
2.1 | 63 | msiexec.exe /i <path_to_package> APPLICATIONFOLDER=<absolute_application_path> |
| 64 | {{/code}} | ||
| 65 | |||
| |
4.1 | 66 | Example: {{code language="none"}}msiexec.exe /i "C:\Users\USERNAME\Downloads\teamwire-setup.msi" APPLICATIONFOLDER="C:\Teamwire"{{/code}} |
| |
2.1 | 67 | |
| 68 | |||
| |
4.1 | 69 | {{id name="4-quietdeinstall"/}} |
| |
1.1 | 70 | |
| |
4.1 | 71 | = Quiet deinstallation = |
| |
1.1 | 72 | |
| |
4.1 | 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. |
| |
1.1 | 74 | |
| |
4.1 | 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"]] |
| |
1.1 | 76 | |
| |
3.1 | 77 | |
| |
4.1 | 78 | To deinstall the Teamwire app quietly, use the following command and parameters: |
| |
1.1 | 79 | |
| |
4.1 | 80 | {{code language="none"}} |
| 81 | msiexec.exe /x <path_to_package> /qn | ||
| |
1.1 | 82 | {{/code}} |
| 83 | |||
| |
4.1 | 84 | The MSI file path required for the deinstallation depends on your data management. |
| |
1.1 | 85 | |
| |
1.2 | 86 | |
| |
4.1 | 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. | ||
| |
1.1 | 89 | |
| |
4.1 | 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##. | ||
| 93 | |||
| |
1.1 | 94 | |
| 95 | ## ## |