Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Please Help me for making a software Setup which is Depended on the hardware if the hardware is not attached with the software then the software can not be accessiable.
Posted 28-Apr-13 20:56pm
Comments
Bernhard Hiller at 29-Apr-13 2:11am
   
What's the point? A "Setup" is for INSTALLING software. Do you want to prevent the installation when that hardware is not there? Or do you want to prevent your application from running when the hardware is not there?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You normally don't do that. You normally prevent the software from running if the hardware is not present. You don't prevent the software from being installed.
 
At least in the world of USB devices, you install the software FIRST because the same installation usually installs the drivers for the hardware so that they can be installed when the user plugs the device in for the first time.
 
Also, admins would hate you for doing this because if the software needs to be pre-installed without the hardware, as in pre-building workstations before they're deployed to user desks, they can't install your software until after the machines are on the desk. That can add a bunch of manual labor that admins prefer not to do.
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 400
1 Jochen Arndt 200
2 Richard MacCutchan 135
3 DamithSL 95
4 Maciej Los 95
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,032
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,220


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 29 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100