Ordres per instal·lar iloader 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 nabdev.iloader -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id nabdev.iloader -e --silentwinget uninstall --id nabdev.iloader -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
iloader-windows-x64.exe /SUna altra carpeta
iloader-windows-x64.exe /S /D=C:\Apps\iloader- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\iloader
- Carpeta d’instal·lació
- %LocalAppData%\iloader
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i iloader-windows-x64.msi /qn /norestartDesar un registre
msiexec /i iloader-windows-x64.msi /qn /norestart /l*v "%TEMP%\iloader-install.log"Desinstal·lar
msiexec /x {90E79B3F-A554-4C3C-A2D0-4E064FEB0001} /qn /norestart- Codi de producte MSI
- {90E79B3F-A554-4C3C-A2D0-4E064FEB0001}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{90E79B3F-A554-4C3C-A2D0-4E064FEB0001}
- UpgradeCode
- {C13CEFD0-1F54-5C8C-BA3D-99D8E4A85C0F}
- Carpeta d’instal·lació
- %ProgramFiles%/iloader
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-iloader.ps1
$url = 'https://github.com/nab138/iloader/releases/download/v2.4.0/iloader-windows-x64.exe'
$sha256 = '80D98EDBEA33402F9B2B3BFE564DE9658648063ED34B66881CE9B4CD6B242E78'
$file = Join-Path $env:TEMP 'iloader-windows-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 '/S' -Wait install-iloader.ps1
$url = 'https://github.com/nab138/iloader/releases/download/v2.4.0/iloader-windows-x64.msi'
$sha256 = '24A594680F40E7750746D43384756B7A3D848CC054ED7760CB576EBDE0E582D5'
$file = Join-Path $env:TEMP 'iloader-windows-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