473,473 Members | 1,768 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Conditional Installation of .NET Applications

Hi I've developped a VB.NET Windows Application. I want to install my
application in a freshly installed Windows 2000 machine. I need the
following during my application installation ...

1. Check whether .NET Framework is installed or not, if not install the
..NET Framework first
2. Check MySQL server and MySQL ODBC driver is installed or not, if not
install them
3. Check for Sound card, if not present inform to user
4. Check for printer, if not attached inform to user
5. Check the OS and the latest service pack (say Windows 2000 with SP4
minimum)
6. Check Administrator Previledge to install the application
7. Want to change the target machine's IP Address during installation

Can any one help me with the above queries ???
(plz explain in detail if possible)

Thanx 4 ur kind replay.

Mr Utkal Ranjan, New Delhi.
Nov 20 '05 #1
2 1033
Hi,

1) Plugin for vs.net 2003. Adds bootstrap to install framework in setup
projects.
http://www.gotdotnet.com/community/w...A-D187D16F41F1

3) Add a reference to system.management. This will list all sound devices.
Dim moReturn As Management.ManagementObjectCollection

Dim moSearch As Management.ManagementObjectSearcher

Dim mo As Management.ManagementObject

moSearch = New Management.ManagementObjectSearcher("Select * from
Win32_SoundDevice")

moReturn = moSearch.Get

For Each mo In moReturn

Debug.WriteLine(mo("Name"))

Next

4) Same as above. Use Win32_Printer instead.

Ken

-------------------

"Mr Utkal Ranjan Pradhan" <ut*****@hotmail.com> wrote in message
news:uG*************@tk2msftngp13.phx.gbl...
Hi I've developped a VB.NET Windows Application. I want to install my
application in a freshly installed Windows 2000 machine. I need the
following during my application installation ...

1. Check whether .NET Framework is installed or not, if not install the
.NET Framework first
2. Check MySQL server and MySQL ODBC driver is installed or not, if not
install them
3. Check for Sound card, if not present inform to user
4. Check for printer, if not attached inform to user
5. Check the OS and the latest service pack (say Windows 2000 with SP4
minimum)
6. Check Administrator Previledge to install the application
7. Want to change the target machine's IP Address during installation

Can any one help me with the above queries ???
(plz explain in detail if possible)

Thanx 4 ur kind replay.

Mr Utkal Ranjan, New Delhi.

Nov 20 '05 #2
Thanx friend for ur valuable information.
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike | last post by:
I'm writing an application in VB.NET that uses various 3rd party ActiveX components. My problem is that if I register these ActiveX components (using COMSelfRegister) during the install and later...
1
by: 3f | last post by:
Hello; We have made a web application that people can download from our web site and installed on: Windows XP Windows 2000 Professional Windows 2003 Server Windows 2000 Server
0
by: InstallAware | last post by:
For Press Inquiries: Sinan Karaca InstallAware Software Corporation 336 Guerrero Street, San Francisco CA 94103 415 358 4094 (voice/fax) sinank@installaware.com http://www.installaware.com/ ...
1
by: srihari | last post by:
Hai, I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My machine is Intel XEON 64bit. The installation went well except for the creation of tools catalog. When I tried to install the tools...
4
by: brAccess | last post by:
I recently installed Access 2003 and immediately noticed problems with applications that work fine in 2000 and XP. I use conditional formatting on continuous forms for a number of reasons. When...
8
by: Dimitri Furman | last post by:
Given: Access 2002/2003 A subform in datasheet or continuous view, placed on a tab page (this last may or may not matter) Conditional formatting applied to some controls on the subform - format...
6
by: Black Wolf Standing | last post by:
....is not being recognized by applications on my system. I use Windows XP Home Edition SP2 with all patches and updates. I have .NET 1.1 on my system and applications for .NET 1.1 work great. Just...
6
by: ljh | last post by:
(note: this is being posted to the dotnet groups because of thier expertise in app development and network administration) I cannot, for the life of me, remember the name of an application that I...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.