Commando’s om CommandUI zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id mcp-tool-shop.CommandUI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id mcp-tool-shop.CommandUI -e --silentwinget uninstall --id mcp-tool-shop.CommandUI -e --silentPer installer
64-bits · EXE (NSIS) · Huidige gebruiker
Stille installatie
CommandUI_1.0.2_x64-setup.exe /SAndere map
CommandUI_1.0.2_x64-setup.exe /S /D=C:\Apps\commandui- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CommandUI
- Installatiemap
- %LocalAppData%\CommandUI
64-bits · MSI · Alle gebruikers
Stille installatie
msiexec /i CommandUI_1.0.2_x64_en-US.msi /qn /norestartLogbestand schrijven
msiexec /i CommandUI_1.0.2_x64_en-US.msi /qn /norestart /l*v "%TEMP%\commandui-install.log"Verwijderen
msiexec /x {C7737DCC-9D00-4566-B299-45436749E472} /qn /norestart- MSI-productcode
- {C7737DCC-9D00-4566-B299-45436749E472}
- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C7737DCC-9D00-4566-B299-45436749E472}
- UpgradeCode
- {C668049B-1D1C-596E-87C9-AF9CED4CE3EE}
- Installatiemap
- %ProgramFiles%\CommandUI
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-commandui.ps1
$url = 'https://github.com/mcp-tool-shop-org/commandui/releases/download/v1.0.2/CommandUI_1.0.2_x64-setup.exe'
$sha256 = '099183040CDBFFBFBB477A6F32F085D88CFDCE8C37370B2CB99E761530A13D90'
$file = Join-Path $env:TEMP 'CommandUI_1.0.2_x64-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-commandui.ps1
$url = 'https://github.com/mcp-tool-shop-org/commandui/releases/download/v1.0.2/CommandUI_1.0.2_x64_en-US.msi'
$sha256 = 'E28C941B3C4139F880199A2FB88C50A085C3360ED3E48436664C4951142F6656'
$file = Join-Path $env:TEMP 'CommandUI_1.0.2_x64_en-US.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait