|
#AutoIt3Wrapper_Icon=C:\WINDOWS\system32\SHELL32.dll|-39 ;图标,支持EXE,DLL,ICO
#AutoIt3Wrapper_Res_Comment= ;注释
#AutoIt3Wrapper_Res_Description=系统封装辅助 ;详细信息
#AutoIt3Wrapper_Res_LegalCopyright=玺南门·网络 ;版权
#NoTrayIcon
#include <ACN_String.au3>
#include <File.au3>
#include <Process.au3>
ToolTip(@CR & " 系统部署中,期间会重启几次。。。" & @CR, @DesktopWidth - 620, @DesktopHeight - 80)
RunWait(@HomeDrive & "\oexp\hotfig\hotfig1_run.exe")
RunWait(@HomeDrive & "\oexp\hotfig\hotfig2_run.exe")
RunWait(@HomeDrive & "\oexp\hotfig\xp.bat","",@SW_HIDE)
_RunDOS('regedit /s %SystemDrive%\oexp\hotfig\xp.reg')
FileCopy (@HomeDrive & "\oexp\endoff.exe",@StartupCommonDir,0)
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce", "endoff", "REG_SZ", @StartupCommonDir & "\endoff.exe")
Sleep(6000)
Shutdown(6) |
|