|
-
May 27th, 2003, 01:28 PM
#1
Thread Starter
Lively Member
C# Build program for non VS.NET users not working
I created a program in C#.
When I try and distribute it to people who don't have the .NET framework or VS the program is not working...
They get a `Can't initialise app` Error right when they start the app....
Is the Framework required when distributing apps?
I am distributing both my .lib and .exe.
-
May 27th, 2003, 01:40 PM
#2
Is the Framework required when distributing apps?
yes.
-
May 27th, 2003, 02:13 PM
#3
Thread Starter
Lively Member
Package and Deployment Wizard
So I guess I need to use a Package and Deployment Wizard...just like in VB6?
I can't find it in my menu...has it been renamed?
-
May 27th, 2003, 02:40 PM
#4
PowerPoster
Just tell the user they must have the .net framework installed to use your application. Make it known that they can visit Windows Update and obtain it.
I don't include it in my apps I distribute, but I make it known that the .net framework is required to run my application. I provide a link to windows update to help them get to it quicker. Plus, these people should be updating their windows anyway! 
I am sure there is some reg key you can look at to see if the framework is installed when you are running a setup. If it isn't there, you can provide a custom message to the user stating that their computer needs the .net framework installed to run this app, then you can open explorer and automatically go to the windows update page or something...
Just a thought...
-
May 28th, 2003, 06:59 AM
#5
Thread Starter
Lively Member
Think of LAN-parties...you can't use windows update when you aren't connected to the internet...that's a big disadvantage.
-
May 28th, 2003, 07:32 AM
#6
Hyperactive Member
If you want to create a setup package just open Visual Studio, and go to new Project, then choose "SETUP and DEPLOYMENT Projects".
Hope I could help
Stephan
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
-
May 28th, 2003, 08:26 AM
#7
Hyperactive Member
Heres an tutorial on how to do it:
http://www.c-sharpcorner.com/Code/20...upProjects.asp
Hope I could help,
Stephan
Keep Smiling - even if its hard 
Frankie Says Relax, wossname Says Yeah!
wossname:--Currently I'm wearing a gimp suit and a parachute.
C# - Base64 Blog
-
May 28th, 2003, 10:00 AM
#8
Thread Starter
Lively Member
-
Jun 25th, 2003, 07:58 AM
#9
Hyperactive Member
you can also rollout the .net framework/app using active directory
-
Jun 25th, 2003, 08:26 AM
#10
Hyperactive Member
There is something on Microsoft's site, cleverly named .Net Bootstrap. Not sure the link. That will allow the user to install .NET if it is not present and then install your app.
..::[ kleptos]::..
- Database Administrator (MSSQL 2000)
- Application Developer (C#)
- Web Developer (ASP.NET)

-
Jun 26th, 2003, 03:30 PM
#11
Sleep mode
This is more detailed on how to create VS.NET setup packages .
http://www.vijaymukhi.com/documents/...snet/chap4.htm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|