Հրամաններ՝ WinProgramSuite ծրագիրն առանց հարցերի տեղադրելու, այն հեռացնելու և տարածման համակարգերում հայտնաբերելու համար։ Հրամանը ցուցադրվում է միայն այն դեպքում, երբ այն հաստատ հայտնի է՝ մանիֆեստից կամ տեղադրիչի տեխնոլոգիայի փաստաթղթավորված կարգավորումներից։
Առնչվող ուղեցույց: Լուռ տեղադրման պարամետրեր՝ MSI, NSIS, Inno Setup · Ծրագրի հեռացում ռեեստրի կամ PowerShell-ի միջոցով
winget-ով
PowerShell
winget install --id NalleBerg.WinProgramSuite -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NalleBerg.WinProgramSuite -e --silentwinget uninstall --id NalleBerg.WinProgramSuite -e --silentԸստ տեղադրիչի
64-բիթ · MSI
Լուռ տեղադրում
msiexec /i WinProgramSuiteSetup2006.03.26.07.msi /qn /norestartԳրել մատյան
msiexec /i WinProgramSuiteSetup2006.03.26.07.msi /qn /norestart /l*v "%TEMP%\winprogramsuite-install.log"PowerShell՝ ներբեռնել, ստուգել, տեղադրել
Ներբեռնում է պաշտոնական ֆայլը, ստուգում դրա SHA256-ը և լուռ տեղադրում։
install-winprogramsuite.ps1
$url = 'https://prog.nalle.no/user/data/apps/WinProgramSuiteSetup2006.03.26.07.msi'
$sha256 = 'FA45431D4ECBCDF6BEC342025C0485DC902047D0B9987FCB6B5CDD08EBBE8A71'
$file = Join-Path $env:TEMP 'WinProgramSuiteSetup2006.03.26.07.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