Ordres per instal·lar Magic Context Dashboard sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id CortexKit.MagicContextDashboard -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CortexKit.MagicContextDashboard -e --silentwinget uninstall --id CortexKit.MagicContextDashboard -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
magic-context-dashboard-windows-x64.exe /SUna altra carpeta
magic-context-dashboard-windows-x64.exe /S /D=C:\Apps\magic-context-dashboard- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Magic Context Dashboard
- Carpeta d’instal·lació
- %LocalAppData%\Magic Context Dashboard
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i magic-context-dashboard-windows-x64.msi /qn /norestartDesar un registre
msiexec /i magic-context-dashboard-windows-x64.msi /qn /norestart /l*v "%TEMP%\magic-context-dashboard-install.log"Desinstal·lar
msiexec /x {7AF22551-8A71-4A30-81F4-BCC875F20E62} /qn /norestart- Codi de producte MSI
- {7AF22551-8A71-4A30-81F4-BCC875F20E62}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7AF22551-8A71-4A30-81F4-BCC875F20E62}
- UpgradeCode
- {8EAD924F-9866-5C6D-8FA3-6EDCF1336E5E}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-magic-context-dashboard.ps1
$url = 'https://github.com/cortexkit/magic-context/releases/download/dashboard-v0.20.23/magic-context-dashboard-windows-x64.exe'
$sha256 = '39D9E440AAAEC6A2E2EE8B6253AA48F0CC2C5EA694A7801C352EFA63027E08B6'
$file = Join-Path $env:TEMP 'magic-context-dashboard-windows-x64.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-magic-context-dashboard.ps1
$url = 'https://github.com/cortexkit/magic-context/releases/download/dashboard-v0.20.23/magic-context-dashboard-windows-x64.msi'
$sha256 = 'B7C39D749BD89BFED6DE96FCED15D51B6CBCF8B2E240255B5ADC6CF818D9C917'
$file = Join-Path $env:TEMP 'magic-context-dashboard-windows-x64.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