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:
parent
d91b4bd1f3
commit
9f63357a92
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user