2020-03-10 11:49:09 -04:00
|
|
|
|
|
|
|
|
|
$ErrorActionPreference = 'Stop';
|
2020-03-09 10:22:27 -04:00
|
|
|
|
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
2020-03-10 11:49:09 -04:00
|
|
|
|
$url = 'https://staticcontent.cricut.com/a/software/win32-native/Cricut%20Design%20Space%20Install%20v5.6.19.exe'
|
2020-03-09 10:22:27 -04:00
|
|
|
|
|
|
|
|
|
$packageArgs = @{
|
|
|
|
|
packageName = $env:ChocolateyPackageName
|
|
|
|
|
unzipLocation = $toolsDir
|
2020-03-10 11:49:09 -04:00
|
|
|
|
fileType = 'EXE'
|
2020-03-09 10:22:27 -04:00
|
|
|
|
url = $url
|
|
|
|
|
|
2020-03-10 11:49:09 -04:00
|
|
|
|
softwareName = 'cricutdesignspace*'
|
2020-03-09 10:22:27 -04:00
|
|
|
|
|
2020-03-10 09:53:55 -04:00
|
|
|
|
checksum = 'E9096A6E69A46AE816075392B722436237811A48E570C5007C9822B7C31B2753'
|
2020-03-10 11:49:09 -04:00
|
|
|
|
checksumType = 'sha256'
|
|
|
|
|
|
|
|
|
|
silentArgs = '/S'
|
|
|
|
|
validExitCodes= @(0)
|
2020-03-09 10:22:27 -04:00
|
|
|
|
}
|
|
|
|
|
|
2020-03-10 11:49:09 -04:00
|
|
|
|
Install-ChocolateyPackage @packageArgs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-03-09 10:22:27 -04:00
|
|
|
|
|
2020-03-10 11:49:09 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|