Ordres per instal·lar Project Plan 365 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 Housatonic.ProjectPlan365 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Housatonic.ProjectPlan365 -e --silentwinget uninstall --id Housatonic.ProjectPlan365 -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i ProjectPlan_365_PC_26.60.1299.msi /qn /norestartDesar un registre
msiexec /i ProjectPlan_365_PC_26.60.1299.msi /qn /norestart /l*v "%TEMP%\project-plan-365-install.log"Desinstal·lar
msiexec /x {7F87ABF6-E5C3-405A-8860-435FA9F5EB26} /qn /norestart- Codi de producte MSI
- {7F87ABF6-E5C3-405A-8860-435FA9F5EB26}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7F87ABF6-E5C3-405A-8860-435FA9F5EB26}
- UpgradeCode
- {F54B7867-0A43-4424-AF85-8F290EA2B7FB}
32 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i ProjectPlan_365_PC_26.60.1299.msi /qn /norestartDesar un registre
msiexec /i ProjectPlan_365_PC_26.60.1299.msi /qn /norestart /l*v "%TEMP%\project-plan-365-install.log"Desinstal·lar
msiexec /x {7F87ABF6-E5C3-405A-8860-435FA9F5EB26} /qn /norestart- Codi de producte MSI
- {7F87ABF6-E5C3-405A-8860-435FA9F5EB26}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{7F87ABF6-E5C3-405A-8860-435FA9F5EB26}
- UpgradeCode
- {F54B7867-0A43-4424-AF85-8F290EA2B7FB}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-project-plan-365.ps1
$url = 'https://www.projectplan365.com/download/ProjectPlanPC/365/26/ProjectPlan_365_PC_26.60.1299.msi'
$sha256 = 'F5A46ABE71BEE3C44376463933753A1B162F347D71D247ECBF997060DA254266'
$file = Join-Path $env:TEMP 'ProjectPlan_365_PC_26.60.1299.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-project-plan-365.ps1
$url = 'https://www.projectplan365.com/download/ProjectPlanPC/365/26/ProjectPlan_365_PC_26.60.1299.msi'
$sha256 = 'F5A46ABE71BEE3C44376463933753A1B162F347D71D247ECBF997060DA254266'
$file = Join-Path $env:TEMP 'ProjectPlan_365_PC_26.60.1299.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