PDA

View Full Version : .Net framework prerequisites without shipping complete framework every time



NewsArchive
06-08-2007, 02:50 AM
Hi

I'm working on a tiny application needing .Net 2.0 framework, so I add it as
a Core PreRequisite. This makes my installer grow to about 23 MB, evidently
the complete .Net installer is packaged with my app.

Probably a great share of my users already has the framework, and so have
downloaded about 22,5 MB of unnessecary data.

Is it possible, as an alternative to always shipping the framework, to build
a SetupBuilder project that checks for framework-installation, and only if
the required framework is missing, lets the user download and install it?

Best regards

Kasper

NewsArchive
06-08-2007, 02:50 AM
Hi Kasper,

Yes, absolutely no problem! We are doing this in all of our Consulting
setup projects.

Do not use the built-in PreRequisites feature. Upload the .NET 2 Framework
runtime to your web site. Check from your script if .NET2 or .NET3 is
available on the target machine (see "Get System Information" -> ".NET
Status" function). If this is not the case, offer a .NET 2 installation.
If user accept it, download the runtime from your web site into the
temporary Windows folder and execute it.

For example (see attached screenshot). This method is used in the Clarion 7
installation.

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
06-08-2007, 06:25 AM
Thank you for the quick reply - that was very helpful.

I have now managed to build the setup program that I wanted.

Best regards

Kasper

NewsArchive
06-08-2007, 06:25 AM
Perfect! Thank you for the update.

Friedrich