Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
Signed-off-by: miigotu <miigotu@gmail.com>
  • Loading branch information
miigotu committed Sep 17, 2020
1 parent a918c09 commit 81501dc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions SickChill.iss
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,15 @@ begin
end;
procedure InstallPython();
var
Shell: Variant;
ZipFile: Variant;
TargetFolder: Variant;
begin
InstallDepPage.SetText('Installing Python...', '');
Shell := CreateOleObject('Shell.Application');
ZipFile := Shell.NameSpace(ExpandConstantEx('{tmp}\{filename}', 'filename', PythonDep.Filename));
TargetFolder := Shell.NameSpace(ExpandConstant('{app}\Python3'));
InstallDepPage.SetText('Installing Python...', '')
Shell := CreateOleObject('Shell.Application')
ZipFile := Shell.NameSpace(ExpandConstantEx('{tmp}\{filename}', 'filename', PythonDep.Filename))
TargetFolder := Shell.NameSpace(ExpandConstant('{app}\Python3'))
TargetFolder.CopyHere(ZipFile.Items, SHCONTCH_NOPROGRESSBOX or SHCONTCH_RESPONDYESTOALL);
CleanPython()
InstallDepPage.SetProgress(InstallDepPage.ProgressBar.Position+1, InstallDepPage.ProgressBar.Max)
Expand Down

0 comments on commit 81501dc

Please sign in to comment.