Running an Internet Installation Silently

InstallShield 2026

To run an Internet installation silently, pass it the desired Setup.exe command-line options by calling the Ether object’s SetProperty method, as in the following examples:

ether.SetProperty("is::CmdLine","-s -f1\"C:\\My Folder\\Mydir.iss\"");

ether.SetProperty("is::CmdLine","-s -f1\"C:\\My Folder\\Mydir.iss\" -f2\"C:\\My Folder\\Mydir.log\"");

Note the following:

When running a silent Internet installation, you must specify the -f1 option; there is no valid default location for the response file in Internet installations.
When recording or running a silent Internet installation, you must specify a fully qualified absolute path if using the -f1 or -f2 option; these options do not accept URLs.
The second argument to SetProperty must use the escape sequences (\\ and \") to specify backslashes and quotation marks, as in the preceding examples.

See Also