Submitted by Alanoll
To silently install a package that uses InstallShield, you will have to first create a setup.iss file on a working operating system. Use a test PC if you can.
- Start the setup application using the -R (case-sensitive) switch from command prompt.
- The setup screens will appear as they normally would, asking you questions as you go along, such as destination directory, etc. It's important that you do not choose the "Restart the computer now" option. If you do, you will terminate your batch when you run an unattended installation.
- After installation has completed, go to your C:\Windows\ (or C:\WINNT\) directory and take out the setup.iss file. Put this setup.iss file in the same directory where your application setup.exe file resides in.
- Start the Silent installation using:
start /wait %systemdrive%\install\Application\Application_name\Setup.exe -s
- Repeat the steps for other setup applications that uses InstallShield.
» Installing Installshield Applications from RunOnceEx CD
Installshield applications will fail to install when executed from RunOnceEx on CD, unless a log file location is specified. An example of this is shown below, adapt this example for your InstallShield applications (shown in bold):
REG ADD %KEY%\045 /VE /D "Kerio Personal Firewall 2.1.5" /f REG ADD %KEY%\045 /V 1 /D "%CDROM%\apps\KPF\Setup.exe -s -f2\"%systemdrive%\kerio.log\"" /f
You can then delete the kerio.log file afterwards.
» How do I identify an InstallShield package?
Most of them can be extracted. The Properties box of Setup.exe should show something like "InstallShield (R) Setup Launcher" or something similar. And lastly, if you see a setup.iss file in the directory, then its definitely InstallShield!
Last updated 2005-12-17 23:27:42 by Alanoll [Edit]