vDOS Package

This commit is contained in:
Peter V. Beck 2018-04-19 15:09:51 +02:00
parent 8689917094
commit d6f1f84d04
5 changed files with 60 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.swp
*.exe

BIN
icons/vdos.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -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
}

View File

@ -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
}

21
packages/vdos/vdos.nuspec Executable file
View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>vdos</id>
<version>2017.08.01</version>
<title>vDOS</title>
<authors>Jos Schaars</authors>
<owners>foo.li systeme + software</owners>
<licenseUrl>https://sourceforge.net/projects/vdos/</licenseUrl>
<projectUrl>https://sourceforge.net/projects/vdos/</projectUrl>
<iconUrl>https://raw.githubusercontent.com/peterbeck/chocolatey/master/icons/kvm.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>KVM Virt Viewer</description>
<summary>Windows 64-bit doesnt support DOS applications. Windows 32-bit included NTVDM,
to some extend facilitating DOS programs to run. PCs now come with Windows 10 64-bit installed,
mostly without an option to downgrade to Windows 32-bit. vDOS takes care of this limitation.
</summary>
<releaseNotes>initial packaging</releaseNotes>
<tags>dos vdos windows10x64</tags>
</metadata>
</package>