vDOS Package
parent
8689917094
commit
d6f1f84d04
@ -0,0 +1,2 @@
|
||||
*.swp
|
||||
*.exe
|
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
@ -0,0 +1,20 @@
|
||||
# vDOS for Windows
|
||||
# 2011-2018 foo.li systeme + software
|
||||
|
||||
# download site has ssl issues, setup is included in package...
|
||||
|
||||
# package installs to 'default' location: c:\vDOS
|
||||
|
||||
$packageName = 'vdos'
|
||||
$version = '2017.08.01'
|
||||
$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
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# vDOS Removal
|
||||
# 2011-2018 foo.li systeme + software
|
||||
|
||||
$packageName = 'vdos'
|
||||
$version = '2017.08.01'
|
||||
$vdosPath = "$env:SystemDrive" + "\vDos"
|
||||
|
||||
try {
|
||||
if (Test-Path $vdosPath) {
|
||||
Write-Host 'removing directory ' $vdosPath
|
||||
Remove-Item $vdosPath -Recurse -Force
|
||||
} else {
|
||||
Write-Host 'could not detect ' $vdosPath ' files.'
|
||||
}
|
||||
} catch {
|
||||
throw $_.Exception
|
||||
}
|
Loading…
Reference in New Issue