Ordres per instal·lar Logbert 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 Couchcoding.Logbert -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Couchcoding.Logbert -e --silentwinget uninstall --id Couchcoding.Logbert -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i Logbert.1.6.3.2.-.Setup.-.x64.msi /qn /norestartDesar un registre
msiexec /i Logbert.1.6.3.2.-.Setup.-.x64.msi /qn /norestart /l*v "%TEMP%\logbert-install.log"Desinstal·lar
msiexec /x {4A6A1F61-663F-4A53-B9E5-7F2AD9102734} /qn /norestart- Codi de producte MSI
- {4A6A1F61-663F-4A53-B9E5-7F2AD9102734}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4A6A1F61-663F-4A53-B9E5-7F2AD9102734}
- UpgradeCode
- {12B94D27-128D-4498-ADBF-A90DA2122854}
32 bits · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i Logbert.1.6.3.2.-.Setup.-.x86.msi /qn /norestartDesar un registre
msiexec /i Logbert.1.6.3.2.-.Setup.-.x86.msi /qn /norestart /l*v "%TEMP%\logbert-install.log"Desinstal·lar
msiexec /x {9B26F390-F150-432C-AB59-6CCE0470D6E9} /qn /norestart- Codi de producte MSI
- {9B26F390-F150-432C-AB59-6CCE0470D6E9}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9B26F390-F150-432C-AB59-6CCE0470D6E9}
- UpgradeCode
- {12B94D27-128D-4498-ADBF-A90DA2122854}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-logbert.ps1
$url = 'https://github.com/couchcoding/Logbert/releases/download/1.6.3.2/Logbert.1.6.3.2.-.Setup.-.x64.msi'
$sha256 = '998B65CD2B0384854A19F08F07C99D64E453FE923895BE5F1DF7F5F446405669'
$file = Join-Path $env:TEMP 'Logbert.1.6.3.2.-.Setup.-.x64.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-logbert.ps1
$url = 'https://github.com/couchcoding/Logbert/releases/download/1.6.3.2/Logbert.1.6.3.2.-.Setup.-.x86.msi'
$sha256 = '11AEA6CD0190809680E211D56A15F9F28997A73E53F56C727A48569FE451FD6C'
$file = Join-Path $env:TEMP 'Logbert.1.6.3.2.-.Setup.-.x86.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