Oleafly programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id Oleafly.Oleafly -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Oleafly.Oleafly -e --silentwinget uninstall --id Oleafly.Oleafly -e --silentKurulum dosyasına göre
64 bit · EXE (NSIS) · Yalnızca bu kullanıcı
Sessiz kurulum
Oleafly_0.4.13_x64-setup.exe /SFarklı klasör
Oleafly_0.4.13_x64-setup.exe /S /D=C:\Apps\oleafly- Kaldırma kayıt defteri anahtarı
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Oleafly
- Kurulum klasörü
- %LocalAppData%\Oleafly
64 bit · MSI · Tüm kullanıcılar
Sessiz kurulum
msiexec /i Oleafly_0.4.13_x64_en-US.msi /qn /norestartGünlük dosyası yaz
msiexec /i Oleafly_0.4.13_x64_en-US.msi /qn /norestart /l*v "%TEMP%\oleafly-install.log"Kaldırma
msiexec /x {24C2D57E-C407-457B-AA8C-E3C4FBD08C56} /qn /norestart- MSI ürün kodu
- {24C2D57E-C407-457B-AA8C-E3C4FBD08C56}
- Kaldırma kayıt defteri anahtarı
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{24C2D57E-C407-457B-AA8C-E3C4FBD08C56}
- UpgradeCode
- {C5769C98-6171-585C-ADE9-C5BD6719EED7}
PowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-oleafly.ps1
$url = 'https://github.com/Oleafly/Oleafly/releases/download/v0.4.13/Oleafly_0.4.13_x64-setup.exe'
$sha256 = '3F46943048B1F216D16ACD8BF111CEE25A08D48781AB2F4B37AC860DE52AF040'
$file = Join-Path $env:TEMP 'Oleafly_0.4.13_x64-setup.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-oleafly.ps1
$url = 'https://github.com/Oleafly/Oleafly/releases/download/v0.4.13/Oleafly_0.4.13_x64_en-US.msi'
$sha256 = '0148ADF3784D393FF34F3BC0971DEC0A12C9DAA944E4AEA76B5502D0FBFF5EAA'
$file = Join-Path $env:TEMP 'Oleafly_0.4.13_x64_en-US.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