echo Installation triggered. Check for completion manually. pause Based on Format Factory 5.16.0.0 AIO (typical structure):
:: Wait for installer window to appear (adjust ms as needed) timeout /t 2 /nobreak >nul
| Dialog | Action | Keystroke(s) | |--------|--------|---------------| | Welcome | Next | ENTER | | License Agreement | Accept | TABENTER (if not focused) | | Component Selection (uncheck junk) | Uncheck bundled software | DOWNSPACE (repeated) | | Installation Folder | Leave default → Next | ENTER | | Ready to Install | Install | ENTER | | Completing Setup | Uncheck “Run Format Factory” → Finish | SPACE (to uncheck) then ENTER | After the “Component Selection” screen appears, send: Format Factory 5.16.0.0 AIO Silent Install msha...
@echo off set installer=FormatFactory_5.16.0.0_AIO.exe if not exist %installer% ( echo Installer not found! & pause & exit /b )
:: Finish: uncheck "Run Format Factory" then Finish mshta "javascript:var s=new ActiveXObject('WScript.Shell'); s.AppActivate('Format Factory Setup'); s.SendKeys('SPACEENTER'); close();" echo Installation triggered
:: Welcome mshta "javascript:var s=new ActiveXObject('WScript.Shell'); s.AppActivate('Format Factory Setup'); s.SendKeys('ENTER'); close();" timeout /t 2 /nobreak
:: Ready to install -> Install mshta "javascript:var s=new ActiveXObject('WScript.Shell'); s.AppActivate('Format Factory Setup'); s.SendKeys('ENTER'); close();" timeout /t 15 /nobreak :: installation takes time & pause & exit /b ) :: Finish:
TABTABSPACEDOWNSPACE That toggles two checkboxes off. Save this as silent_ff.bat – you must test and adjust delays/keystrokes .
start /min %installer% timeout /t 3 /nobreak >nul
:: Destination folder -> Next mshta "javascript:var s=new ActiveXObject('WScript.Shell'); s.AppActivate('Format Factory Setup'); s.SendKeys('ENTER'); close();" timeout /t 2 /nobreak
@echo off title Format Factory 5.16.0.0 Silent Install echo Starting silent installation... :: Path to the installer (adjust if needed) set installer="%~dp0FormatFactory_5.16.0.0_AIO.exe"