SAP BusinessObjects BI platform 4.0 SP4 Client Tools

The product has two installations, one for the product itself (4.0 Client Tools) and a second one for the SP4 update.

The same principles can be applied to the installation of Crystal Reports 2011 + update.

The best practice in this case turned out to be a silent installation with response files. The reason? The installation is very large. Tens of subproducts are installed by the two setups. You don’t want to capture in an MSI.
Let’s suppose we have two folders, one for each of the installers. We’re going to create the response files for each setup.

The command line for that is setup.exe -w C:\PathToFile\InstallResponseFileName.ini
The installation wizard starts. Feel free to change the options according to your needs. When the dialogs end, the response file is created.

In order to use the response file, the command line is: setup.exe -r c:\PathToFile\InstallResponseFile.ini

For the main installation (4.0 Client Tools), you need to do this routine 3 times:
– once for the installation (I0) – when the product is not installed yet
– once for the repair (make sure you install the product first) (R0) – when the product is already installed
– once for the uninstall (U0) – when the product is already installed

Another set of response files will be made for SP4 update (4.0 SP4 Client Tools). This time we’ll only do it twice:
– once for the installation (I1) – when the update is not installed
– once for the uninstall (U1) – when the update is already installed.
The SP4 doesn’t provide a repair functionality, it’s done by the main product. The updated components will be repaird, it has been checked.

If everything went smooth, we should have now 5 response files: 3 for the main installation, 2 for the update. Make sure you give them suggestive names, such as: response_uninstall_sp4.ini.
Now, if you have an install and an uninstall wrapper, here’s what you need to do:

INSTALLATION:

Check if the Product is installed
IF YES
Start Repair of the main product (R0)
ELSE
Install the main product (I0)
END

Check if the SP4 is installed
IF NOT
Install SP4 (I1)
END

Now the UNINSTALL:

Check if SP4 is installed
IF YES
Uninstall SP4 (U1)
END

Check if the main product is installed
IF YES
Uninstall the main product (U0)
END

I should also mention that each installation has it’s own registry key under Uninstall. Even more, the main installation key changes when SP4 get installed/uninstalled. These keys can be used to check if the products are installed or not.

That’s it. Enjoy and good luck.

P.S. If you encounter any problem doing this or if the explanation is unclear, please let us know. Feedback is appreciated.