I would like to install the patch only when operating system is newer than Windows XP. I want to pop a message for user informing that this patch can't be installed on Windows XP / Windows 2000
I tried to place condition in General Information - Install condition. But it does not work as its for Main product and Not Patch.
Is there any elegant way of achieving this ?
Install condition for Patch
Posted 31 March 2015 - 16:48
Posted 07 April 2015 - 08:25
The LaunchConditions standard action (which is responsible for evaluating these conditions) usually has a condition of "Not Installed" to make sure it only runs during first time install, so that an already installed application can be uninstalled (or repaired or updated) even if the condition is no longer met. You need to change that condition, both in the InstallUI and the InstallExecute sequence.
InstallSite.org twitter facebook
HOWTO: Logging an MSI installation