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   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


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.
Answered 07/16/2010 by: VBScab
Red Belt

Please log in to comment
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.
Answered 07/16/2010 by: jayteeo
Purple Belt

Please log in to comment