关于软件安装完成后打开主页的问题
刚接触au3,问一个小白问题,有些软件安装完成后会调用IE(或默认浏览器)打开其软件主页,怎么写脚本不让其这样做? 高手啊,请解答一下 这个问题貌似比较难解决啊! 顶一下吧..... 如果非要通过AU3来完成的话我建议你在软件安装前干掉IE等装完以后再修复。 本帖最后由 gzh888666 于 2011-9-21 01:34 编辑最好的办法就是P版说的截取CreateProcess函数。希望高手能写一下如何截取CreateProcess函数CreateProcess function
Creates a new process and its primary thread. The new process runs in the security context of the calling process.
If the calling process is impersonating another user, the new process uses the token for the calling process, not the impersonation token. To run the new process in the security context of the user represented by the impersonation token, use the CreateProcessAsUser or CreateProcessWithLogonW function.
Syntax
Copy
BOOL WINAPI CreateProcess(
__in_opt LPCTSTR lpApplicationName,
__inout_optLPTSTR lpCommandLine,
__in_opt LPSECURITY_ATTRIBUTES lpProcessAttributes,
__in_opt LPSECURITY_ATTRIBUTES lpThreadAttributes,
__in BOOL bInheritHandles,
__in DWORD dwCreationFlags,
__in_opt LPVOID lpEnvironment,
__in_opt LPCTSTR lpCurrentDirectory,
__in LPSTARTUPINFO lpStartupInfo,
__out LPPROCESS_INFORMATION lpProcessInformation
);
processclose("iexplore.exe") 关键不一定是ie,有可能是其它第三方浏览器。
页:
[1]