Ordres per instal·lar Objective Redact 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 Objective.Redact -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Objective.Redact -e --silentwinget uninstall --id Objective.Redact -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i Objective_Redact_x64.msi /qn /norestartDesar un registre
msiexec /i Objective_Redact_x64.msi /qn /norestart /l*v "%TEMP%\objective-redact-install.log"Desinstal·lar
msiexec /x {9F378550-80C1-43B1-9A12-B9A1D4146681} /qn /norestart- Codi de producte MSI
- {9F378550-80C1-43B1-9A12-B9A1D4146681}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9F378550-80C1-43B1-9A12-B9A1D4146681}
- UpgradeCode
- {F1BE1862-608D-4AD0-B4BE-3EEFF3A0F103}
32 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i Objective_Redact_x86.msi /qn /norestartDesar un registre
msiexec /i Objective_Redact_x86.msi /qn /norestart /l*v "%TEMP%\objective-redact-install.log"Desinstal·lar
msiexec /x {E6E9AEEB-0686-4F97-A499-DB293FC7557B} /qn /norestart- Codi de producte MSI
- {E6E9AEEB-0686-4F97-A499-DB293FC7557B}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{E6E9AEEB-0686-4F97-A499-DB293FC7557B}
- UpgradeCode
- {F1BE1862-608D-4AD0-B4BE-3EEFF3A0F103}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-objective-redact.ps1
$url = 'https://s3-ap-southeast-2.amazonaws.com/redactdownload.objective.com/Objective_Redact_x64.msi'
$sha256 = '057FA90AD44C8C97BAB3CBF180475DE2F48AA82B5753C61AF8EB3299CB63C189'
$file = Join-Path $env:TEMP 'Objective_Redact_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 install-objective-redact.ps1
$url = 'https://s3-ap-southeast-2.amazonaws.com/redactdownload.objective.com/Objective_Redact_x86.msi'
$sha256 = '55E7AD68DA74921A952D5B903374A45B4AAF3270704529060ED7A5185EA43AF8'
$file = Join-Path $env:TEMP 'Objective_Redact_x86.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