它不会使用文件复制来移动目录,我不知道还能将目录和子目录移至应用程序吗?
[Code]
procedure InitializeWizard();
begin
idpSetOption('Username', 'username');
idpSetOption('Password', 'password;
idpAddFtpDir('ftp://example.net/game', '', ExpandConstant('{tmp}\alpha'), true);
idpDownloadAfter(wpReady);
end;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssPostInstall then
begin
// Copy downloaded files to application directory
FileCopy(ExpandConstant('{tmp}\game'), ExpandConstant('{app}\game'), false);
end;
end;