Showing results for 
Show  only  | Search instead for 
Did you mean: 

Repackaging and drivers

A (large) application I'm repackaging installs a number of drivers along the way, and a bunch of "oem.inf" and "oem.pnf" files are dropped into the C:\Windows\inf folder.

I'm guessing those won't play nicely in a repackaged installation.

What's the best practice for handling .inf files when repackaging?
(1) Reply
Hi Terry,

Best practice is to try and isolate where the *.inf files started out, and set them up in the InstallShield *.ism project as Driver Installation components. Many of these drivers are supported by the DIFx runtimes that InstallShield uses from Microsoft.

For other types of drivers that DIFx doesn't handle, it might be necessary to invoke the *.inf files using SetupApi.dll (which, you can search these forums for how to wire this up, there are examples).