Browse files

- Win32 installer (SSL): Uncheck 'create certificate' checkbox when

  server.cert.pem exists, and check it if the file doesn't exist.
  You can still change the setting, just the default is correct now.
  The code for this was already there but was not working correctly
  causing users to go through the generation process upon each install.
  • Loading branch information...
1 parent 2a59791 commit 15767baf8df323c2894de8d37e1d5ca264b8cdde @syzop syzop committed Jun 24, 2012
Showing with 15 additions and 4 deletions.
  1. +5 −0 Changes
  2. +10 −4 src/win32/unrealinst.iss
View
5 Changes
@@ -2448,3 +2448,8 @@
get online) when SASL is not in use or when the SASL server is down.
- Changed numeric 307 (RPL_WHOISREGNICK) to 'is identified for this nick',
reported by fbi (#3399).
+- Win32 installer (SSL): Uncheck 'create certificate' checkbox when
+ server.cert.pem exists, and check it if the file doesn't exist.
+ You can still change the setting, just the default is correct now.
+ The code for this was already there but was not working correctly
+ causing users to go through the generation process upon each install.
View
14 src/win32/unrealinst.iss
@@ -304,11 +304,17 @@ end;
#ifdef USE_SSL
procedure CurPageChanged(CurPage: Integer);
begin
- if (CurPage = wpSelectTasks)then begin
- if not FileExists(ExpandConstant('{app}\server.cert.pem')) then begin
+ if (CurPage = wpSelectTasks)then
+ begin
+ if FileExists(ExpandConstant('{app}\server.cert.pem')) then
+ begin
+ WizardForm.TasksList.Checked[9]:=false;
+ end
+ else
+ begin
WizardForm.TasksList.Checked[9]:=true;
- end;
- end;
+ end
+ end
end;
#endif

0 comments on commit 15767ba

Please sign in to comment.