ricktendo Posted June 19, 2013 Share Posted June 19, 2013 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 Quote Link to comment Share on other sites More sharing options...
Thiersee Posted June 19, 2013 Share Posted June 19, 2013 (edited) 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 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 June 19, 2013 by Thiersee Quote Link to comment Share on other sites More sharing options...
ricktendo Posted June 19, 2013 Share Posted June 19, 2013 Thanks for the update list, instead I went ahead and used my LDR listSince 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/dotnet45orgMD5: 0926e87e32f80a8349e51a254d5749b5Size: 226 MBThis 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) Quote Link to comment Share on other sites More sharing options...
McRip Posted June 20, 2013 Share Posted June 20, 2013 If you want to test it. I released my Update Installer for .net 4.5 today. .NETFRAMEWORK 4.5 Update Pack Installer JUNE 2013Prerequisite: .NETFRAMEWORK 4.5 RTMNote: 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 systemsThis 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: KB2737083KB2742613KB2756203KB2803754KB2805221KB2805226KB2828841KB2848798Silent install command: /VERYSILENT /NORESTART Download Update Pack for x86 and x64 systemsFile: NET45UP-2013.06.20.exeCRC-32: 06cec2a5MD4: 388271faca7701be754d842de75f2a3cMD5: 542f2592f6eb14ab5c047bc7d8a2a7d6SHA-1: 41d9c52ab63faef51fbfe4c9bf067d1da123dfd6 Quote Link to comment Share on other sites More sharing options...
Mr_Smartepants Posted June 20, 2013 Share Posted June 20, 2013 (edited) 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 June 20, 2013 by Mr_Smartepants Quote Link to comment Share on other sites More sharing options...
ricktendo Posted June 20, 2013 Share Posted June 20, 2013 You scrip will only work if users rename the MSP files to add x86 or x64, you should use the original names and instead put the MSP files in a x86 or a x64 folder But nice going!!! CrAzYs 1 Quote Link to comment Share on other sites More sharing options...
Mr_Smartepants Posted June 21, 2013 Share Posted June 21, 2013 (edited) Well in that case, here's the same code altered to use x86/x64 folders instead of in the filenames. @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 June 21, 2013 by Mr_Smartepants Quote Link to comment Share on other sites More sharing options...
ricktendo Posted June 21, 2013 Share Posted June 21, 2013 Works like a charm Quote Link to comment Share on other sites More sharing options...
Gideon Posted August 3, 2013 Share Posted August 3, 2013 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-kb2804582NDP45-kb2805221NDP45-kb2805226NDP45-kb2833957NDP45-kb2840642 Will the Addon be updated to reflect the latest patches? Thanks, Gideon. Quote Link to comment Share on other sites More sharing options...
rulman Posted August 6, 2013 Share Posted August 6, 2013 *Reaper* Update Addon Quote Link to comment Share on other sites More sharing options...
ricktendo Posted August 7, 2013 Share Posted August 7, 2013 Well in that case, here's the same code altered to use x86/x64 folders instead of in the filenames. @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_endm_s you think its possible for you to mod this to work on a live system to get the curret directory? Quote Link to comment Share on other sites More sharing options...
Mr_Smartepants Posted August 7, 2013 Share Posted August 7, 2013 (edited) 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 August 7, 2013 by Mr_Smartepants Quote Link to comment Share on other sites More sharing options...
Gideon Posted August 23, 2013 Share Posted August 23, 2013 Looks like AbandonWare, Not a priority for the creator and maintainer. I direct anyone who's interested to the Addon by abbodi1406. It's a WA file, very much up to date and works flawlessly. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.