Commands for installing GrappleHook without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id grapplerobotics.GrappleHook -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id grapplerobotics.GrappleHook -e --silentwinget uninstall --id grapplerobotics.GrappleHook -e --silentBy installer
64-bit · EXE (NSIS) · Current user · en-US
Silent install
GrappleHook_26.0.2_x64-setup.exe /SCustom folder
GrappleHook_26.0.2_x64-setup.exe /S /D=C:\Apps\grapplehook- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GrappleHook
- Install folder
- %LocalAppData%\GrappleHook
- DisplayVersion
- 26.0.2
64-bit · MSI · All users · en-US
Silent install
msiexec /i GrappleHook_26.0.2_x64_en-US.msi /qn /norestartWrite a log
msiexec /i GrappleHook_26.0.2_x64_en-US.msi /qn /norestart /l*v "%TEMP%\grapplehook-install.log"Uninstall
msiexec /x {7CA9AD35-EBBB-4737-82E7-3BD6F75A9251} /qn /norestart- MSI product code
- {7CA9AD35-EBBB-4737-82E7-3BD6F75A9251}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7CA9AD35-EBBB-4737-82E7-3BD6F75A9251}
- UpgradeCode
- {C36B9EB5-8E80-5B90-B092-C22A873C4AC5}
- Install folder
- %ProgramFiles%/GrappleHook
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-grapplehook.ps1
$url = 'https://github.com/GrappleRobotics/GrappleHook/releases/download/v26.0.2/GrappleHook_26.0.2_x64-setup.exe'
$sha256 = 'B8F6528677B733F79A95204326458768998429B9A14AD4757B05A4BC1F8750E4'
$file = Join-Path $env:TEMP 'GrappleHook_26.0.2_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-grapplehook.ps1
$url = 'https://github.com/GrappleRobotics/GrappleHook/releases/download/v26.0.2/GrappleHook_26.0.2_x64_en-US.msi'
$sha256 = '527FB7CEFB643BE326B9AB020D9C2FEBE8C39B330F45BCA2CACC1F99D9C2FCA4'
$file = Join-Path $env:TEMP 'GrappleHook_26.0.2_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