c++ code (from a newbie)

J

JH

I have the following set of commands to install a filter driver:
rundll32.exe setupapi, InstallHinfSection DefaultInstall 132
..\Mydriver.inf

I want to run this commands from within a C++ code. How can I do it? I am a
newbie
and given to organize a setup project.

Help appreciated ...
 
D

Dan Plimak

Depending on the functionality of your setup project, you might be better
off writing the whole thing in a script, such as VBS or Javascript.

If you want to do this via C++, use either CreateProcess() or
ShellExecute().

-- Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top