SMS switch

You can include the installation in a .bat file containing multiple commands. Use the SMS switch to prevent the Setup.exe from closing before the setup is complete.

You might want to invoke the installation image from a .bat file so that you can run additional commands after the completion of a silent install, and prior to a restart. Use the SMS switch to prevent setup.exe from closing before the installation is complete. This will cause the .bat file to wait until the setup is complete before moving to the next statement in the .bat file. You can use the SMS switch in conjunction with both silent and non-silent installations.

To use the SMS switch as part of a silent installation:

  1. Complete the steps to create a response file in Create response files for iSeries Access for Windows installations.
  2. To start the silent installation and SMS switch, type the following at a command prompt in the iSeries™ Access for Windows® installation image directory:
    setup.exe -SMS -s -f1d:\dir\file.iss -f2d:\dir\file.log
    where -f1 is is an optional parameter where you can specify the response file (file.iss) to use, and -f2 is an optional parameter where you can specify the location and name for the log file that the silent installation creates.
Notes:
  1. SMS must be uppercase; this is a case-sensitive switch.
  2. For more information about silent installations, see Perform a silent installation of iSeries Access for Windows.