PDA

View Full Version : .NET Framework 4 issue



ChristianB
05-31-2011, 07:42 AM
Hi,

our application requires .NET Framework 4 Extended/Full and this is set as a core prerequisite. When running our setup on a machine not already containing FW4 the installation correctly detects that the component is missing and installs it properly. So far so good...until today when we experienced a pc only containing the .NET 4 Client version instead of the extended version. When trying to access the functionality requiring .NET 4 Extended we only get a message informing that .NET4 Extended must be installed and this only redirects to a Microsoft website. This won't suite our customers...

If our setup is executed on the pc mentioned above it seems to detect that FW4 is present even though it's only the Client version. So the big question is; could SetupBuilder detect that there's only the Client version of FW4 present?

linder
05-31-2011, 07:57 AM
Hello,

The following information should help:

http://msdn.microsoft.com/en-us/library/ee942965.aspx (see Detecting the .NET Framework)

http://blogs.msdn.com/b/heaths/archive/2010/05/04/detection-keys-for-net-framework-4-0-and-visual-studio-2010.aspx

You can use the above to detect a Client/Full install. Just use the "Get Registry Key Value..." script function and you are done.

Does this help?

Friedrich

linder
05-31-2011, 08:21 AM
BTW, I think it should be possible to automatically return the "type" of the installed framework (FULL/CLIENT). We'll try to add this to the next build.

Friedrich

ChristianB
06-01-2011, 03:28 AM
Thanks again for your excellent support service! Problem solved - boss happy! :D

linder
06-01-2011, 03:30 AM
Thank you for the good news :)

Friedrich