免互動安裝IFSCL、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id CodeLyokoGames.IFSCL.Standalone -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CodeLyokoGames.IFSCL.Standalone -e --silentwinget uninstall --id CodeLyokoGames.IFSCL.Standalone -e --silent依安裝檔
64位元 · EXE(Inno Setup) · 所有使用者 · en-US
靜默安裝
IFSCL_47X_Setup.exe /silent自訂安裝資料夾
IFSCL_47X_Setup.exe /silent /DIR="C:\Apps\ifscl"- 解除安裝登錄機碼
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{45204DCE-AA1F-4DA4-A55E-A98E06813877}_is1
- 安裝資料夾
- %ProgramFiles%\CodeLyokoGames\IFSCL 4.7.X
- DisplayVersion
- 4.7.X
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-ifscl.ps1
$url = 'https://ifscl.b-cdn.net/standalone/IFSCL_47X_Setup.exe'
$sha256 = 'D06DB3F4E84393390DBC5ED48BB412C4C5050895ED0CF3D06FE0B03C86EEF90B'
$file = Join-Path $env:TEMP 'IFSCL_47X_Setup.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 '/silent' -Wait