Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Install condition for Patch


1 reply to this topic

Amarjeet

Amarjeet
  • Full Members
  • 77 posts

Posted 31 March 2015 - 16:48

Hi

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 ?

Regards,

Amarjeet



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

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.