How to add a prerequisitis to a VB 2005 project

I need to be able to bind or have the user be prompted to install USB drivers, when I am installing my vb program.
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.

AndyAinscowFreelance programmer / ConsultantCommented:
That should be the job of your installer, not the VB program itself.
cmdolcetAuthor Commented:
OK so how would I be able to bind it to the installer?
AndyAinscowFreelance programmer / ConsultantCommented:
Depends on which installer you use.
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

cmdolcetAuthor Commented:
Its the default normal installer. Not the click once deployment.
Vadim RappCommented:
Assuming that you are using Setup and Deployment Project in VS2005, you need to add a prerequisite to it. Here's the article:

Since your prerequisite is in fact custom, you need to create it first. This seems to be the tool:

The tool itself can be downloaded from this link:

If all this does not work, then you need a professional installation-authoring tool like Installshield, capable of using all features of Windows Installer, compared to very limited subset implemented in Setup and Deployment Project.

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
cmdolcetAuthor Commented:
Thanks for the link. How can I add in non Microsoft drivers, such as USB drivers or other 3rd party drivers.

I was using the following link for reference:
Vadim RappCommented:
You need to obtain (or to create), the installation of the driver, and add it as a pre-requisite using the tool.
cmdolcetAuthor Commented:
OK, thank you...what if the driver is already loaded? It seems the way I set it up in the pre-requisite it still tries to push the driver over and confuses the user.

How can I avoid this?
Vadim RappCommented:
If installation of the driver is made according to standards, it will handle it easily, i.e. it will detect existing driver, or upgrade an older one.

Driver installation probably can be run silently, so it just does its thing without any prompts. Depending on how it's made, there can be some command-line switches for that - find them out and specify in the prerequisite.
AndyAinscowFreelance programmer / ConsultantCommented:
Installer not app
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
Visual Basic.NET

From novice to tech pro — start learning today.