install tools

This commit is contained in:
2023-02-08 17:32:24 +03:00
parent b216f5dece
commit 634ddb4622
4 changed files with 6 additions and 0 deletions

1
install.cmd Normal file
View File

@ -0,0 +1 @@
powershell .\tools\add_odbc_connection.ps1

View File

@ -0,0 +1,3 @@
$targetdir="DefaultDir="+(Split-Path (Get-Location))+"\components"
Write-Host 'Installing GhOST Library to' $targetdir
Add-OdbcDsn -Name "GhOST Library" -DriverName "Microsoft Access Text Driver (*.txt, *.csv)" -DsnType "User" -Platform "64-bit" -SetPropertyValue $targetdir

View File

@ -0,0 +1 @@
Remove-OdbcDsn -Name "GhOST Library" -DsnType "User" -Platform "64-bit" -ErrorAction 'SilentlyContinue'

1
uninstall.cmd Normal file
View File

@ -0,0 +1 @@
powershell ./tools/remove_odbc_connection.ps1