Příkazy pro instalaci programu Texmaker bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id Texmaker.Texmaker -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Texmaker.Texmaker -e --silentwinget uninstall --id Texmaker.Texmaker -e --silentPodle instalátoru
64bit · MSI · Všichni uživatelé
Tichá instalace
msiexec /i Texmaker_6.0.2_Win_x64.msi /qn /norestartZapsat protokol
msiexec /i Texmaker_6.0.2_Win_x64.msi /qn /norestart /l*v "%TEMP%\texmaker-install.log"Odinstalace
msiexec /x {2D2EA2E0-47C8-4BCE-8B1C-6AEC215EADBE} /qn /norestart- Kód produktu MSI
- {2D2EA2E0-47C8-4BCE-8B1C-6AEC215EADBE}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2D2EA2E0-47C8-4BCE-8B1C-6AEC215EADBE}
- UpgradeCode
- {002AC03D-DC46-4770-802C-F67EE8F1C831}
- Instalační složka
- %ProgramFiles%\Texmaker\Texmaker
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-texmaker.ps1
$url = 'https://www.xm1math.net/texmaker/assets/files/Texmaker_6.0.2_Win_x64.msi'
$sha256 = 'E583B56E995235CF860E47920FF0665B15E9188C66990F23E3D1658244D069AB'
$file = Join-Path $env:TEMP 'Texmaker_6.0.2_Win_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