1
2
3
4
5
6
7
8
9
10
11
12
| @echo off
| set /p var=ÊÇ·ñÒª°²×° ¼ÓÃܹ·¼ì²â ·þÎñ(Y/N):
| if "%var%" == "y" (goto install) else (goto batexit)
|
| :install
| copy C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe InstallUtil.exe /Y
| call InstallUtil.exe %~dp0\AuthorityService.exe
| call sc start "AuthorityService"
| pause
|
| :batexit
| exit
|
|