Jump to content

Microsoft .NET Framework 4.5


*Reaper*

Recommended Posts

Great news, I have successfully used this to install the MSP updates side by side with the .net 4.5 installer

 

;!@Install@!UTF-8! RunProgram="dotnetfx45_full_x86_x64 /passive /msioptions \"PATCH=%%T\\%%P\\NDP45-KBXXXXXXX.msp;%%T\\%%P\\NDP45-KBXXXXXXX.msp\" /norestart" GUIMode="2";!@InstallEnd@!
If somebody can install the default .net framework 4.5 and give me a list of updates Windows Update asks for, I can build a test installer for you all to try and verify
Link to comment
Share on other sites

If somebody can install the default .net framework 4.5 and give me a list of updates Windows Update asks for, I can build a test installer for you all to try and verify

 

Hi Rick,

 

here the updates windows is aking for

5y74o7opli1q.jpg
 
BTW, I installed Win7 professional german, NET-FW 4.5 and german LP.
 
Regards, Thiersee
 
Edit:
 
After installing those updates and restart Windows no more update request concerning FW 4.5.
Edited by Thiersee
Link to comment
Share on other sites

Thanks for the update list, instead I went ahead and used my LDR list

Since its just a proof of concept I did not make it silent, this is just to show you can have the best of both worlds (original files and quick install)

Download: http://adf.ly/1713566/dotnet45org

MD5: 0926e87e32f80a8349e51a254d5749b5

Size: 226 MB

This is what is contained

 

\x64 (extracted msp updates)\x86 (extracted msp updates)dotnetfx45_full_x86_x64.exe (original installer)
Here is my working 7zipsfx config.txt (excludes silent switches.) You will need to update your SFX to v1.5+ in order for the %%P variable to work (it changes to x86 or x64 depending on what OS you run it on)

 

;!@Install@!UTF-8! RunProgram="dotnetfx45_full_x86_x64 /msioptions \"PATCH=%%T\\%%P\\NDP45-KB2519265.msp;%%T\\%%P\\NDP45-KB2737083.msp;%%T\\%%P\\NDP45-KB2742613.msp;%%T\\%%P\\NDP45-KB2756203.msp;%%T\\%%P\\NDP45-KB2803754.msp;%%T\\%%P\\NDP45-KB2805221.msp;%%T\\%%P\\NDP45-KB2805226.msp;%%T\\%%P\\NDP45-KB2828841.msp;%%T\\%%P\\NDP45-KB2848798.msp\"" GUIMode="2";!@InstallEnd@!
enjoy!

Hope Reaper uses this method (also you guys who use WPI and dont like my integrated installers, this will work)

Link to comment
Share on other sites

If you want to test it.

 

I released my Update Installer for .net 4.5 today.

 

.NETFRAMEWORK 4.5 Update Pack Installer JUNE 2013

Prerequisite: .NETFRAMEWORK 4.5 RTM

Note: On Vista, Windows 7 systems right-click and run the setup as administrator!
Do not use it for Windows 8!

All available updates and hotfixes are included.

This installer is for both of x86 and x64 systems


This installer must be run as Administrator on Vista and Windows 7 systems.

The updates will be installed within a few seconds...

The following updates for x86 and x64 are included so far:


KB2737083
KB2742613
KB2756203
KB2803754
KB2805221
KB2805226
KB2828841
KB2848798

Silent install command: /VERYSILENT /NORESTART



Download Update Pack for x86 and x64 systems
File: NET45UP-2013.06.20.exe
CRC-32: 06cec2a5
MD4: 388271faca7701be754d842de75f2a3c
MD5: 542f2592f6eb14ab5c047bc7d8a2a7d6
SHA-1: 41d9c52ab63faef51fbfe4c9bf067d1da123dfd6

Link to comment
Share on other sites

Here's a batch script to accomplish the .msp update/install from setupcomplete.cmd (or anywhere else).

I haven't tested it in a live install, but I've done a mock-install and the logfile has the correct output.  Should be fine. ;)

 

*Edit:  Obviously you'd need to change the file paths to suit your needs...

