We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

How do I deploy a .NET program to a computer with no internet access?

FrancineTaylor
on
Medium Priority
228 Views
Last Modified: 2010-04-16

I have a small .NET program that I have written for a client who refuses to allow her business computer access to the internet.  Thus, as I understand it, I cannot just use the regular .NET deployment procedure, because it will expect to be able to get the .NET libraries from the Microsoft website.

Can I just download the .NET installation package and burn it onto a CD with my program, so that it will install from that CD?  How would I set that up?  Can I use the .NET deployment setup this way, so that all the user has to do is run setup.exe?
Comment
Watch Question

Commented:
of course you can do it without connection to the internet - I'm talking about  .NET 1.1 but it should be the same for 2.0.

In the deployemnt, the option to include insalling of .NET framework was disabled and if you try to enable it, it will give you an error - I presume to stop installing .NET framework everytime you install a program as it needs to be done only once.

I would suggest doing it manually, as most likely you would have to see your client at least once or you can burn on the CD dotnetfx.exe (that's the name of the file by the way) and just put in your manual or just aske them to run this one first, before installing your program.

I don't think how you can include it in  your C# (or VB.NET) deployment projet.

You can right or use already written programs in C++ for example to run several .exe files for your installation, but it can't apparently be done in C# (or VB.NET) as your .NET application will run without .NET installed.

good luck,
yurich
Alexandre SimõesSoftware Architect
CERTIFIED EXPERT

Commented:
You can embedded all the files you need inside the installation package.
Even on clients with an available internet connection it doesn't make cense to do it other way.

Take a look here:

http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx?ArticleID=0488bf0b-7cf6-4e31-a9b5-38aa4ae8cd47

Commented:
2AlexCode,

it's not about including ALL or ANY files, it's just about .NET framework installation file. Now try to see the logic - you program in C# is trying to install .NET framework - how is it supposed to run without .NET framework installed??

Regs,
Yurich

Author

Commented:

So all I need is dotnetfx.exe?  Does it matter what version of Windows they are running, and what service packs they have?  My client has Windows 98; can the .NET package install to a Windows version that old?
Commented:
it will not run on win95 or win3.11, but will on win98... that's all you need:

http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en

it has everything you need - download, system requirements, instructions.

good luck,
yurich

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.