How to integrate .Net Framework 1.1 SP1, 3.5 SP1, and 4.8.1 into one single unattended installer

Discussion in 'Application Software' started by jineso, Dec 26, 2024.

  1. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    294
    57
    10
    Hi,
    Does there is any fully offline installer for 2, 3, 3.5 for .net framework installer?
    Sometimes I need to install it to machines that do not have access to internet yet.
    When I googled it I've only found the add through the windows features which requires access to internet.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    294
    57
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    294
    57
    10
    I've edited the title as I downloaded the files, but how to integrate them all?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. migascalp

    migascalp MDL Senior Member

    Sep 18, 2009
    459
    785
    10
    Try
    Code:
    start "" /wait /b "%~dp0NDP1.1sp1-KB867460-X86.exe" /i /q
    start "" /wait /b "%~dp0dotnetfx35.exe" /quiet /norestart
    start "" /wait /b "%~dp0NDP481-x86-x64-AllOS-ENU.exe" /q /norestart /LCID 1033
    
    and use Winrar to create a SFX archive
     
  5. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,801
    7,771
    210
    If you want to cover a broader range of OS, it gets more complicated. Only recent versions of Windows 10 and 11 take 4.8.1. Older versions take only 4.8, or even only 4.6.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. NewEraCracker

    NewEraCracker MDL Member

    Apr 19, 2011
    122
    117
    10
    Correct. I remember being able to install .NET Framework 4.8 on Windows 7 and Windows 8.1. From what I read that's also the maximum on Windows 10 LTSC 2019 (version 1809).

    See: learn.microsoft.com/en-us/dotnet/framework/get-started/system-requirements

    PS: For .NET Framework 3.5 full installer, if you download the English version but then want to install on a non-English system without Internet, you have to trick it by invoking the installer with the argument: /lang:ENU

    My two cents.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. jineso

    jineso MDL Senior Member

    Oct 8, 2021
    294
    57
    10
    Code:
    dotnetfx35.exe /lang:ENU
    You mean to run it like this?
    Also, is it possible to make unattended switchless installer using this switch above, I tried and used to do so in the XP era, but now do not remember the exact right way.
    Any help much appreciated.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    18,856
    19,116
    340
    @jineso

    Let's start withe the basics (as @Carlos Detweiller suggested): How many OS builds are you practically planning to service?
     
  9. NewEraCracker

    NewEraCracker MDL Member

    Apr 19, 2011
    122
    117
    10
    #9 NewEraCracker, Jan 5, 2025
    Last edited: Jan 5, 2025
    Yes. You can create a batch file with:
    Code:
    "%~dp0\dotnetfx35.exe" /lang:ENU
    And place it alongside the installer.

    They have documentation: learn.microsoft.com/en-us/dotnet/core/install/windows

    Just throwing this out there, but it seems like the decision comes down to whether you want to support the older XP and Vista, or move forward with 7 and 8.1. And then there's also the consideration of whether to include older versions of Windows 10 in the mix.

    I'd like to add that you should remember that there are separate instructions for newer operating systems. Some take the .NET Framework 3.5 from the Windows ISO.

    For Windows 8.1:
    And there are similar instructions for Windows 10:
    learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/deploy-net-framework-35-by-using-deployment-image-servicing-and-management--dism?view=windows-10

    My two cents.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...