Ordres per instal·lar Text Editor Pro 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 LasseMarkusRautiainen.TextEditorPro -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LasseMarkusRautiainen.TextEditorPro -e --silentwinget uninstall --id LasseMarkusRautiainen.TextEditorPro -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
TextEditorPro64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
TextEditorPro64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\text-editor-pro"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FC8AD371-A765-4E22-B25F-D5914D7193F1}}_is1
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i TextEditorPro64.msi /qn /norestartDesar un registre
msiexec /i TextEditorPro64.msi /qn /norestart /l*v "%TEMP%\text-editor-pro-install.log"Desinstal·lar
msiexec /x {BB008463-28B6-4B7C-89F6-0A870DDA940A} /qn /norestart- Codi de producte MSI
- {BB008463-28B6-4B7C-89F6-0A870DDA940A}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BB008463-28B6-4B7C-89F6-0A870DDA940A}
- UpgradeCode
- {FCD58DD3-3A13-408E-944F-D4A0826C866C}
32 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
TextEditorPro32.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
TextEditorPro32.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\text-editor-pro"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FC8AD371-A765-4E22-B25F-D5914D7193F1}}_is1
32 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i TextEditorPro32.msi /qn /norestartDesar un registre
msiexec /i TextEditorPro32.msi /qn /norestart /l*v "%TEMP%\text-editor-pro-install.log"Desinstal·lar
msiexec /x {4A43059D-B573-4EDF-8510-291F7D13CA74} /qn /norestart- Codi de producte MSI
- {4A43059D-B573-4EDF-8510-291F7D13CA74}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4A43059D-B573-4EDF-8510-291F7D13CA74}
- UpgradeCode
- {FCD58DD3-3A13-408E-944F-D4A0826C866C}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-text-editor-pro.ps1
$url = 'https://www.texteditor.pro/downloads/TextEditorPro64.exe'
$sha256 = 'C760FBC76F1DA051F3BBA2CA81E65221917B5D9741B7C11F98CBB66C58F05F44'
$file = Join-Path $env:TEMP 'TextEditorPro64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-text-editor-pro.ps1
$url = 'https://www.texteditor.pro/downloads/TextEditorPro64.msi'
$sha256 = 'C1612908A2A484B9B453C81EAE0ADDD19C22D77269E6AB188295CCC8E61D6E61'
$file = Join-Path $env:TEMP 'TextEditorPro64.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-text-editor-pro.ps1
$url = 'https://www.texteditor.pro/downloads/TextEditorPro32.exe'
$sha256 = '620D4C24EE77CE6A7B37863886FFCA8931FC579C4E0417B759363A39F45248DA'
$file = Join-Path $env:TEMP 'TextEditorPro32.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-text-editor-pro.ps1
$url = 'https://www.texteditor.pro/downloads/TextEditorPro32.msi'
$sha256 = 'F1BDD9ECB18D38F6C5FF4B94E6A7B1BBC5680782B7C21BB83BEEDB64512D49DC'
$file = Join-Path $env:TEMP 'TextEditorPro32.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