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-03-26 09:15:23 -04:00
|
|
|
|
$url = 'https://staticcontent.cricut.com/a/software/win32-native/Cricut%20Design%20Space%20Install%20v6.6.121.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-03-26 09:15:23 -04:00
|
|
|
|
checksum = 'E19EF45C5836A2742CEA1A81DF4B97D00CA3594CB0AC92FD413BD108BFA9F963'
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|