Including Custom Prerequisites in a Setup Project to install Hot Fix

Today I came across a discussion that is going on in MSDN Forums on the topic “How to check for a Microsoft Hot Fix in the client system and install if it is not installed in it?”. After going through the threads and reading few articles on this, I would like to share a quick work-around  for this problem which might help someone who is facing the same problem.

Briefly, the solution is to create a bootstrapper package for the required Hot Fix and use it as prerequisite in the Setup Project

We can create the bootstrapper using a tool called “Bootstrapper Manifest Generator” (BMG). This can be downloaded (free) from the following location.

We can check registry to confirm whether the Hot Fix is installed or not. We need to set several Bypass-if conditions to make sure that we install the Hot Fix only when it is particular version of OS and the Hot Fix has not been installed.

* Usually Hot Fixes are Operating System specific

Here are some useful links related to this topic.

This entry was posted in Deployment and tagged , , , by Pranav. Bookmark the permalink.

About Pranav

A Software Engineer by profession and a Geek at heart. I love exploring new technologies and working on algorithmic problems. As of now, I write code for bread, butter and satisfaction. I like to develop applications, and generally that involves much more than writing code. It’s not just about hurling code, but producing something meaningful that has a measurable and positive impact, helps others and solves interesting problems.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s