| Parameter | Function | |-----------|----------| | /S | Silent mode (case-sensitive). | | /D=C:\Program Files\Epson | Set install directory. |
epskit-x64.exe /VERYSILENT /COMPONENTS="main,scanner" /NORESTART | Exit Code | Meaning | Action in Deployment Script | |-----------|---------|-----------------------------| | 0 | Success | Continue | | 1 | Invalid parameter | Check syntax | | 2 | User canceled (not in silent mode) | Not expected | | 3 | Fatal error – check log | Retry after remediation | | 5 | Reboot required (and /NORESTART used) | Capture exit code; schedule reboot | | 3010 | Reboot required (InnoSetup specific) | Capture exit code; suppress reboot | epskit-x64.exe silent install parameters
$proc = Start-Process -Wait -PassThru -FilePath "epskit-x64.exe" -ArgumentList "/VERYSILENT /NORESTART /LOG=C:\temp\epson.log" if ($proc.ExitCode -in @5,3010) Write-Host "Reboot pending – schedule later." # Add to pending reboot registry key | Parameter | Function | |-----------|----------| | /S