A reader emailed about a problem he was having with the installation of prerequisites. He was wanting to install .NET 2.0, Windows Installer 3.1, a Hotfix for Windows 2000, and another prerequisite, but was getting “the installation appears to have failed” message.
He read my post from May 20, 2010 entitled, “The Joys of Prerequisite Editing”, and was puzzled because he had not set any command line options for any of the prerequisites. In the post, I mentioned that my problem was caused by the wrong combination of command line options for SQL Server on the Application to Run tab of the Prerequisite Editor.
The worst case I have seen is when you are trying to install SQL Server 2008 Express. You need to get the command line options just right with that prerequisite. However like the reader, I have never modified the command line options for .NET 2.0, Windows Installer 3.1, or any hotfixes. I have never had to.
When you get this error, try these things:
- Check the Command Line Options – if you have modified any of the options on the Application to Run tab for a prerequisite, the error might be due to that. To get the right combination of options, create a batch file and run that prerequisite’s installation from the command line. When you get it running from the command line, you can copy the command line options into the prerequisite and go from there.
- Change the Prerequisite Order – Right-click in the Redistributables view select Set Prerequisite Order. Some prerequisites need to be run before others. For example, Windows Installer 4.5 needs to be run before .NET Framework 3.5 SP1.
- Check if You Need Reboots – Some prerequisites need a reboot afterwards in order to work. Using the previous example, Window Installer 4.5 generally needs a reboot afterwards, before you try to install .NET Framework 3.5 SP1
Those are my thoughts on the subject. If anyone else has a suggestion, please leave a comment that we all can read.