Is .Net installed?

U

UJ

We're trying to write an install program that can run from the command
prompt that will install .Net only if it needs to (mainly because it's a
large download to get all of the files.....)

Is there a way from the command prompt to know whether .Net has been
installed? Everything I've seen has been 'Check in the registry' or some
such. But I can't read the registry without the .net stuff so it's a catch
22.

TIA - Jeff.
 
M

Michael Nemtsev

Hello UJ,

Why can't u check registry record with languages other then .net? use VB/C++
for this

U> We're trying to write an install program that can run from the
U> command prompt that will install .Net only if it needs to (mainly
U> because it's a large download to get all of the files.....)
U>
U> Is there a way from the command prompt to know whether .Net has been
U> installed? Everything I've seen has been 'Check in the registry' or
U> some such. But I can't read the registry without the .net stuff so
U> it's a catch 22.

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
D

David Browne

UJ said:
I am currently only doing things in .Net. Can I create a non-.Net program
in VS.Net ?

You can create a Setup project in VS.NET, and you can also create unmanaged
C++ programs.

David
 
U

UJ

The setup program would have to be able to be run from a command line
silently - no human intervention at all.

Is this possible?
 
V

Vijay

Yes sure it is possible...what you can do is go to a directory that has a
setup.exe or .msi created through packaging, from your command prompt..

C:\test:>setup.exe /?

C:\test:>product.msi /?

That will give you how to run in Slient mode..

VJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top