|
-
Feb 18th, 2006, 07:54 AM
#1
Thread Starter
Lively Member
.NET framework Question
Hey,
I am making this program in Visual Basic 2005, and it will only run if I am using .NET Framework v2.0, so, Is there a way I can make it install .NET framework v2.0 when I publish it so that it can run on other computers.
Thanks,
Chris
-
Feb 18th, 2006, 08:08 AM
#2
Junior Member
Re: .NET framework Question
If you are using the Express Edition I think you can't do that with the build-in publisher. I think you'll need to use another tool to create an installer for your application and have it check for the .net version in the registry on the target machine. If it is not 2.0, either display a message or install dotnetfx.
If I'm wrong and you can actually do that with the Express Editions, please let me know how :-)
-
Feb 18th, 2006, 08:49 AM
#3
Re: .NET framework Question
Nah, I think jannemann was correct, you need to use another installer. One other method to do is to inform the users before they install, or tell them to download it from Microsoft Update.
I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)
-
Feb 18th, 2006, 08:13 PM
#4
Re: .NET framework Question
The VS 2005 Express editions only support ClickOnce deployment. A ClickOnce installer can deploy the Framework with your app as the bootstrapper is built-in. You should read about ClickOnce and determine whether it is suitable for your needs. If not then you would need to either just provide the Framework redistributable with your program and tell the user to install it themselves or else use a third-party installer. There are some freeware ones around, like Inno and NSIS. Note that these are both very powerful as they are sriptable, but they are not so user-friendly as the VB Express Publish function.
-
Feb 19th, 2006, 07:43 AM
#5
Re: .NET framework Question
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
|