Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: MFC VC++ WMI
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 19:01pm
Edited 21-Jan-13 22:07pm

1 solution

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

Solution 1

You already asked this question at[^]. Please do not post the same question in multiple forums.
Varun Pandey at 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 at 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
0 OriginalGriff 250
1 Sergey Alexandrovich Kryukov 204
2 PIEBALDconsult 180
3 Suvendu Shekhar Giri 115
4 Peter Leow 100
0 Sergey Alexandrovich Kryukov 6,434
1 OriginalGriff 6,033
2 Peter Leow 2,534
3 Maciej Los 2,268
4 Abhinav S 2,264

Advertise | Privacy | Mobile
Web04 | 2.8.150414.1 | Last Updated 22 Jan 2013
Copyright © CodeProject, 1999-2015
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