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.
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)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
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
14 years ago
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.
so that the conversation will remain readable.