Minimum .Net Framework - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

santoshpotdar
Posts: 1
Joined: Tue Jul 14, 2009 1:06 pm

Minimum .Net Framework

Hi,

There are some pre-requisites that can be set during setup by AI.
.Net Framework pre-requisites drop down box has entry of 1.1.

I would like to show the message that framework 1.1 must be installed and the message should not say that framework 1.1 or higher.

Can I achieve this?

Regards,
Santosh
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Minimum .Net Framework

Hi,

In order to modify that error, you must follow these steps:
- open your .aip project file with your favorite text editor
- search for the "caphyon.advinst.msicomp.MsiLaunchConditionsComponent" component
- within this component you will find a line resembling this

Code: Select all

<ROW Condition="(AI_DOTNET11_SEARCH = "#1") OR (AI_DOTNET20_SEARCH = "#1") OR (AI_DOTNET30_SEARCH = "#1") OR (AI_DOTNET35_SEARCH = "#1")" Description="[ProductName] can only be installed on systems with .NET Framework version [AI_MINDOTNETVERSION]" DescriptionLocId="AI.LaunchCondition.DotNET" IsPredefined="true" Builds="DefaultBuild"/>
- the error string you need to modify is located right after "Description=" within the quotes
- notice [ProductName] and [AI_MINDOTNETVERSION] are Windows Installer properties, use them as you see fit in your new error string
- note that you should only attempt this after you have made a backup of your original .aip file

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”