.Net Framework 4.5.1 Launch Condition not working - Advanced Installer Community
overgaardmorten
Posts: 2
Joined: Wed May 21, 2014 6:20 pm

.Net Framework 4.5.1 Launch Condition not working

I have a problem with one of my customers who is trying to install a package developed wit AI 10.9
My client is trying to install my software on a Windows 8 machine with .Net framework 4.5.2 installed.
When installing our product an error saying that out software cannot be installed on systems with versions of .net framework lower than 4.5.1.??


In the Launch Conditions --> Software tab, we have set .Net Framework to ".Net Framework 4.5.1". How come its not possible to specifify that .Net Framework 4.5.1 is the minimum version????


Regards Morten
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: .Net Framework 4.5.1 Launch Condition not working

Hello Morten and welcome to Advanced Installer forums,

I'm not sure why you encountered this behavior.
In order to have a better view about this, can you please send us the .AIP(project file) to support at advancedinstaller dot com?
In the Launch Conditions --> Software tab, we have set .Net Framework to ".Net Framework 4.5.1". How come its not possible to specifify that .Net Framework 4.5.1 is the minimum version????
When you selected the .Net Framework 4.5.1 option in the Software Launch Conditions Tab from the Launch Conditions page, you selected the Minimum .NET Framework version.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
overgaardmorten
Posts: 2
Joined: Wed May 21, 2014 6:20 pm

Re: .Net Framework 4.5.1 Launch Condition not working

Mail has been sent (yesterday) with the project attached.

Any progress?

Regards Morten
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: .Net Framework 4.5.1 Launch Condition not working

Hello Morten,

So far this seems to be an Advanced Installer issue. Please give us some time so we can further investigate this and we'll get back to you as soon as we have a conclusive reply. Until then, as a workaround you can proceed like this:
- go to "Launch Conditions page -> Software tab" and uncheck the predefined ".NET Framework" launch condition
- go to "Search" page and add a new extended search (NET_SEARCH_PROP) like this:
  • Criteria: Registry value with specified content
    Registry value: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\Release
    Value: 378674
    Comparison: Greater than
- go to "Launch Conditions page -> Custom tab" and add a new custom launch condition like this:
  • Condition: NET_SEARCH_PROP
    Description: [ProductName] cannot be installed on systems with .NET Framework version lower than 4.5.1
- build and run your project

Also, you can take a look on "How to: Determine Which .NET Framework Versions Are Installed" article which could be useful for you.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: .Net Framework 4.5.1 Launch Condition not working

Hello,

This was fixed in version 11.3 of Advanced Installer released on June 17th, 2014.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
softwareguy74
Posts: 1
Joined: Mon Jun 30, 2014 10:50 pm

Re: .Net Framework 4.5.1 Launch Condition not working

I don't think this has been fixed. Just downloaded a trial version and having this problem with .NET Framework 4.0 requirement. I'm running 11.3 of Advanced Installer.

Any chance this will be resolved anytime soon?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: .Net Framework 4.5.1 Launch Condition not working

Hello,

I'm not sure why you encountered this behavior.
In order to have a better view about this, can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”