@ECHO off & setlocal EnableDelayedExpansionSET "O_LOGFILE=%systemdrive%\install.log"FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (DIR %%i: && IF /I EXIST %%i:\sources\install.wim SET "CDROM=%%i:") >nul 2>&1ECHO>>"%O_LOGFILE%" 2>>&1 Found install-source as drive %CDROM%:PROCESSORREM :: Detect OS bit-ness on running system.  Assumes 64-bit unless 64-bit components do not exist. SET "ARCH=64" & SET "ARCHP=x64"IF /I NOT EXIST "%SystemRoot%\SysWOW64\cmd.exe" (    IF NOT DEFINED PROCESSOR_ARCHITEW6432 (SET "ARCH=32" & SET "ARCHP=x86")) ECHO>>"%O_LOGFILE%" 2>>&1 System architecture is %ARCH% bit.:PROCESSOR_end:NET_Framework_45IF /I NOT EXIST "%CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe" GOTO NET_Framework_45_endECHO>>"%O_LOGFILE%" ......................ECHO>>"%O_LOGFILE%" 2>>&1 Installing .NET 4.5 FrameworkSET "F_NET45msp="FOR /F %%m IN ('dir /b /s "%CDROM%\updates\NET45\NDP45-KB*-%ARCHP%.msp"') DO (  IF NOT DEFINED F_NET45msp (SET "F_NET45msp=%%m") ELSE (SET "F_NET45msp=!F_NET45msp!;%%m")  ECHO %%m) 1>>"%O_LOGFILE%" 2>>&1ECHO Executing: %CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe /passive /norestart /MSIOPTIONS "PATCH=%F_NET45msp%" >>"%O_LOGFILE%" 2>>&1%CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe /passive /norestart /MSIOPTIONS "PATCH=%F_NET45msp%" >>"%O_LOGFILE%" 2>>&1ECHO>>"%O_LOGFILE%" 2>>&1 Completed .NET 4.5 Framework installation:NET_Framework_45_end
Edited by Mr_Smartepants
Link to comment
Share on other sites

Well in that case, here's the same code altered to use x86/x64 folders instead of in the filenames. :D

 

@ECHO off & setlocal EnableDelayedExpansionSET "O_LOGFILE=%systemdrive%\install.log"FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (DIR %%i: && IF /I EXIST %%i:\sources\install.wim SET "CDROM=%%i:") >nul 2>&1ECHO>>"%O_LOGFILE%" 2>>&1 Found install-source as drive %CDROM%:PROCESSORREM :: Detect OS bit-ness on running system.  Assumes 64-bit unless 64-bit components do not exist. SET "ARCH=64" & SET "ARCHP=x64"IF /I NOT EXIST "%SystemRoot%\SysWOW64\cmd.exe" (    IF NOT DEFINED PROCESSOR_ARCHITEW6432 (SET "ARCH=32" & SET "ARCHP=x86")) ECHO>>"%O_LOGFILE%" 2>>&1 System architecture is %ARCH% bit.:PROCESSOR_end:NET_Framework_45SET "D_NET45path=%CDROM%\updates\NET45"IF /I NOT EXIST "%D_NET45path%\dotnetfx45_full_x86_x64.exe" GOTO NET_Framework_45_endECHO>>"%O_LOGFILE%" ......................ECHO>>"%O_LOGFILE%" 2>>&1 Installing .NET 4.5 FrameworkSET "F_NET45msp="FOR /F %%m IN ('dir /b /s "%D_NET45path%\%ARCHP%\NDP45-KB*.msp"') DO (  IF NOT DEFINED F_NET45msp (SET "F_NET45msp=%%m") ELSE (SET "F_NET45msp=!F_NET45msp!;%%m")  ECHO %%m) 1>>"%O_LOGFILE%" 2>>&1ECHO Executing: %CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe /passive /norestart /MSIOPTIONS "PATCH=%F_NET45msp%" >>"%O_LOGFILE%" 2>>&1%CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe /passive /norestart /MSIOPTIONS "PATCH=%F_NET45msp%" >>"%O_LOGFILE%" 2>>&1ECHO>>"%O_LOGFILE%" 2>>&1 Completed .NET 4.5 Framework installation:NET_Framework_45_end
Edited by Mr_Smartepants
Link to comment
Share on other sites

  • 1 month later...

Hi, I downloaded the latest .NET Framework 4.5 by Reaper dating Feb. 2013 and the following updates are not inluded in the Addon and are requested by Win7:

 

NDP45-kb2804582

NDP45-kb2805221

NDP45-kb2805226

NDP45-kb2833957

NDP45-kb2840642

 

Will the Addon be updated to reflect the latest patches?

 

Thanks, Gideon.

 

Link to comment
Share on other sites

Well in that case, here's the same code altered to use x86/x64 folders instead of in the filenames. :D

 

