This repository was archived by the owner on Aug 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +41
-7
lines changed Expand file tree Collapse file tree 5 files changed +41
-7
lines changed Original file line number Diff line number Diff line change
1
+ Import-Module " C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1"
2
+ Install-ChocolateyPackage " StrawberryPerl" " msi" " /qn INSTALLDIR=`" C:\Strawberry`" " " file:///C:/Strawberry-x86/strawberry-perl-5.20.1.1-32bit.msi"
Original file line number Diff line number Diff line change
1
+ Import-Module " C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1"
2
+ Install-ChocolateyPackage " Ghostscript.app" " exe" " /S /NCRC" " file:///C:/InnoSetup/innosetup-5.5.9-unicode.exe"
Original file line number Diff line number Diff line change
1
+ Import-Module " C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1"
2
+ Install-ChocolateyPackage " StrawberryPerl" " msi" " /qn INSTALLDIR=`" C:\Strawberry`" " " file:///C:/Strawberry-x64/strawberry-perl-5.20.1.1-64bit.msi"
Original file line number Diff line number Diff line change 3
3
cd ..
4
4
call CloneRepositories.cmd https://github.com/ImageMagick shallow
5
5
6
- if not exist " C:\Program Files (x86)\Inno Setup 5 " choco install innosetup -y -version 5.5.2
7
- if %errorlevel% neq 0 exit /b %errorlevel%
6
+ set INNOSETUP = C:\InnoSetup
7
+ if exist " C:\InnoSetup " goto strawberry
8
8
9
- set OPTION =
10
- if " %1 " == " x86" SET OPTION = -x86
11
- choco install strawberryperl -y %OPTION% -version 5.20.1.1
12
- if %errorlevel% neq 0 exit /b %errorlevel%
9
+ mkdir %INNOSETUP%
10
+ cd %INNOSETUP%
11
+ appveyor DownloadFile https://github.com/ImageMagick/ImageMagick-Windows/releases/download/20160630/innosetup-5.5.9-unicode.exe
12
+ cd ..
13
+
14
+ :strawberry
15
+
16
+ set STRAWBERRYX86 = C:\Strawberry-x86
17
+ if exist %STRAWBERRYX86% goto x64
18
+
19
+ mkdir %STRAWBERRYX86%
20
+ cd %STRAWBERRYX86%
21
+ appveyor DownloadFile https://github.com/ImageMagick/ImageMagick-Windows/releases/download/20160630/strawberry-perl-5.20.1.1-32bit.msi
22
+ cd ..
23
+
24
+ :x64
25
+
26
+ set STRAWBERRY64 = C:\Strawberry-x64
27
+ if exist %STRAWBERRY64% goto install
28
+
29
+ mkdir %STRAWBERRY64%
30
+ cd %STRAWBERRY64%
31
+ appveyor DownloadFile https://github.com/ImageMagick/ImageMagick-Windows/releases/download/20160630/strawberry-perl-5.20.1.1-64bit.msi
32
+ cd ..
33
+
34
+ :install
35
+
36
+ powershell -ExecutionPolicy Unrestricted .\Install-InnoSetup.ps1
37
+ if " %1 " == " x86" powershell -ExecutionPolicy Unrestricted .\Install-StrawberryPerl-x86.ps1
38
+ if " %1 " == " x64" powershell -ExecutionPolicy Unrestricted .\Install-StrawberryPerl-x64.ps1
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ matrix:
11
11
fast_finish : true
12
12
13
13
cache :
14
- - C:\Program Files (x86)\Inno Setup 5 -> appveyor.yml
14
+ - C:\Strawberry-x86 -> AppVeyor\Install.cmd
15
+ - C:\Strawberry-x64 -> AppVeyor\Install.cmd
16
+ - C:\InnoSetup -> AppVeyor\Install.cmd
15
17
16
18
environment :
17
19
You can’t perform that action at this time.
0 commit comments