Ordres per instal·lar Custom Cursor 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 BLife.CustomCursor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BLife.CustomCursor -e --silentwinget uninstall --id BLife.CustomCursor -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
CustomCursor.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
CustomCursor.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\custom-cursor"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C8D6928F-1E7E-4DEC-998A-1B8B86FBBAD2}_is1
32 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
CustomCursor.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
CustomCursor.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\custom-cursor"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{C8D6928F-1E7E-4DEC-998A-1B8B86FBBAD2}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-custom-cursor.ps1
$url = 'https://custom-cursor.com/downloads/1.0.25/CustomCursor.exe'
$sha256 = '3F303F1FD9D94C367D491FAF932226EB987FDF0965ABC3CB390DDB2C19EA44CA'
$file = Join-Path $env:TEMP 'CustomCursor.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-custom-cursor.ps1
$url = 'https://custom-cursor.com/downloads/1.0.25/CustomCursor.exe'
$sha256 = '3F303F1FD9D94C367D491FAF932226EB987FDF0965ABC3CB390DDB2C19EA44CA'
$file = Join-Path $env:TEMP 'CustomCursor.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