Link to home
Start Free TrialLog in
Avatar of cmdolcet
cmdolcetFlag 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.
SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cmdolcet

ASKER

OK so how would I be able to bind it to the installer?
Depends on which installer you use.
Its the default normal installer. Not the click once deployment.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
You need to obtain (or to create), the installation of the driver, and add it as a pre-requisite using the tool.
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?
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.
Installer not app