c++ code (from a newbie)

  • Thread starter Thread starter JH
  • Start date Start date
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 ...
 
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
 
Back
Top