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

View File

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