安装之后-》双击“结束安装”-》点击“操作”-》on preload:
result = File.Run(SessionVar.Expand("%AppFolder%//mysql-5.1.6-alpha-win32//bin//mysqld-nt.exe"), "", "", SW_SHOWNORMAL, false);-- 这些操作在屏幕显示之前执行。
Registry.SetValue(HKEY_LOCAL_MACHINE, "Software//Microsoft//Windows//CurrentVersion//Run", "MySoftWare", "C://Program Files//cosl_ZWL_App//mysql-5.1.6-alpha-win32//bin//mysqld-nt.exe", REG_SZ);
2011-04-0713:39:46