Check for .NET 2.0 but don't install it

For all your non-technical questions.
cpdaniel
Posts: 10
Joined: Wed Jun 28, 2006 5:17 pm

Check for .NET 2.0 but don't install it

Postby cpdaniel » Wed Jun 28, 2006 5:22 pm

I need to make an installer that will check for the presence of .NET 2.0 but has no option to install it - if it's missing, the install should simply fail.

How would I go about getting that effect with IA6?
-cd

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Wed Jun 28, 2006 6:09 pm

Hi!

View the script checknet20.
After the line

Code: Select all

if Variable DOTNET20 Equals FALSE


Add something like

Code: Select all

MessageBox: Error, Cannot install without .NET 2.0.
Terminate Installation


Note that with web media blocks (also called Partial Web Deployment), you can ship an installer without .NET 2.0 embedded, and with all your application files still in it.

This way, your main setup can work without requiring an Internet connection.

And, it doesn't automatically fail if .NET 2.0 is missing - it will just try to download it, and fail if it cannot.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 42 guests