Commands for installing HopsMD 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 CloudBrew.HopsMD -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CloudBrew.HopsMD -e --silentwinget uninstall --id CloudBrew.HopsMD -e --silentBy installer
64-bit · EXE (NSIS) · All users · en-US
Silent install
HopsMD_1.4.0_x64-setup.exe /SCustom folder
HopsMD_1.4.0_x64-setup.exe /S /D=C:\Apps\hopsmd- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\HopsMD
- Install folder
- %ProgramFiles%\HopsMD
64-bit · MSI · All users · en-US
Silent install
msiexec /i HopsMD_1.4.0_x64_en-US.msi /qn /norestartWrite a log
msiexec /i HopsMD_1.4.0_x64_en-US.msi /qn /norestart /l*v "%TEMP%\hopsmd-install.log"Uninstall
msiexec /x {7CC3D11E-24BF-43F7-BAB2-162794B1ED4D} /qn /norestart- MSI product code
- {7CC3D11E-24BF-43F7-BAB2-162794B1ED4D}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7CC3D11E-24BF-43F7-BAB2-162794B1ED4D}
- UpgradeCode
- {909AA93F-2129-5B1E-AB5A-3AFE0CE49845}
- Install folder
- %ProgramFiles%\HopsMD
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-hopsmd.ps1
$url = 'https://github.com/lootwitch/HopsMD/releases/download/v1.4.0/HopsMD_1.4.0_x64-setup.exe'
$sha256 = '0120877827EA1A0A0B70957DB04325FD1CB1B734BD112CC5579ACB4448216B90'
$file = Join-Path $env:TEMP 'HopsMD_1.4.0_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-hopsmd.ps1
$url = 'https://github.com/lootwitch/HopsMD/releases/download/v1.4.0/HopsMD_1.4.0_x64_en-US.msi'
$sha256 = '655F9C89D3C82CCB6BBE6FACD82F53F231159B43AEF8DB5D77F826660AE89AA4'
$file = Join-Path $env:TEMP 'HopsMD_1.4.0_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