View Full Version : Help-me
adding an option to download with checkbox,
example: to download only to mark the check box?
ShadowEagle
05-04-2016, 07:32
You should explain more detailed what you want to do. "Adding a checkbox" is wider range question :)
I want to put a DLC for downloads, only low when I turn on the check box
[] Download the DLC xxx
sample code, wanted to add a checkbox to use this feature
[Code]
procedure InitializeWizard();
begin
itd_init;
itd_addfile('http://www.sherlocksoftware.org/petz/files/dogz5.zip',expandconstant('{tmp}\dogz5.zip'));
itd_addfile('http://www.sherlocksoftware.org/petz/files/petz4.zip',expandconstant('{tmp}\petz4.zip'));
itd_downloadafter(wpReady);
end;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep=ssInstall then begin //Lets install those files that were downloaded for us
filecopy(expandconstant('{tmp}\dogz5.zip'),expandc onstant('{app}\dogz5.zip'),false);
filecopy(expandconstant('{tmp}\petz4.zip'),expandc onstant('{app}\petz4.zip'),false);
end;
end;
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.