/build/static/layout/Breadcrumb_cap_w.png

Hotfix as Prerequisite

Hi Guys - Been a while and this is somewhat urgent. I have to create an MSI (using Wise Package Studio) which depending on the operating system, has different securitypatch/hotfix prerequisites. I would also want for the MSI to install these prerequisites if not found.

What is the cleanest approach of doing this? Is there a "System Search" that will check for hotfixes? Do I just try to install the security patch anyways and ignore the exit code if it returns one indicating the patch is already installed? TIA.

0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 13 years ago
Red Belt
0
You could search for the folder, a file in that folder and/or the registry entry in the regular 'Uninstall' branch. That's your choice. I wouldn't install hotfixes, unless your MSI is purely for internal consumption: clients generally don't like things like that being forced upon them. In the latter scenario, pop up a message detailing the hotfix(es) required and bail.
Posted by: jayteeo 13 years ago
Purple Belt
0
Hey VBScab - Ultimately, I took the approach of a VBScript with the proper logic. The package I've created is actually a change to the autorun settings which will go out to Windows Servers. For these settings to actually affect the system, a hotfix is required. Hotfixes could easily be detected as installed in versions prior to 2008 in the registry. This would have been ideal w/ use of appsearch however, post-Vista, the registry subkey is no longer used. I had to resort to a WMI query on the Win32_QuickFixEngineering class.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