Skip to content

Commit 81501dc

Browse files
committed
Try again
Signed-off-by: miigotu <[email protected]>
1 parent a918c09 commit 81501dc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

SickChill.iss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,15 @@ begin
403403
end;
404404
405405
procedure InstallPython();
406+
var
407+
Shell: Variant;
408+
ZipFile: Variant;
409+
TargetFolder: Variant;
406410
begin
407-
InstallDepPage.SetText('Installing Python...', '');
408-
Shell := CreateOleObject('Shell.Application');
409-
ZipFile := Shell.NameSpace(ExpandConstantEx('{tmp}\{filename}', 'filename', PythonDep.Filename));
410-
TargetFolder := Shell.NameSpace(ExpandConstant('{app}\Python3'));
411+
InstallDepPage.SetText('Installing Python...', '')
412+
Shell := CreateOleObject('Shell.Application')
413+
ZipFile := Shell.NameSpace(ExpandConstantEx('{tmp}\{filename}', 'filename', PythonDep.Filename))
414+
TargetFolder := Shell.NameSpace(ExpandConstant('{app}\Python3'))
411415
TargetFolder.CopyHere(ZipFile.Items, SHCONTCH_NOPROGRESSBOX or SHCONTCH_RESPONDYESTOALL);
412416
CleanPython()
413417
InstallDepPage.SetProgress(InstallDepPage.ProgressBar.Position+1, InstallDepPage.ProgressBar.Max)

0 commit comments

Comments
 (0)