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)"
|
2021-01-17 15:26:26 -05:00
|
|
|
|
$url = 'https://staticcontent.cricut.com/a/software/win32-native/Cricut%20Design%20Space%20Install%20v6.2.100.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
|
|
|
|
|
2021-01-17 15:26:26 -05:00
|
|
|
|
checksum = '04DC285D4CED444E0D01AACEC88E59677315E6CCC0C31A8755297ECCF16D67CF'
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|