SFX commands: Presetup
Presetup=[<mode>]<program>
SFX will try to execute <program> before starting extraction, so <program> must already exist on disk. The destination folder is set as the current before executing <program>. You may use this command, for example, to remove a previous version of program, when installing a new version over the old one. If a program name contains spaces, it must be enclosed in quotes.
Program name can be preceded with optional <mode> string enclosed in < and > brackets. Mode string can include Max, Min and Hide commands allowing to start the setup program with maximized, minimized or hidden window.
Start 'uninstall.exe /clean' using the default window visibility and size:
Presetup=uninstall.exe /clean
Start 'uninstall.exe /clean' and hide its window:
Presetup=<hide>uninstall.exe /clean