manishraj
October 25th, 2004, 09:29 AM
Hi all,
I have one driver installation application, which installs usb drivers on the system. in the process of installation of driver, I am using dll as a background process of my installer, which actually autoclicks windows pompts by the OS as[Found new hardware], and so on, so that user won't see any windows apart from my installation.
My problem goes like this:
I am using the WH_CBT proc to supress the windows. When windows is about to create any message-box the control is transferred to our code and hence we click the message-box which gives a feeling of auto-click.
The problem is I am not able to supress the final window. In the final stage of installation the installer tries locating the driver file and then displays the final mesage with a finish button.
I was able to compare and auto-click this window also, but this happens very fast before the installler could locate the .sys file which finally results in supressing but failing my installation everytime because of non-locating the sys file. I tried with delay but this did not help.
So I want to put the final window suppression code in seprate thread.
Can any one help me in this regard.
Regards
Manish Raj
I have one driver installation application, which installs usb drivers on the system. in the process of installation of driver, I am using dll as a background process of my installer, which actually autoclicks windows pompts by the OS as[Found new hardware], and so on, so that user won't see any windows apart from my installation.
My problem goes like this:
I am using the WH_CBT proc to supress the windows. When windows is about to create any message-box the control is transferred to our code and hence we click the message-box which gives a feeling of auto-click.
The problem is I am not able to supress the final window. In the final stage of installation the installer tries locating the driver file and then displays the final mesage with a finish button.
I was able to compare and auto-click this window also, but this happens very fast before the installler could locate the .sys file which finally results in supressing but failing my installation everytime because of non-locating the sys file. I tried with delay but this did not help.
So I want to put the final window suppression code in seprate thread.
Can any one help me in this regard.
Regards
Manish Raj