chocolatey/packages/vdos/tools/chocolateyinstall.ps1

21 lines
624 B
PowerShell
Raw Normal View History

2018-04-19 15:09:51 +02:00
# vDOS for Windows
2022-07-31 21:43:07 +02:00
# 2011-2022 foo.li systeme + software
2018-04-19 15:09:51 +02:00
# download site has ssl issues, setup is included in package...
2020-05-10 16:21:44 +02:00
# package installs to 'default' location: c:\vDOS
2018-04-19 15:09:51 +02:00
$packageName = 'vdos'
2022-07-31 21:43:07 +02:00
$version = '2022.05.01'
2018-04-19 15:09:51 +02:00
$installerType = 'exe'
$scriptPath = $(Split-Path $MyInvocation.MyCommand.Path)
$setupFullPath = Join-Path $scriptPath 'vDosSetup.exe'
$silentArgs = '/VERYSILENT /NORESTART /SP-'
try {
Install-ChocolateyPackage $packageName $installerType $silentArgs $setupFullPath
Remove-Item $setupFullPath -ErrorAction SilentlyContinue
} catch {
throw $_.Exception
2020-05-10 16:21:44 +02:00
}