crashfly Posted August 20, 2011 Posted August 20, 2011 (edited) According to Solar's hotfix information, Windows6.1-KB2533552-x64 is not integratable with the install source. If that is the case, how does one get that update automatically on the install without going to Windows updates?I only ask this because I am a perfectionist. I have every other update applicable to a x64 source integrated and when checking the install, the above update (KB2533552) is still needed.So, who can help me with this one?Edit: After further investigation, this is not a problem with the KB2533552 update as previously mentioned with the old topic title ("How to integrate KB2533552?"). It appears to be an integration problem. Skip down a few posts to see details. Edited September 10, 2011 by crashfly Quote
Mr_Smartepants Posted August 20, 2011 Posted August 20, 2011 \sources\$oem$\$$\Setup\scripts\setupcomplete.cmdThat's how I install all the .NET 4 updates. Quote
crashfly Posted August 20, 2011 Author Posted August 20, 2011 \sources\$oem$\$$\Setup\scripts\setupcomplete.cmdThat's how I install all the .NET 4 updates.Oooooooo .... I like. Is there any more information on this "setupcomplete.cmd" option? That is, where can I learn all about it? Quote
Mr_Smartepants Posted August 21, 2011 Posted August 21, 2011 (edited) I wrote about my setupcomplete.cmd here: http://forum.driverp...pic.php?id=5199Adding it should be as simple as adding a line:IF EXIST %SystemRoot%\SysWOW64 start /wait WUSA %CDROM%\updates\Windows6.1-KB2533552-x64.msu /quiet /norestartIF NOT EXIST %SystemRoot%\SysWOW64 start /wait WUSA %CDROM%\updates\Windows6.1-KB2533552-x86.msu /quiet /norestartBut to be honest I haven't tried this.A description of the .msu installation process using WUSA is here: http://support.microsoft.com/kb/934307 Edited August 21, 2011 by Mr_Smartepants Quote
crashfly Posted August 21, 2011 Author Posted August 21, 2011 I must thank you Mr_Smartepants. When you posted yesterday, that prompted me to lookup how to use the "setupcomplete.cmd" structure. Although I did not find your post, I was able to piece together how to do it from a few other posts. I will be testing it when I can get a "completed" image from 'Windows 7 Toolkit'. I am glad to know at least MS did not deviate *too* far from some of the same practices they had on XP. Quote
ArMinO Posted September 1, 2011 Posted September 1, 2011 So... To integrate this update I have to do updates-x64.bat file first. Then run it. And what about setupcomplete.cmd? I'm supposed to run it? Or copy that somewhere? Or what? I'm kind of disoriented in this... Quote
Mr_Smartepants Posted September 1, 2011 Posted September 1, 2011 And what about setupcomplete.cmd? I'm supposed to run it? Or copy that somewhere? Or what? I'm kind of disoriented in this...More info here: http://tinyurl.com/3fzod9y nice_guy75 1 Quote
ArMinO Posted September 1, 2011 Posted September 1, 2011 Yes... I was looking for solution for a very long time.... So Thanks... I'll continue in my search... :nunchaku: Quote
ArMinO Posted September 3, 2011 Posted September 3, 2011 So I have found couple of solutions... And I have edited my own updates.bat file and setupcomplete.cmd.updates-x64.bat@echo off::Set Paths:: Do NOT use trailing backslash in path (i.e. C:\mnt instead of C:\mnt\ ):Path to mount folderset mnt=h:\W7T.temp\Mount:Path to source .wimset src=h:\Windows.7.SP1.SK.test\sources:Path to update packagesset updates=h:\Windows.7.add\updates-via-batch-fileclsdism /Mount-Wim /WimFile:%src%\install.wim /index:4 /MountDir:%mnt%dism /Image:%mnt% /Add-Package /PackagePath:%updates%dism /Unmount-Wim /MountDir:%mnt% /commitdism /Mount-Wim /WimFile:%src%\install.wim /index:3 /MountDir:%mnt%dism /Image:%mnt% /Add-Package /PackagePath:%updates%dism /Unmount-Wim /MountDir:%mnt% /commitdism /Mount-Wim /WimFile:%src%\install.wim /index:2 /MountDir:%mnt%dism /Image:%mnt% /Add-Package /PackagePath:%updates%dism /Unmount-Wim /MountDir:%mnt% /commitdism /Mount-Wim /WimFile:%src%\install.wim /index:1 /MountDir:%mnt%dism /Image:%mnt% /Add-Package /PackagePath:%updates%dism /Unmount-Wim /MountDir:%mnt% /commitecho .........................................echo Update integration completepauseexitsetupcomplete.cmd@echo offfor %%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 if exist %%i:\sources\install.wim set CDROM=%%i:echo Found CD-Rom as drive %CDROM%::Begin hotfix install:Defender Definitionsecho Installing Windows Defender Definition updatesIF EXIST %SystemRoot%\SysWOW64 start /wait %CDROM%\updates\WinDefUpdate\mpam-fex64.exe /Q:Updatesecho Installing UpdatesIF EXIST %SystemRoot%\SysWOW64 start /wait %CDROM%\updates\Windows6.1-KB2533552-x64.msu /quiet /norestart:WPIW::Begin WPIWecho Starting Windows Post-Install WizardREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /FREG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "DisableScriptDebuggerIE" /T "REG_SZ" /D "no" /F::Start %CDROM%\WPI\wpi.exe::all processing finished, delete used files, and EXIT:::CLEANUPIF EXIST %windir%\Setup\scripts RD /S /Q %windir%\Setup\scripts >nulDEL /F /Q %0% >nulexitHere is the deal. When I'm integrating updates with updates-x64.bat file, it shows me couple of errors in cmd. But then errors stops and it is mounting image, integrating updates etc....Then, when I install Windows, after the regional settings window it shows "Windows is finishing installation" window and here it stuck... It seems to be loading something, but I is stuck on this window for a hour or two.. maybe longer.. After two hours I've turned it off, because I hasn't time for it...Can someone help me with this? Quote
ricktendo Posted September 3, 2011 Posted September 3, 2011 You gotta be more specific about what the error said...for example what number and then look that up in dism.log Quote
ArMinO Posted September 3, 2011 Posted September 3, 2011 (edited) So here is dsim.log file. http://www.armino.6f.sk/ftp/dism.logAnd that error numbers.. So for example 3, 87, 50. This are top three of showed errors.//EDITSo I have got error 0x800f082e.Is it trying to say that update KB2533552 is not possible to integrate this way?//EDIT Nevermind... I downloaded DSIM from here and it is OK. And Windows is installing well. Edited September 5, 2011 by ArMinO Quote
crashfly Posted September 8, 2011 Author Posted September 8, 2011 Well, I still have a problem integrating this update (KB2533552). I have it set in the 'setupcomplete.cmd' file. It is the only item that gets installed there. After Win7 setup is done "Finalizing Setup", it throws up a dialog box to "restart now or later". This is the command used:start /wait %windir%\system32\wusa.exe %CDROM%\apps\Windows6.1-KB2533552-x64.msu /quiet /norestartIt is *supposed* to be quiet when this update is installed. It does not appear to be. Any work-a-rounds for this issue? Quote
click-click Posted September 9, 2011 Posted September 9, 2011 (edited) I don't see this when I install W7 from HD. My SetupComplete.cmd in \windows\setup\scripts\ runs using the runonceex process for the KB fix install. I'm only doing X86 though....REG ADD %KEY%\150 /VE /D "Installing KB2533552 (no wim integration)" /fREG ADD %KEY%\150 /V 1 /D "wusa Z:\$DXi\Addons\W7AUfor05\Windows6.1-KB2533552-x86.msu /quiet /norestart" /frundll32.exe c:\Windows\System32iernonce.dll,RunOnceExProcessExit. Edited September 9, 2011 by click-click Quote
crashfly Posted September 10, 2011 Author Posted September 10, 2011 As it turns out "Lurker", there is not an issue with that update. The problem appears to be with the update integration process itself (or some other variation there of). As it is, I must now figure out why the setup process waits until the end to display that message. Quote
ArMinO Posted September 13, 2011 Posted September 13, 2011 (edited) I have one more thing... How could I integrate MSXML with updates with this script?//EDITI get it now...Simply with /quiet /norestart modificators.. Edited September 15, 2011 by ArMinO Quote
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.