Ordres per instal·lar OpenLogi 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 AprilNEA.OpenLogi -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AprilNEA.OpenLogi -e --silentwinget uninstall --id AprilNEA.OpenLogi -e --silentPer instal·lador
64 bits · MSI
Instal·lació silenciosa
msiexec /i OpenLogi-v0.9.0-windows-x86_64.msi /qn /norestartDesar un registre
msiexec /i OpenLogi-v0.9.0-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\openlogi-install.log"Desinstal·lar
msiexec /x {9E7D9CE3-DD31-457E-B478-0434F4F670A2} /qn /norestart- Codi de producte MSI
- {9E7D9CE3-DD31-457E-B478-0434F4F670A2}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9E7D9CE3-DD31-457E-B478-0434F4F670A2}
- UpgradeCode
- {981D0C70-179E-4EE8-8F1E-0EB6877EAE94}
- Carpeta d’instal·lació
- %LocalAppData%\Programs\OpenLogi\bin
ARM64 · MSI
Instal·lació silenciosa
msiexec /i OpenLogi-v0.9.0-windows-arm64.msi /qn /norestartDesar un registre
msiexec /i OpenLogi-v0.9.0-windows-arm64.msi /qn /norestart /l*v "%TEMP%\openlogi-install.log"Desinstal·lar
msiexec /x {1A3AA5E6-34D3-4C73-A220-ABBD127F0A50} /qn /norestart- Codi de producte MSI
- {1A3AA5E6-34D3-4C73-A220-ABBD127F0A50}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1A3AA5E6-34D3-4C73-A220-ABBD127F0A50}
- UpgradeCode
- {2A989A66-36FE-4999-ACE2-3E79AE02D12A}
- Carpeta d’instal·lació
- %LocalAppData%\Programs\OpenLogi\bin
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-openlogi.ps1
$url = 'https://github.com/AprilNEA/OpenLogi/releases/download/v0.9.0/OpenLogi-v0.9.0-windows-x86_64.msi'
$sha256 = 'F6AC399E7AB2935866F09DAB16258A4A519CA32678D8E1B48AB8A259D6E366E8'
$file = Join-Path $env:TEMP 'OpenLogi-v0.9.0-windows-x86_64.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 install-openlogi.ps1
$url = 'https://github.com/AprilNEA/OpenLogi/releases/download/v0.9.0/OpenLogi-v0.9.0-windows-arm64.msi'
$sha256 = '3327A187E95E604C7EECEC46513755B65DDA453479551EEACD12E1998BFBD9CD'
$file = Join-Path $env:TEMP 'OpenLogi-v0.9.0-windows-arm64.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