@ECHO off & setlocal EnableDelayedExpansionSET "O_LOGFILE=%systemdrive%\install.log"FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (DIR %%i: && IF /I EXIST %%i:\sources\install.wim SET "CDROM=%%i:") >nul 2>&1ECHO>>"%O_LOGFILE%" 2>>&1 Found install-source as drive %CDROM%:PROCESSORREM :: Detect OS bit-ness on running system.  Assumes 64-bit unless 64-bit components do not exist. SET "ARCH=64" & SET "ARCHP=x64"IF /I NOT EXIST "%SystemRoot%\SysWOW64\cmd.exe" (    IF NOT DEFINED PROCESSOR_ARCHITEW6432 (SET "ARCH=32" & SET "ARCHP=x86")) ECHO>>"%O_LOGFILE%" 2>>&1 System architecture is %ARCH% bit.:PROCESSOR_end:NET_Framework_45SET "D_NET45path=%CDROM%\updates\NET45"IF /I NOT EXIST "%D_NET45path%\dotnetfx45_full_x86_x64.exe" GOTO NET_Framework_45_endECHO>>"%O_LOGFILE%" ......................ECHO>>"%O_LOGFILE%" 2>>&1 Installing .NET 4.5 FrameworkSET "F_NET45msp="FOR /F %%m IN ('dir /b /s "%D_NET45path%\%ARCHP%\NDP45-KB*.msp"') DO (  IF NOT DEFINED F_NET45msp (SET "F_NET45msp=%%m") ELSE (SET "F_NET45msp=!F_NET45msp!;%%m")  ECHO %%m) 1>>"%O_LOGFILE%" 2>>&1ECHO Executing: %CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe /passive /norestart /MSIOPTIONS "PATCH=%F_NET45msp%" >>"%O_LOGFILE%" 2>>&1%CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe /passive /norestart /MSIOPTIONS "PATCH=%F_NET45msp%" >>"%O_LOGFILE%" 2>>&1ECHO>>"%O_LOGFILE%" 2>>&1 Completed .NET 4.5 Framework installation:NET_Framework_45_end
m_s you think its possible for you to mod this to work on a live system to get the curret directory?
Link to comment
Share on other sites

You mean the current directory where the installer files are stored?

Sure.  Shouldn't be too much of a problem.

Thanks for asking, you actually pointed out a minor bug in my code (fixed now).

 

Here ya go:

@ECHO off & setlocal EnableDelayedExpansionSET "O_LOGFILE=%systemdrive%\install.log":PROCESSORREM :: Detect OS bit-ness on running system.  Assumes 64-bit unless 64-bit components do not exist. SET "ARCH=64" & SET "ARCHP=x64"IF /I NOT EXIST "%SystemRoot%\SysWOW64\cmd.exe" (    IF NOT DEFINED PROCESSOR_ARCHITEW6432 (SET "ARCH=32" & SET "ARCHP=x86")) ECHO>>"%O_LOGFILE%" 2>>&1 System architecture is %ARCH% bit.:PROCESSOR_end:NET_Framework_45REM :: Change below path to where the NET45 installer is stored.SET "D_NET45path=%CD%\updates\NET45"IF /I NOT EXIST "%D_NET45path%\dotnetfx45_full_x86_x64.exe" GOTO NET_Framework_45_endECHO>>"%O_LOGFILE%" ......................ECHO>>"%O_LOGFILE%" 2>>&1 Installing .NET 4.5 FrameworkSET "F_NET45msp="FOR /F %%m IN ('dir /b /s "%D_NET45path%\%ARCHP%\NDP45-KB*.msp"') DO (  IF NOT DEFINED F_NET45msp (SET "F_NET45msp=%%m") ELSE (SET "F_NET45msp=!F_NET45msp!;%%m")  ECHO %%m) 1>>"%O_LOGFILE%" 2>>&1ECHO>>"%O_LOGFILE%" 2>>&1 Executing: %D_NET45path%\dotnetfx45_full_x86_x64.exe /passive /norestart /MSIOPTIONS "PATCH=%F_NET45msp%"%D_NET45path%\dotnetfx45_full_x86_x64.exe /passive /norestart /MSIOPTIONS "PATCH=%F_NET45msp%" >>"%O_LOGFILE%" 2>>&1ECHO>>"%O_LOGFILE%" 2>>&1 Completed .NET 4.5 Framework installation:NET_Framework_45_end
Edited by Mr_Smartepants
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...