Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 6be4008

Browse files
author
dirk
committed
Fixed setting the directory before executing the install scripts.
1 parent cc80bcc commit 6be4008

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

AppVeyor/Install.cmd

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,21 @@ if exist "C:\InnoSetup" goto strawberry
88

99
mkdir %INNOSETUP%
1010
cd %INNOSETUP%
11+
echo Downloading innosetup-5.5.9-unicode.exe
1112
appveyor DownloadFile https://github.com/ImageMagick/ImageMagick-Windows/releases/download/20160630/innosetup-5.5.9-unicode.exe
1213
cd ..
1314

1415
:strawberry
1516

17+
if "%1" == "x64" goto x64
18+
1619
set STRAWBERRYX86=C:\Strawberry-x86
17-
if exist %STRAWBERRYX86% goto x64
20+
if exist %STRAWBERRYX86% goto install
1821

1922
mkdir %STRAWBERRYX86%
2023
cd %STRAWBERRYX86%
24+
echo Downloading strawberry-perl-5.20.1.1-32bit.msi
2125
appveyor DownloadFile https://github.com/ImageMagick/ImageMagick-Windows/releases/download/20160630/strawberry-perl-5.20.1.1-32bit.msi
22-
cd ..
2326

2427
:x64
2528

@@ -28,11 +31,12 @@ if exist %STRAWBERRY64% goto install
2831

2932
mkdir %STRAWBERRY64%
3033
cd %STRAWBERRY64%
34+
echo Downloading strawberry-perl-5.20.1.1-64bit.msi
3135
appveyor DownloadFile https://github.com/ImageMagick/ImageMagick-Windows/releases/download/20160630/strawberry-perl-5.20.1.1-64bit.msi
32-
cd ..
3336

3437
:install
3538

39+
cd C:\ImageMagick\AppVeyor
3640
powershell -ExecutionPolicy Unrestricted .\Install-InnoSetup.ps1
3741
if "%1" == "x86" powershell -ExecutionPolicy Unrestricted .\Install-StrawberryPerl-x86.ps1
3842
if "%1" == "x64" powershell -ExecutionPolicy Unrestricted .\Install-StrawberryPerl-x64.ps1

0 commit comments

Comments
 (0)