Solved

How to activate 'Hardware Update wizard' programmatically

Posted on 2009-04-08
3
291 Views
Last Modified: 2013-12-03
Is there a way to bring this wizard up on demand?
0
Comment
Question by:yossikally
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 24098179
Yes, you can just use
TCHAR* pCmd = _T("rundll32.exe shell32.dll,Control_RunDLL hdwwiz.cpl");
 
ShellExecute(NULL,_T("open"),pCmd,NULL,NULL,SW_SHOW);

Open in new window

0
 

Author Comment

by:yossikally
ID: 24098369
Thanks.  Is there a way to have it pre-select an INF file so that I won't have to browse for it?
0
 
LVL 86

Expert Comment

by:jkr
ID: 24098574
No, sorry, not that I am aware of - that "interface" is very sparse and not officially documented.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question