Ordres per instal·lar Profile 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 Microsoft.ProfileExplorer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.ProfileExplorer -e --silentwinget uninstall --id Microsoft.ProfileExplorer -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
profile_explorer_installer_1.4.0_x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
profile_explorer_installer_1.4.0_x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\profile-explorer"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Profile Explorer_is1
- Carpeta d’instal·lació
- %ProgramFiles%\Profile Explorer
ARM64 · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
profile_explorer_installer_1.4.0_arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
profile_explorer_installer_1.4.0_arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\profile-explorer"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Profile Explorer_is1
- Carpeta d’instal·lació
- %ProgramFiles%\Profile Explorer
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-profile-explorer.ps1
$url = 'https://github.com/microsoft/profile-explorer/releases/download/v1.4.0/profile_explorer_installer_1.4.0_x64.exe'
$sha256 = '88232849BB04C235E085C182BAB51092B9AF2D4ED629C658EBA3E682A52FB1A5'
$file = Join-Path $env:TEMP 'profile_explorer_installer_1.4.0_x64.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-profile-explorer.ps1
$url = 'https://github.com/microsoft/profile-explorer/releases/download/v1.4.0/profile_explorer_installer_1.4.0_arm64.exe'
$sha256 = '19789969570C9C89F19E803B8F928FED2602630646AE13AEEF113DBF574E729D'
$file = Join-Path $env:TEMP 'profile_explorer_installer_1.4.0_arm64.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