shopbot: Also install shopbot USB drivers

the installer has a dotnet3.5 dependency, for some stupid reason
This commit is contained in:
Adam Goldsmith 2020-02-27 21:20:17 -05:00
parent c59949aa8b
commit a4dfbc20cf
2 changed files with 24 additions and 15 deletions

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>shopbot</id>
<version>3.8.50</version>
<version>3.8.50.20200227</version>
<title>Shopbot Control Software</title>
<authors>ShopBot Tools</authors>
<owners>Adam</owners>
@ -15,6 +15,7 @@
<tags>router cnc shopbot</tags>
<dependencies>
<dependency id="vcredist2005" />
<dependency id="dotnet3.5" />
</dependencies>
</metadata>
</package>

View File

@ -1,14 +1,22 @@
$packageName = 'shopbot'
$installerType = 'exe'
$silentArgs = '/verysilent /suppressmsgboxes /norestart /sp-'
$url64 = '\\ucs\software\Setup_Shopbot3_8_50.exe'
$checksum64 = '40ceb163b1cb6395bd4704db1da5359b20ee769ddb413609e4608d780db44c33'
$checksumType64 = 'sha256'
$validExitCodes = @(0,1223)
Install-ChocolateyPackage -PackageName $packageName `
-FileType $installerType `
-SilentArgs $silentArgs `
-Url64bit $url64 `
-ValidExitCodes $validExitCodes `
-Checksum64 $checksum64 `
-ChecksumType64 $checksumType64
$basePackageArgs = @{
PackageName = 'shopbot'
FileType = 'exe'
SilentArgs = '/verysilent /suppressmsgboxes /norestart /sp-'
Url64 = '\\ucs\software\Setup_Shopbot3_8_50.exe'
Checksum64 = '40ceb163b1cb6395bd4704db1da5359b20ee769ddb413609e4608d780db44c33'
ChecksumType64 = 'sha256'
ValidExitCodes = @(0, 1223)
}
$driverPackageArgs = @{
PackageName = 'shopbot-driver'
FileType = 'exe'
File64 = 'C:\Program Files (x86)\ShopBot\ShopBot 3\Drivers\ShopBotControllerV201\Sb_Controller_Drivers.exe'
Checksum64 = 'a244f6fb77ac40d1ee5c6988a3b74bcf55345de871684684ab7f4f54e2a20f7b'
ChecksumType64 = 'sha256'
}
Install-ChocolateyPackage @basePackageArgs
Install-ChocolateyInstallPackage @driverPackageArgs