Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I launch an app directly from an INF file?

Status
Not open for further replies.

SatansDisciple

Programmer
Nov 2, 2004
2
AU
Hi,

Is there anyway to directly launch an application via any section within an INF file?

The only execution action I can find mention of is running another INF section with the following:

[INFHeader]
"rundll32 setupapi,InstallHinfSection DefaultInstall 132 .\install.inf"

What I'm after is something similar to an Autorun.inf command:

[INFHeader]
open="c:\temp\app.exe"

I can't do an AddReg into a RunOnce key either, the app needs to run straight away.

Any ideas?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top