1. Command Line Commands

Silent decompress Winrar self extractor archive. Silent decompress Winrar self extractor archive. By c73w, August 22, 2005 in Application Installs. Reply to this topic. Now how to decompress it into a directory using the command line in silent mode? Any switches I can use. Also do I need to install winrar on a machine that I am. 2) All switches specified in SFX command line are passed to a program from Setup= command. SFX itself understands only -s switch, which forces the silent install mode without displaying the start dialog. 3) SFX module sets sfxname environment variable before running the setup program. An SFX (SelF-eXtracting) archive is an archive, merged with an executable module, which is used to extract files from the archive when executed.Thus no external program is necessary to extract the contents of an SFX archive, it is enough to execute it. Nevertheless WinRAR can work with SFX archives as with any other archives, so if you do not want to run a received SFX archive (for example.

SFX commands: SetupSFX commands: SetupSetup=SFX will try to execute after successfulextraction. The folder containing extracted files is set as the currentbefore executing. If a program name containsspaces, it must be enclosed in quotes. ExampleSetup=setup.exe Notes. If you have problems to use SFX to run InstallShield setup.exe,try to execute 'setup.exe /SMS' instead of simple 'setup.exe'. Thisswitch allows SFX to detect termination of the InstallShield setupprogram.

Command Line Commands

If application specified in Setup command does not haveany parameters, you can use -spto passoptional parameters to this application. SFX module sets sfxname and sfxcmd environmentvariables before running the setup program. Sfxname variablecontains a name of SFX archive. Sfxcmd variable containsthe complete command line received by SFX module. First parameter ofthis command line is SFX module name.

Commands

Setup program can read thesevariables if it needs such information. Also you can specify an expanded%variable% as a parameter, like 'Setup=setup.exe%sfxcmd%'.

SFX module displays 'Extract' button instead of 'Install'if no Setup or Presetup commands are presentin the archive comment. If you prefer 'Install' button, but do not needto execute any setup programs, you can add Setup=command. Or if you configure SFX archive throughGUI dialog, just specify as setup program name. SFX module does not attemptto run a program with such name, but changes the button text.