mirror of
https://github.com/tnodir/fort
synced 2024-11-14 22:19:05 +00:00
Add installation scripts.
This commit is contained in:
parent
db617151c9
commit
17852cf2a5
12
bin/install.cmd
Normal file
12
bin/install.cmd
Normal file
@ -0,0 +1,12 @@
|
||||
@rem Install driver as service
|
||||
|
||||
@if [%1] == [] exit
|
||||
|
||||
@set T=wipf
|
||||
@set F=wipfdrv%1.sys
|
||||
@set W=%WINDIR%\System32\Drivers
|
||||
|
||||
copy /Y "%~dp0%F%" %W%
|
||||
|
||||
sc create %T% binPath="%W%\%F%" type=kernel start=boot DisplayName="Windows IP Filter"
|
||||
sc start %T%
|
3
bin/install32.cmd
Normal file
3
bin/install32.cmd
Normal file
@ -0,0 +1,3 @@
|
||||
@rem Install driver as service for x86
|
||||
|
||||
@install 32
|
3
bin/install64.cmd
Normal file
3
bin/install64.cmd
Normal file
@ -0,0 +1,3 @@
|
||||
@rem Install driver as service for x64
|
||||
|
||||
@install 64
|
12
bin/uninstall.cmd
Normal file
12
bin/uninstall.cmd
Normal file
@ -0,0 +1,12 @@
|
||||
@rem Uninstall driver
|
||||
|
||||
@if [%1] == [] exit
|
||||
|
||||
@set T=wipf
|
||||
@set F=wipfdrv%1.sys
|
||||
@set W=%WINDIR%\System32\Drivers
|
||||
|
||||
sc stop %T%
|
||||
sc delete %T%
|
||||
|
||||
del /F %W%\%F%
|
3
bin/uninstall32.cmd
Normal file
3
bin/uninstall32.cmd
Normal file
@ -0,0 +1,3 @@
|
||||
@rem Uninstall driver for x86
|
||||
|
||||
@uninstall 32
|
3
bin/uninstall64.cmd
Normal file
3
bin/uninstall64.cmd
Normal file
@ -0,0 +1,3 @@
|
||||
@rem Uninstall driver for x64
|
||||
|
||||
@uninstall 64
|
Loading…
Reference in New Issue
Block a user