How to create custom prerequisite (Bootstrapper package) for VS2008

Posted on 2012-09-12
Last Modified: 2012-09-18
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.
Question by:dominicwong
    LVL 11

    Expert Comment


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

    Tushar Kaskhedikar

    Author Comment

    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.

    Accepted Solution

    rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 ./<??.inf>

    Author Closing Comment

    it works

    Featured Post

    Want to promote your upcoming event?

    Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

    Join & Write a Comment

    Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now