.Net Framework check

Post specialized setup scripts you have created here.
Post Reply
grego
Posts: 5
Joined: Tue Jun 28, 2005 5:37 am

.Net Framework check

Post by grego »

Hi,
When you need to make sure that the .net framework is installed and install it the seup program blows out to a very big size. I change the script so instead of installing the framework it prompts the user to download it from Microsoft Web site.

So here is what I do
  • Use a messagbox to prompt the use with the message (you need .net do you want to download it or terminate now)
  • Then I check the variable is equal to Yes for download
  • and then terminate
It's simple and saves heaps for space
sinan
Site Admin
Posts: 1037
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Post by sinan »

Actually, with web builds, you'd save even more space.
A web build will not include the .NET runtime inside the main setup, and it will download it from the web, on-the-fly, only if required.
Moreover when it is required, it will download only 10.5 MB, instead of 23 MB. The same runtime just compresses a lot smaller with InstallAware.

So thanks for the script, but the best solution here would be to do a web build, in my opinion.
Post Reply