Announcement

Collapse
No announcement yet.

.Net 4.5 not supported

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GregSohl
    replied
    Duh - not sure why I coded that with an "~=". Modified to allow 4.5.2 or above. Thanks for noticing.

    Also, I got the registry information from this MSDN article:

    Leave a comment:


  • Ulrich
    replied
    Thank you. As a suggestion, I wouldn't perform an absolute test against the release number with "~=", perhaps a ">=" might be safer. Should a version 4.5.3 be released, you probably wouldn't be able to downgrade the user's system to 4.5.2 and as an incremental upgrade, your product might work properly on a newer release of the framework.

    Ulrich

    Leave a comment:


  • GregSohl
    replied
    Don't have a module - we require user to pre-install .NET 4.5.2. However, here's my detection for it from my OnStartup script.

    -- Verify .NET version 4.5.2 Is Installed --
    ValidDotNetVersion="379893";

    -- .NET 4 Reg Key
    local DotNet_Key = "SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full";
    DotNetVersion=Registry.GetValue(HKEY_LOCAL_MACHINE , DotNet_Key, "Release", true);
    if DotNetVersion ~= ValidDotNetVersion then
    Dialog.Message(SessionVar.Expand("%ProductName%"). ." Setup",
    "Microsoft Framework v4.5.2 is required to run the %ProductName%. It is not included with this installation. This installation will need to be downloaded from the Microsoft and installed on the workstation before continuing.\r\n\r\nPlease contact *** Support at %SupportPhone% for additional information and further instructions.\r\n\r\nClick OK to exit this installation.",
    MB_OK, MB_ICONSTOP);
    Application.Exit(0);
    end
    -- End: Verify .NET version --


    I'll try to find where I got that from and post the link. It was "official", just don't have the link handy.

    Greg

    Leave a comment:


  • Ulrich
    replied
    Setup Factory 9 does not ship with a dependency module for .NET Framework 4.5. However, you can write your own module, and also find information about an existing dependency module in the Setup Factory 9 Modules and Resources forum.

    Ulrich

    Leave a comment:


  • tybuser
    started a topic .Net 4.5 not supported

    .Net 4.5 not supported

    Hi,

    I am using setup factory 9.2 but I noticed that it does not support .Net 4.5 as one of the dependencies.
    I need to detect .net 4.5 prompt user to download and install it. How to do it.

    thanks
Working...
X