Ordres per instal·lar Doomsday Engine 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 DEngine.DoomsdayEngine.Candidate -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DEngine.DoomsdayEngine.Candidate -e --silentwinget uninstall --id DEngine.DoomsdayEngine.Candidate -e --silentPer instal·lador
64 bits · MSI · Usuari actual · en-US
Instal·lació silenciosa
msiexec /i builds /qn /norestartDesar un registre
msiexec /i builds /qn /norestart /l*v "%TEMP%\doomsday-engine-install.log"Desinstal·lar
msiexec /x {3201773D-3271-462C-8536-4918DADA9D63} /qn /norestart- Codi de producte MSI
- {3201773D-3271-462C-8536-4918DADA9D63}
- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3201773D-3271-462C-8536-4918DADA9D63}
- UpgradeCode
- {9D4EDE0D-DFA4-4695-9710-6D351F35A719}
- Carpeta d’instal·lació
- %ProgramFiles%\Doomsday 2.3.2
32 bits · MSI · Usuari actual · en-US
Instal·lació silenciosa
msiexec /i builds /qn /norestartDesar un registre
msiexec /i builds /qn /norestart /l*v "%TEMP%\doomsday-engine-install.log"Desinstal·lar
msiexec /x {5B3607F9-ABC4-42E7-AF4E-474CA1ABA4AB} /qn /norestart- Codi de producte MSI
- {5B3607F9-ABC4-42E7-AF4E-474CA1ABA4AB}
- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5B3607F9-ABC4-42E7-AF4E-474CA1ABA4AB}
- UpgradeCode
- {9D4EDE0D-DFA4-4695-9710-6D351F35A719}
- Carpeta d’instal·lació
- %ProgramFiles(x86)%\Doomsday 2.3.2
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-doomsday-engine.ps1
$url = 'https://api.dengine.net/1/builds?dl=doomsday_2.3.2-build3869_x64.msi'
$sha256 = 'D737B3632B2C32AC9CFF9778EC318F41FF39ECA39A3886E9B69DC410CC0AA51D'
$file = Join-Path $env:TEMP 'builds'
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 install-doomsday-engine.ps1
$url = 'https://api.dengine.net/1/builds?dl=doomsday_2.3.2-build3869_x86.msi'
$sha256 = 'D9719DAAA1FAA91446AD78E88E562A0BC2741423E96A64FCC00B19900A253F77'
$file = Join-Path $env:TEMP 'builds'
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