Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey Guys,

Quick question...
I am using WMI method win32_product::install to install a software(VC++). But it doesn't wait for the installation to complete.

Is there any way to execute this method and wait till the installation is over? Thanks in advance...

-- Varun

After googling, I found __InstanceDeletionEvent class that can be queried. But I am unable to understand how it works... Can any one direct me to some sample???
Posted
Updated 21-Jan-13 21:07pm
v2

1 solution

You already asked this question at http://www.codeproject.com/Messages/4476725/Wait-for-a-WMI-method-to-return.aspx[^]. Please do not post the same question in multiple forums.
 
Share this answer
 
Comments
Varun Pandey 22-Jan-13 5:22am    
Yes, I posted the same question on the discussion board also - thinking that it might be a minor issue. However, as you can see, no one replied me there. So, this is another permutation I tried to check if starting a new thread may have better visibility to anybody who can help. Anyways, could you help me with my problem???
Richard MacCutchan 22-Jan-13 5:36am    
If no one responds then maybe no one has the answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900