Announcement

Collapse
No announcement yet.

Windows 11 support ?

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

  • Windows 11 support ?

    Just updated my subscriptions - but since 2019 there were no updates, Windows 10 was anncounced to be supported -- what about windows 11 which is out meanwhile. Any updates planed ? or is ti still fully working ?

  • #2
    Setup Factory 9 works on Windows 11. You may want to use the script posted here if you for some reason need to know the name of the operating system, or if your setup is restricted to specific operating systems.

    Code:
    -- table with the names of supported operating systems
    local tRequiredOS = { "Windows 8", "Windows Server 2012", "Windows 8.1", "Windows Server 2012 R2", "Windows 10", "Windows Server 2016", "Windows 11", "Windows Server 2019", "Windows Server 2022" };
    
    -- perform the test for required operating system
    -- add my "GetOSNameEx.lua" script to Resources > Script Files: https://forums.indigorose.com/forum/setup-factory-9-5/setup-factory-9-modules-and-resources/307788-a-revised-system-getosname
    local sOSName = System.GetOSNameEx();
    local bPassed = false;
    for i = 1, #tRequiredOS do
        if (String.Find(sOSName, tRequiredOS[i]) ~= -1) then
            bPassed = true;
            break;
        end
    end
    
    -- show dialog if requirement failed
    if not bPassed then
        local sMsgLine1 = "The following minimum system requirements for this setup were not met:";
        local sMsgLine2 = "Click OK to continue or Cancel to abort the setup.";
        local sMsgText = sMsgLine1 .. "\r\n\r\n";
        for i = 1, #tRequiredOS-2 do
            sMsgText = sMsgText .. tRequiredOS[i] .. ", ";
        end
        sMsgText = sMsgText .. tRequiredOS[#tRequiredOS-1] .. " or " .. tRequiredOS[#tRequiredOS] .. "\r\n\r\n" .. sMsgLine2;
        if (Dialog.Message("Notice", sMsgText, MB_OKCANCEL, MB_ICONEXCLAMATION, MB_DEFBUTTON1) == IDCANCEL) then
            Application.Exit(5);
        end
    end
    Ulrich

    Comment


    • #3
      perfect thanks.

      Comment

      Working...
      X