Kommandon för att installera ClawSharp utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id ClawSharp.ClawSharp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ClawSharp.ClawSharp -e --silentwinget uninstall --id ClawSharp.ClawSharp -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare · en-US
Tyst installation
ClawSharp_0.0.7_windows_x64_setup.exe /SEgen mapp
ClawSharp_0.0.7_windows_x64_setup.exe /S /D=C:\Apps\clawsharp- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ClawSharp
- Installationsmapp
- %LocalAppData%\ClawSharp
64-bitars · MSI · Alla användare · en-US
Tyst installation
msiexec /i ClawSharp_0.0.7_windows_x64.msi /qn /norestartSkriv en logg
msiexec /i ClawSharp_0.0.7_windows_x64.msi /qn /norestart /l*v "%TEMP%\clawsharp-install.log"Avinstallation
msiexec /x {65636D93-73F5-4567-98BD-2606926271D4} /qn /norestart- MSI-produktkod
- {65636D93-73F5-4567-98BD-2606926271D4}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{65636D93-73F5-4567-98BD-2606926271D4}
- UpgradeCode
- {7D7FA2E9-4651-5A39-95C3-35EFBBAFF6BE}
- Installationsmapp
- %ProgramFiles%/ClawSharp
- DisplayVersion
- 0.0.7
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-clawsharp.ps1
$url = 'https://github.com/claw-sharp/ClawSharp/releases/download/desktop-v0.0.7/ClawSharp_0.0.7_windows_x64_setup.exe'
$sha256 = '7D3D84B1CD540603195A071AA24DA1ABBB7E8669C22C71CE053620045C80DFF5'
$file = Join-Path $env:TEMP 'ClawSharp_0.0.7_windows_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-clawsharp.ps1
$url = 'https://github.com/claw-sharp/ClawSharp/releases/download/desktop-v0.0.7/ClawSharp_0.0.7_windows_x64.msi'
$sha256 = '96E20617BE3E40D721529D36F2B29F0E09345831FC79BB10B650B46F8101C856'
$file = Join-Path $env:TEMP 'ClawSharp_0.0.7_windows_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