Index: unrealinst.iss
===================================================================
RCS file: /cvs/unreal/src/win32/Attic/unrealinst.iss,v
retrieving revision 1.1.6.11
diff -u -r1.1.6.11 unrealinst.iss
--- unrealinst.iss	1 Mar 2009 18:37:59 -0000	1.1.6.11
+++ unrealinst.iss	31 Oct 2010 21:17:05 -0000
@@ -100,6 +100,35 @@
 Type: files; Name: "{app}\DbgHelp.Dll"
 
 [Code]
+#ifdef USE_SSL
+procedure CheckIfClicked(Sender: TObject);
+begin
+  case Wizardform.Taskslist.State[4]
+  of
+    cbchecked:
+      begin
+        Wizardform.TasksList.ItemEnabled[10]:=false;
+        WizardForm.TasksList.Checked[10]:=false;
+      end;
+    cbgrayed:
+      begin
+        Wizardform.TasksList.ItemEnabled[10]:=false;
+        WizardForm.TasksList.Checked[10]:=false;
+      end;
+    cbunchecked:
+      begin
+        Wizardform.TasksList.ItemEnabled[10]:=true;
+      end;
+   end;
+end;
+
+procedure CurPageChanged(CurPage: Integer);
+begin
+   if (CurPage = wpSelectTasks)then
+       Wizardform.TasksList.OnClickCheck:=@CheckIfClicked;
+end;
+#endif
+
 function isxdl_Download(hWnd: Integer; URL, Filename: PChar): Integer;
 external 'isxdl_Download@files:isxdl.dll stdcall';
 function isxdl_SetOption(Option, Value: PChar): Integer;
@@ -113,7 +142,6 @@
 tmp, msvcrt, msvcpt: String;
 hWnd,answer: Integer;
 begin
-
     if ((CurPage = wpReady)) then begin
       msvcrt := ExpandConstant('{sys}\msvcr71.Dll');
       msvcpt := ExpandConstant('{sys}\msvcp71.Dll');

