Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How do I deploy a .Net app on a PC without the framework installed?
 

How do I deploy a .Net app on a PC without the framework installed?

Hi,

Sorry, I know this is probably very simple but I am fighting a deadline and need a quick answer (please!).

I have a standalone VB.Net app which compiles and runs perfectly on any machine with the framework installed... but when I shift it to a machine that doesn't the app doesn't work.  
(I'm just copying the exe file and the config file I have for the app).

Can someone give me a quick rundown on what I need to do to deploy on PC's which don't have the framework on them?  Do I have to create some sort of installation package or something?  (I'd look up a book but am at a client site away from home and don't have any of my textbooks!)

Any help much appreciated!

Mike.
MigrationUser 1  Tuesday, February 11, 2003 11:01 PM
Obviously you can simply install the framework on the clients, you can get the framework from Microsoft at:

http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/829/msdncompositedoc.xml

Or, if you need to actually create an installation file, read up on the bootstrapper sample:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/vsredistdeploy.asp
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/830/msdncompositedoc.xml
MigrationUser 1  Tuesday, February 11, 2003 11:53 PM
We ended up using InstallShield to handle this.  There is an option to check and then install, if needed, the .net framework.  It was pretty slick.
MigrationUser 1  Friday, March 14, 2003 3:12 PM
nzmike,

The framework has to be installed on the client machine. The previous posts detail a couple of ways to do this.
MigrationUser 1  Sunday, March 16, 2003 5:26 PM

You can use google to search for other answers

Custom Search

More Threads

• AppUpdater component remove microsoft office program short cut
• Windows installer 3.1 prerequisite always ask for reboot, Help
• Localized Resource File not automatically included in Setup / Deployment project
• Packaging ActiveX in CAB using C#
• Why would msi need vcredist if merge modules are included in a setup project?
• publishing an adressbook application
• Deactivate Windows Installer Search for Broken Features or Components for some files
• install latest version of product without uninstalling previous version
• Showing download progress during standard web based setup
• Windows Installer and Net Framework