install tools
This commit is contained in:
1
install.cmd
Normal file
1
install.cmd
Normal file
@ -0,0 +1 @@
|
||||
powershell .\tools\add_odbc_connection.ps1
|
||||
3
tools/add_odbc_connection.ps1
Normal file
3
tools/add_odbc_connection.ps1
Normal 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
|
||||
1
tools/remove_odbc_connection.ps1
Normal file
1
tools/remove_odbc_connection.ps1
Normal file
@ -0,0 +1 @@
|
||||
Remove-OdbcDsn -Name "GhOST Library" -DsnType "User" -Platform "64-bit" -ErrorAction 'SilentlyContinue'
|
||||
1
uninstall.cmd
Normal file
1
uninstall.cmd
Normal file
@ -0,0 +1 @@
|
||||
powershell ./tools/remove_odbc_connection.ps1
|
||||
Reference in New Issue
Block a user