|
-
Apr 16th, 2003, 04:37 PM
#1
Thread Starter
Registered User
Creating a Setup file
Does anyone know how to create a setup package in .NET that will not only check for the .NET framework on the computer but if it doesn't find it, will automatically install it. I know how to get it to check for the framework and abort the installation, but I can't seem to figure out how to force it to automatically install the framework if it doesn't detect it. Is this possible?
-
Apr 17th, 2003, 09:16 AM
#2
Hyperactive Member
hmmm
I am not sure exactly how to do it... but its my understanding you wouldnt be able to include it with your installation...
Correct me if I am wrong but if its not installed, you will have to direct them to DL it from MS....
Anjari
-
Apr 17th, 2003, 05:26 PM
#3
I wonder how many charact
You can include the framework with your distribution (on CD preferrably)...
As far as forcing the user install the copy of the framework that you would distribute with your application, I believe that would be unnecessary.
-
Jan 13th, 2004, 11:18 AM
#4
Addicted Member
Is there after checking for the .NET framework to launch the bootstrap to install it from your .NET applications set up program? In other words, rather than just telling the user it needs to be installed to just install it?
-
Jan 13th, 2004, 11:40 AM
#5
Hyperactive Member
The 'official' position is not to install it as part of your setup. The microsoft site states, yes check for it and then exit the setup with a message saying the Framework must be installed first. Yes I don't know why either.
-
Jan 13th, 2004, 11:45 AM
#6
Addicted Member
Well, is there a way to manipulate the .NET Framework Bootstrap to only run IF it detects that it needs to?
Why does MS feel the need to make things so damn difficult!
-
Jan 13th, 2004, 11:55 AM
#7
Hyperactive Member
Don't have the exact info to hand, however I know I have seen an example for DMAC which checks the registry entry for the version installed and feel sure research along those lines will yield results. I'm guessing but perhaps the reason for install it seperately is because a) the Framework is 23.1mb and b) by directing you to the site for installation you will always install the current version.
-
Jan 13th, 2004, 11:59 AM
#8
There is a bootstrap project going on at GotDotNet. I haven't actually tried this but I've heard good things:
http://www.gotdotnet.com/Community/W...a-d187d16f41f1
-
Jan 13th, 2004, 12:00 PM
#9
Addicted Member
Very true, but a pain nonetheless (especially when end users aren't very computer literate) - but thank you for your assistance!
Cheers!
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
|