Avatar of cmdolcet
cmdolcet
Flag for United States of America asked on

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.
Visual Basic.NET.NET ProgrammingProgrammingInstallation

Avatar of undefined
Last Comment
AndyAinscow

8/22/2022 - Mon
SOLUTION
AndyAinscow

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
cmdolcet

ASKER
OK so how would I be able to bind it to the installer?
AndyAinscow

Depends on which installer you use.
cmdolcet

ASKER
Its the default normal installer. Not the click once deployment.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
Vadim Rapp

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
cmdolcet

ASKER
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: https://msdn.microsoft.com/en-us/library/7eh4aaa5(v=vs.100).aspx
Vadim Rapp

You need to obtain (or to create), the installation of the driver, and add it as a pre-requisite using the tool.
cmdolcet

ASKER
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?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Vadim Rapp

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.
AndyAinscow

Installer not app