我想知道如何通过Inno Download Plugin发送输入UserPage
来idpAddFile
下载它。下载后,我想使用该 zip 并安装应用程序。
现在我有这个:
var
UserPage: TInputQueryWizardPage;
procedure InitializeWizard;
begin
{Page for input Version}
UserPage := CreateInputQueryPage(wpWelcome,
'Number of Version', 'example : 1.8.20',
'Program will download your input');
UserPage.Add('Version:', False);
UserPage.Values[0] := GetPreviousData('Version', '1.8.20');
{Download file from input}
idpAddFile(
'127.0.0.1/repository/GU/my-apps/app.zip/{input}/ia-client.zip-{input}.zip',
ExpandConstant('{tmp}\{input}.zip}'));
idpDownloadAfter(wpReady);
end;
感谢您的建议和帮助