We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5822b2 commit 75d6309Copy full SHA for 75d6309
WebKitDev/Functions/Install-Perl.ps1
@@ -28,13 +28,15 @@ function Install-Perl {
28
[string]$installationPath
29
)
30
31
- $url = ('http://strawberryperl.com/download/{0}/strawberry-perl-{0}-64bit.msi' -f $version);
32
-
33
- $options = @();
+ $installerOptions = @();
34
35
if ($installationPath) {
36
- $options += ('INSTALLDIR="{0}"' -f $installationPath);
+ $installerOptions += ('INSTALLDIR="{0}"' -f $installationPath);
37
}
38
39
- Install-FromMsi -Name 'perl' -url $url -Options $options;
+ Install-FromChoco `
+ -Name 'strawberryperl' `
+ -Version $version `
40
+ -InstallerOptions $installerOptions `
41
+ -VerifyExe 'perl';
42
0 commit comments