Ordres per instal·lar PE Explorer 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 Heaventools.PEexplorer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Heaventools.PEexplorer -e --silentwinget uninstall --id Heaventools.PEexplorer -e --silentPer instal·lador
32 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
pexsetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
pexsetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pe-explorer"32 bits · MSI
Instal·lació silenciosa
msiexec /i pexsetup.msi /qn /norestartDesar un registre
msiexec /i pexsetup.msi /qn /norestart /l*v "%TEMP%\pe-explorer-install.log"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-pe-explorer.ps1
$url = 'https://www.heaventools.com/download/pexsetup.exe'
$sha256 = 'C6424DF1E0DEC4D1361F231DCA9E4385CFA1863DFFF673A5C73FA741A447808F'
$file = Join-Path $env:TEMP 'pexsetup.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-pe-explorer.ps1
$url = 'https://www.heaventools.com/download/pexsetup.msi'
$sha256 = '5075576E6D53BD00EF288D853197E490C1010A11594DF83EAF2E28FF4165794A'
$file = Join-Path $env:TEMP 'pexsetup.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