Ordres per instal·lar CP Editor 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 CPEditor.CPEditor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CPEditor.CPEditor -e --silentwinget uninstall --id CPEditor.CPEditor -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
cpeditor-7.1.2-windows-x64-setup-with-gcc-15.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
cpeditor-7.1.2-windows-x64-setup-with-gcc-15.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cp-editor"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{01D77782-3A40-44F0-BD36-59626998F4EE}_is1
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
cpeditor-7.1.2-windows-x64-setup-with-gcc-15.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
cpeditor-7.1.2-windows-x64-setup-with-gcc-15.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cp-editor"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{01D77782-3A40-44F0-BD36-59626998F4EE}_is1
32 bits · EXE (Inno Setup) · Usuari actual
Instal·lació silenciosa
cpeditor-7.1.2-windows-x86-setup-with-gcc-15.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
cpeditor-7.1.2-windows-x86-setup-with-gcc-15.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cp-editor"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{01D77782-3A40-44F0-BD36-59626998F4EE}_is1
32 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
cpeditor-7.1.2-windows-x86-setup-with-gcc-15.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
cpeditor-7.1.2-windows-x86-setup-with-gcc-15.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\cp-editor"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{01D77782-3A40-44F0-BD36-59626998F4EE}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-cp-editor.ps1
$url = 'https://github.com/cpeditor/cpeditor/releases/download/7.1.2/cpeditor-7.1.2-windows-x64-setup-with-gcc-15.2.0.exe'
$sha256 = '7065910388474984439B7D5B2AF4380325800D6728C0FB32AAA88C59D14A0B8E'
$file = Join-Path $env:TEMP 'cpeditor-7.1.2-windows-x64-setup-with-gcc-15.2.0.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-cp-editor.ps1
$url = 'https://github.com/cpeditor/cpeditor/releases/download/7.1.2/cpeditor-7.1.2-windows-x64-setup-with-gcc-15.2.0.exe'
$sha256 = '7065910388474984439B7D5B2AF4380325800D6728C0FB32AAA88C59D14A0B8E'
$file = Join-Path $env:TEMP 'cpeditor-7.1.2-windows-x64-setup-with-gcc-15.2.0.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-cp-editor.ps1
$url = 'https://github.com/cpeditor/cpeditor/releases/download/7.1.2/cpeditor-7.1.2-windows-x86-setup-with-gcc-15.2.0.exe'
$sha256 = 'BAF1FDEA73C084FA6596641EDE94F78AEC44C0F3A3CDC83EC25510A4743FC73C'
$file = Join-Path $env:TEMP 'cpeditor-7.1.2-windows-x86-setup-with-gcc-15.2.0.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-cp-editor.ps1
$url = 'https://github.com/cpeditor/cpeditor/releases/download/7.1.2/cpeditor-7.1.2-windows-x86-setup-with-gcc-15.2.0.exe'
$sha256 = 'BAF1FDEA73C084FA6596641EDE94F78AEC44C0F3A3CDC83EC25510A4743FC73C'
$file = Join-Path $env:TEMP 'cpeditor-7.1.2-windows-x86-setup-with-gcc-15.2.0.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