|
-
Jun 21st, 2007, 01:56 PM
#1
Thread Starter
Lively Member
-
Jun 21st, 2007, 01:57 PM
#2
Re: [2005] .Net Framework 2.0 general question
Instead of building your projects, publish them. This will create an actual install file that will take with it the 2.0 dependancies needed for your project to run.
-
Jun 21st, 2007, 02:02 PM
#3
Thread Starter
Lively Member
Re: [2005] .Net Framework 2.0 general question
is there another way? I want to use a freeware installer because i must write also values to registry, create shortcuts, show a welcome screen ....
-
Jun 21st, 2007, 02:05 PM
#4
Re: [2005] .Net Framework 2.0 general question
It's part of VS. Drop down the Build menu and select Publish.
-
Jun 21st, 2007, 02:09 PM
#5
Thread Starter
Lively Member
Re: [2005] .Net Framework 2.0 general question
No, you did not understand....
I know how to do that, but i do not want to do it that way.
That what am i asking is there another way(except publishing)?
I want to use a my own installer.
-
Jun 21st, 2007, 02:11 PM
#6
Re: [2005] .Net Framework 2.0 general question
The framework must be on the computer. Either you must package it for installation or the user must download from MS.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Jun 21st, 2007, 02:11 PM
#7
Re: [2005] .Net Framework 2.0 general question
Program build with .NET do required the Framework.
Running .NET program without the Framework is like trying to prepare a cake with recipe but without any ingredient.

Maybe .NET isn't appropriate to your need.
-
Jun 21st, 2007, 02:14 PM
#8
Thread Starter
Lively Member
Re: [2005] .Net Framework 2.0 general question
If i pack to my installer,
i have to copy the required dll's to the 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727' folder OR in my programs' directory??
-
Jun 21st, 2007, 02:16 PM
#9
Re: [2005] .Net Framework 2.0 general question
Did you look at Inno Installer? That gives a way to do everything you are asking and will package the framework installer with the installation package. There is a function that will test if the 2.o Framework is installed if it is then the regular installation continues. If not the framework is installed and then the rest of the app is installed.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Jun 21st, 2007, 02:21 PM
#10
Thread Starter
Lively Member
Re: [2005] .Net Framework 2.0 general question
I use CreateInstall.com (free) and i find it more easy to use and more powerful.
So, i have to copy the required dll's to the 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727' folder OR in my programs' directory?
-
Jun 21st, 2007, 02:23 PM
#11
Re: [2005] .Net Framework 2.0 general question
NO the framework must be installed.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Jun 21st, 2007, 02:29 PM
#12
Thread Starter
Lively Member
Re: [2005] .Net Framework 2.0 general question
So, i can not put the required .Net Framework dll's, that my application needs, to my installer and copy them to windows system folder...
The computer must have .Net Framework 2.0 installed :-(
-
Jun 21st, 2007, 02:35 PM
#13
Thread Starter
Lively Member
Re: [2005] .Net Framework 2.0 general question
thanks for the fast replies!
-
Jun 21st, 2007, 03:37 PM
#14
Re: [2005] .Net Framework 2.0 general question
If you don't what to mess with the framework , maybe you should change your approach and use another language, ASP or VB6.
But of course if your software is already build it is another thing ...
-
Jun 21st, 2007, 10:27 PM
#15
Re: [2005] .Net Framework 2.0 general question
You need to get the .NET Framework Redistributable Package, which is the dotnetfx.exe file, and distribute that with your application, then have your installer execute that file to install the Framework before installing your app. You can download that file from Microsoft or just find it on your system yourself. as it will be present somewhere, probably more than once.
-
Jun 22nd, 2007, 01:14 AM
#16
Re: [2005] .Net Framework 2.0 general question
 Originally Posted by hellas07
I use CreateInstall.com (free) and i find it more easy to use and more powerful.
To make a statement like this you must already know how to use the other installers...
-
Jun 22nd, 2007, 01:20 AM
#17
Thread Starter
Lively Member
Re: [2005] .Net Framework 2.0 general question
You are right. I'm sorry...
Thank you again for the replies!!!
-
Jun 22nd, 2007, 05:25 AM
#18
Re: [2005] .Net Framework 2.0 general question
I haven't actually checked in vb.net, but in visual studio 6, the package and deployment wizard included its own source code. same with DirectX. You could customize the install any way you wanted because you had the installer source. Custom splash screens were a main benefit.
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
|