Opdragte om SecondLoop sonder vrae te installeer, weer te verwyder en vanuit ontplooiingsgereedskap op te spoor. ’n Opdrag word net gewys as dit seker is: uit die manifes of die gedokumenteerde verstek van die installeertegnologie.
Verwante gids: Skakelaars vir stil installasie: MSI, NSIS, Inno Setup · Deïnstalleer ’n program via die register of PowerShell
Met winget
PowerShell
winget install --id SecondLoop.SecondLoop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SecondLoop.SecondLoop -e --silentwinget uninstall --id SecondLoop.SecondLoop -e --silentVolgens installeerder
64-bis · MSI · en-US
Stil installasie
msiexec /i SecondLoop-win.msi /qn /norestartSkryf ’n log
msiexec /i SecondLoop-win.msi /qn /norestart /l*v "%TEMP%\secondloop-install.log"Deïnstalleer
msiexec /x {7EAB3CF4-1471-4874-8B21-EE2FAE9F973B} /qn /norestart- MSI-produkkode
- {7EAB3CF4-1471-4874-8B21-EE2FAE9F973B}
- Deïnstalleer-registersleutel
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7EAB3CF4-1471-4874-8B21-EE2FAE9F973B}
- UpgradeCode
- {8B5A0942-79D3-4B5A-A4E5-3FB906DA63A1}
PowerShell: aflaai, nagaan, installeer
Laai die amptelike lêer af, gaan die SHA256 na en installeer dit stil.
install-secondloop.ps1
$url = 'https://github.com/dale0525/SecondLoop/releases/download/v1.33.0/SecondLoop-win.msi'
$sha256 = '77898EB4AADE325E775ED3FB2388B1A8959707F93243DC9D2E2EC29F98AF76FA'
$file = Join-Path $env:TEMP 'SecondLoop-win.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