PDA

View Full Version : Determining Service Pack Levels of Required Software



RPatML
05-25-2004, 07:01 PM
Our installation in a Basic MSI type.

For our software, we have requirements to have certain service pack levels for other required software. For example, the target machines must have:

* Windows 2000 Server or Professional with Service Pack 4 or higher
* SQL Server 2000 with Service Pack 3a or higher
* Office XP with Service Pack 3 or higher
* Internet Explorer 6
* Crystal Reports v8.5 or v9.

So, our question is: for each of these bulleted items above, how can we get our InstallShield project to determine that all the correct software is installed before continuing? If the above requirements are not met, we would like the installation to provide a message and then stop without doing anything to the target machine.

RobertDickau
05-25-2004, 07:58 PM
It sounds as if a combination of launch conditions and system searches should do what you want. Launch conditions get checked near the beginning of the installation; if a launch condition fails, it displays a message of your choice to the end user and then exits the installation. A system search looks for a file on the user's system or reads a registry value, and populates an MSI property with the file's location or the registry's value; you can use the results of a system search in a launch condition as you see fit.

If you haven't, perhaps look at the System Search view of the InstallShield X environment.