Arie,

Yes, by default Windows automatically opens .INF file in NotePad if you use
ShellExecute(Ex).

The problem is that you have to use 'install' as the ShellExecute(Ex)
operation verb, not 'open'. SetupBuilder 5 supports 'open' only. I'll
check if we can add an 'install' option to SB5.

Perhaps ShellExecute with RunDll32.exe can help you here. Something like:

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 YourInfFileName

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
1.954.252.3910

"point. click. ship" - that's SetupBuilder 5