Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to add a prerequisitis to a VB 2005 project

Posted on 2016-09-12
10
Medium Priority
?
74 Views
Last Modified: 2016-11-16
I need to be able to bind or have the user be prompted to install USB drivers, when I am installing my vb program.
0
Comment
Question by:cmdolcet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
10 Comments
 
LVL 45

Assisted Solution

by:AndyAinscow
AndyAinscow earned 1000 total points (awarded by participants)
ID: 41794570
That should be the job of your installer, not the VB program itself.
0
 

Author Comment

by:cmdolcet
ID: 41794807
OK so how would I be able to bind it to the installer?
0
 
LVL 45

Expert Comment

by:AndyAinscow
ID: 41794903
Depends on which installer you use.
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 

Author Comment

by:cmdolcet
ID: 41794956
Its the default normal installer. Not the click once deployment.
0
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 1000 total points (awarded by participants)
ID: 41826854
Assuming that you are using Setup and Deployment Project in VS2005, you need to add a prerequisite to it. Here's the article:
https://msdn.microsoft.com/en-us/library/7eh4aaa5(v=vs.100).aspx

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

http://ntsblog.homedev.com.au/index.php/2011/03/03/bootstrap-manifest-generator-2008-how-to-guide-v2/

The tool itself can be downloaded from this link:
https://onedrive.live.com/?cid=BFAE7F3CF4C831AC&id=BFAE7F3CF4C831AC%21150&parId=root&action=locate

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

Author Comment

by:cmdolcet
ID: 41840336
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
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 41860777
You need to obtain (or to create), the installation of the driver, and add it as a pre-requisite using the tool.
0
 

Author Comment

by:cmdolcet
ID: 41863986
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?
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 41864797
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.
0
 
LVL 45

Expert Comment

by:AndyAinscow
ID: 41889412
Installer not app
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Make the most of your online learning experience.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Six Sigma Control Plans

610 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