Click here to Skip to main content
12,944,769 members (50,697 online)
Rate this:
 
Please Sign up or sign in to vote.
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 21-Jan-13 18:01pm
Updated 21-Jan-13 21:07pm
v2

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
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)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 4,651
CHill60 3,055
Maciej Los 2,423
Jochen Arndt 1,910
ppolymorphe 1,765


Advertise | Privacy | Mobile
Web01 | 2.8.170518.1 | Last Updated 22 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100