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