Ordres per instal·lar Appcopier 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 Builtbybel.Appcopier -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Builtbybel.Appcopier -e --silentwinget uninstall --id Builtbybel.Appcopier -e --silentPer instal·lador
64 bits · MSI · en-US
Instal·lació silenciosa
msiexec /i appcopier_setup.msi /qn /norestartDesar un registre
msiexec /i appcopier_setup.msi /qn /norestart /l*v "%TEMP%\appcopier-install.log"Desinstal·lar
msiexec /x {61B874C8-209A-4082-8D85-6D7E27351EEB} /qn /norestart- Codi de producte MSI
- {61B874C8-209A-4082-8D85-6D7E27351EEB}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{61B874C8-209A-4082-8D85-6D7E27351EEB}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-appcopier.ps1
$url = 'https://github.com/builtbybel/Appcopier/releases/download/0.30.0/appcopier_setup.msi'
$sha256 = '02A4C73B7907FA120B838481E89C7A7B9A2513B1F4BCA458C8067FAB0B20AF10'
$file = Join-Path $env:TEMP 'appcopier_setup.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