From 05c5c3a8ae909b78dad0074cac6d6001aa1a10ff Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 31 Aug 2013 09:07:08 +0000 Subject: [PATCH] Win-Installer: ability to create secondary installations. Disable desktop item for 2ndary (would overwrite existing) git-svn-id: trunk@42531 - --- tools/install/win/lazarus.iss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/install/win/lazarus.iss b/tools/install/win/lazarus.iss index 3cf9e0ec90..91c5eda563 100644 --- a/tools/install/win/lazarus.iss +++ b/tools/install/win/lazarus.iss @@ -310,6 +310,8 @@ begin // index 0 is the caption/ 1 the checkbox WizardForm.TasksList.ItemEnabled[0] := not(IsSecondaryCheckBoxChecked or IsSecondaryUpdate); WizardForm.TasksList.ItemEnabled[1] := not(IsSecondaryCheckBoxChecked or IsSecondaryUpdate); + if IsSecondaryCheckBoxChecked or IsSecondaryUpdate then + WizardForm.TasksList.Checked[1] := False; end; if CurPageId = wpSelectProgramGroup then begin