Ordres per instal·lar AutoDev Desktop 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 phodal.AutoDevDesktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id phodal.AutoDevDesktop -e --silentwinget uninstall --id phodal.AutoDevDesktop -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i AutoDev.Desktop-1.0.5.msi /qn /norestartDesar un registre
msiexec /i AutoDev.Desktop-1.0.5.msi /qn /norestart /l*v "%TEMP%\autodev-desktop-install.log"Desinstal·lar
msiexec /x {121AB1FF-9BD5-31C9-985F-F3EF8869F33F} /qn /norestart- Codi de producte MSI
- {121AB1FF-9BD5-31C9-985F-F3EF8869F33F}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{121AB1FF-9BD5-31C9-985F-F3EF8869F33F}
- UpgradeCode
- {6496E797-75EF-3CDF-943E-87086DFA906C}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-autodev-desktop.ps1
$url = 'https://github.com/phodal/auto-dev/releases/download/compose-v3.0.0-alpha5/AutoDev.Desktop-1.0.5.msi'
$sha256 = '47EF3A9374241C26E74A5B439E8EBEE7930513798569C5F6692518CF363CF7EB'
$file = Join-Path $env:TEMP 'AutoDev.Desktop-1.0.5.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