INFO: Command line switches

    

Prev Up Next

Article ID: Q100006

The information in this article applies to:

  • Direct I/O, version 4.3, 4.4

SUMMARY

The installation package can be configured in many ways using command line switches. This article give you the details about the configuration options currently available.

MORE INFORMATION

Command line switches used when invoking DIRECTIO.EXE.
These switches are optional. They are not case sensitive; upper- or lowercase letters can be used.

Switch Description
-s Runs Directio.exe without displaying initial screens.
-a Signals that additional switches are to be passed to the executable file (Setup.exe) within the package.

Command line switches used when invoking SETUP.EXE from within the package.
These switches are optional. They are not case sensitive; upper- or lowercase letters can be used.

Switch Description
/f1<path\ResponseFile> Specifies an alternate location and name of the response file (.iss file). If this option is used when running InstallShield Silent, the response file is read from the folder/file specified by <path\ResponseFile>. If this option is used along with the /r option, the response file is written to the folder/file specified by <path\ResponseFile>.
/f2<path\LogFile> Specifies an alternate location and name of the log file created by InstallShield Silent. By default, Setup.log log file is created and stored in the same directory as that of Setup.ins.
/m<filename> Causes Setup.exe to generate a Management Information Format (.mif) file automatically at the end of the setup. Do not include a path the .mif file is always placed in the Windows folder. <filename> is optional. If you do not specify a filename, the resulting file will be called Status.mif.
/m1<serial number> Tells setup to place the indicated serial number in the created .mif file.
/m2<locale string> Tells setup to place the indicated locale in the .mif file. English (ENU) is the default; refer to Microsoft documentation for a complete listing of locale strings.
/r Causes Setup.exe automatically to generate a silent setup file (.iss file), which is a record of the setup input, in the Windows folder. To specify another folder you have to use the /f1 option.
/s Runs InstallShield Silent to execute a silent setup.
/SMS Prevents a network connection and Setup.exe from closing before the setup is complete. This switch works with setups originating from a Windows NT server over a network. Please note that SMS must be uppercase; this is a case-sensitive switch.
/z Prevents Setup.exe from checking the available memory during initialization. This switch is necessary when running a setup on a machine with more than 256 MB of disk space; if it is not used, Setup.exe reports insufficient memory and exits.
/u Invokes the uninstaller.
/x If used together with /u the forced uninstallation mode is invoked.

Comments

  • Separate multiple command line switches with a space. But do not put a space inside a command line switch (for example, /s /fInstall.ins is valid, but not /s/f Install.ins).
  • When using long path and filename expressions with switches, enclose the expressions in double quotation marks. The enclosing double quotes tell the operating system that spaces within the quotation marks are not to be treated as command line delimiters.

Samples

DIRECTIO -s -a /s   Installs Direct I/O without any window popping up or other visual clue.
DIRECTIO -a /u /x   Uninstalls a failed installation of Direct I/O using the forced uninstaller.
This should be regarded as the last resort short of disk formatting.

Direct I/O and Paule are registrated trademarks of Ingenieurbuero Paule. All other products mentioned are registered trademarks or trademarks of their respective owners.
Questions or problems regarding this web site should be directed to Webmaster.
Copyright 1998-2016 Ingenieurbuero Paule. All rights reserved. Impressum.
Last modified: 2016-01-31.
Printer friendly