How to create custom prerequisite (Bootstrapper package) for VS2008

Hi experts
I am trying to create a bootstrapper package of a USB device driver so that I can include the package as a prerequisite into my installer (I am using VS2008).

I use a program called the 'BMG' to generate the bootstrapper package.

The problem I have is this USB device driver comes in two files (.inf and .cat). They work fine as long as a user plugs the USB cable into a PC, and the Windows will automatically ask the user to locate the files.

But the scenario is if I want to get my installer to install the USB device driver (prior to installing an application program), I don't know how to do tell the bootstrapper as there isn't any .exe or .msi.

Thanks in advance.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


You need
Windows installer 4.5,
.Net Framework 3.5 or greater,
 Power shell not recommended.

Tushar Kaskhedikar
dominicwongAuthor Commented:
Sorry Tushar but I am still not sure how to do it.

it is because the bootstrapper package needs to know the name of an executable file in order to install the driver. In my case I have got .inf and .cat files.

BTW, I'd tried 'run32dll.exe' on the '.inf' file in a command window and the driver still didn't installed properly.
dominicwongAuthor Commented:
rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 ./<??.inf>

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dominicwongAuthor Commented:
it works
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Utilities

From novice to tech pro — start learning today.