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!

Nullaritorna
Posts: 3
Joined: Thu Feb 15, 2007 4:45 pm

NET Framework 3.0

I set 3.0 as minimum NET version in prerequisetes settings page. I tested the installer on my pc, but the installation failed becouse the program didn't recognize the NET 3.0. What's the problem?
On my pc I have windows xp pro and NET 3.0 (redistributable package) in italian.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

What "Install Conditions" you use for the prerequisite? Also make sure you have "Create EXE setup file" option set in the "Media->Bootstrapper" tab. Also try to reproduce this behavior on other computers.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Nullaritorna
Posts: 3
Joined: Thu Feb 15, 2007 4:45 pm

Hi Gigi.
I used the "simple" project type and I set NET 3.0 in the "predefined launch conditions".
Regards,
Manu
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Manu,

It seams to be a problem regarding the .Net 3.0 detection on WinXP. Even Windows Installer is wrong in this detection. In a future version of AI we will try to improve this with a custom detection.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Nullaritorna
Posts: 3
Joined: Thu Feb 15, 2007 4:45 pm

In a technical article ( http://msdn2.microsoft.com/en-us/library/aa480198.aspx ), Microsoft suggested to use this registry key in order to detected NET 3.0:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0\Setup

which value has to be "1" (DWORD value)

What condition does AI check now?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Manu,

For now Advanced Installer checks the version of the mscoree.dll file and the version of this file was not updated with the .NET 3.0 release (because .NET 3.0 is an "additive" release to the .NET 2.0). In a future version of AI we will improve this with a custom detection.

Until then you can create an additional launch condition based on the result of a registry search (the "Search" is not available for the "Simple" type of project).

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”