1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-22 18:15:47 +02:00

Pre-check desktop icon option in installer when not updating

This commit is contained in:
chylex 2018-02-17 10:52:19 +01:00
parent d91b4bd1f3
commit 9f63357a92

View File

@ -106,6 +106,15 @@ begin
Result := (PageID = wpSelectDir) and (UpdatePath <> '')
end;
{ Check the desktop icon task if not updating. }
procedure CurPageChanged(CurPageID: Integer);
begin
if CurPageID = wpSelectTasks then
begin
WizardForm.TasksList.Checked[WizardForm.TasksList.Items.Count-1] := (UpdatePath = '');
end;
end;
{ Install VC++ if downloaded. }
procedure CurStepChanged(CurStep: TSetupStep);
begin