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?
Check for .NET 2.0 but don't install it
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Hi!
View the script checknet20.
After the line
Add something like
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.
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 60 guests