Jump to content


Photo

Integration issue (title fixed)


  • Please log in to reply
16 replies to this topic

#1 crashfly

crashfly

    WinCert Pro

  • Members
  • PipPipPipPipPip
  • 400 posts
  • Location:Arkansas, USA
  • OS:Windows 7 x64

Posted 20 August 2011 - 07:28 PM

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 by crashfly, 10 September 2011 - 12:22 AM.


#2 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,753 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 20 August 2011 - 08:17 PM

I sysprep it

#3 crashfly

crashfly

    WinCert Pro

  • Members
  • PipPipPipPipPip
  • 400 posts
  • Location:Arkansas, USA
  • OS:Windows 7 x64

Posted 20 August 2011 - 08:32 PM

are there any other ways?

#4 Mr_Smartepants

Mr_Smartepants

    DriverPacks.net Administrator

  • Members
  • PipPipPipPipPipPip
  • 814 posts
  • Location:Cambridgeshire
  • OS:Windows 7

Posted 20 August 2011 - 08:36 PM

\sources\$oem$\$$\Setup\scripts\setupcomplete.cmd
That's how I install all the .NET 4 updates.

#5 crashfly

crashfly

    WinCert Pro

  • Members
  • PipPipPipPipPip
  • 400 posts
  • Location:Arkansas, USA
  • OS:Windows 7 x64

Posted 20 August 2011 - 08:38 PM

\sources\$oem$\$$\Setup\scripts\setupcomplete.cmd
That'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?

#6 Mr_Smartepants

Mr_Smartepants

    DriverPacks.net Administrator

  • Members
  • PipPipPipPipPipPip
  • 814 posts
  • Location:Cambridgeshire
  • OS:Windows 7

Posted 21 August 2011 - 07:45 AM

I wrote about my setupcomplete.cmd here: http://forum.driverp...pic.php?id=5199
Adding it should be as simple as adding a line:

IF EXIST %SystemRoot%\SysWOW64 start /wait WUSA %CDROM%\updates\Windows6.1-KB2533552-x64.msu /quiet /norestart
IF NOT EXIST %SystemRoot%\SysWOW64 start /wait WUSA %CDROM%\updates\Windows6.1-KB2533552-x86.msu /quiet /norestart
But 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 by Mr_Smartepants, 21 August 2011 - 07:46 AM.


#7 crashfly

crashfly

    WinCert Pro

  • Members
  • PipPipPipPipPip
  • 400 posts
  • Location:Arkansas, USA
  • OS:Windows 7 x64

Posted 21 August 2011 - 03:56 PM

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.

#8 ArMinO

ArMinO

    Member

  • Members
  • PipPip
  • 35 posts
  • OS:Windows 7 x64

Posted 01 September 2011 - 04:29 PM

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...

#9 Mr_Smartepants

Mr_Smartepants

    DriverPacks.net Administrator

  • Members
  • PipPipPipPipPipPip
  • 814 posts
  • Location:Cambridgeshire
  • OS:Windows 7

Posted 01 September 2011 - 05:39 PM

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 likes this

#10 ArMinO

ArMinO

    Member

  • Members
  • PipPip
  • 35 posts
  • OS:Windows 7 x64

Posted 01 September 2011 - 09:42 PM

Yes... I was looking for solution for a very long time.... So Thanks... I'll continue in my search... :nunchaku:

#11 ArMinO

ArMinO

    Member

  • Members
  • PipPip
  • 35 posts
  • OS:Windows 7 x64

Posted 03 September 2011 - 10:08 AM

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 folder
set mnt=h:\W7T.temp\Mount
:Path to source .wim
set src=h:\Windows.7.SP1.SK.test\sources
:Path to update packages
set updates=h:\Windows.7.add\updates-via-batch-file

cls
dism /Mount-Wim /WimFile:%src%\install.wim /index:4 /MountDir:%mnt%
dism /Image:%mnt% /Add-Package /PackagePath:%updates%
dism /Unmount-Wim /MountDir:%mnt% /commit
dism /Mount-Wim /WimFile:%src%\install.wim /index:3 /MountDir:%mnt%
dism /Image:%mnt% /Add-Package /PackagePath:%updates%
dism /Unmount-Wim /MountDir:%mnt% /commit
dism /Mount-Wim /WimFile:%src%\install.wim /index:2 /MountDir:%mnt%
dism /Image:%mnt% /Add-Package /PackagePath:%updates%
dism /Unmount-Wim /MountDir:%mnt% /commit
dism /Mount-Wim /WimFile:%src%\install.wim /index:1 /MountDir:%mnt%
dism /Image:%mnt% /Add-Package /PackagePath:%updates%
dism /Unmount-Wim /MountDir:%mnt% /commit
echo .........................................
echo Update integration complete
pause
exit

setupcomplete.cmd
@echo off
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 if exist %%i:\sources\install.wim set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%
::Begin hotfix install

:Defender Definitions
echo Installing Windows Defender Definition updates
IF EXIST %SystemRoot%\SysWOW64 start /wait %CDROM%\updates\WinDefUpdate\mpam-fex64.exe /Q

:Updates
echo Installing Updates
IF EXIST %SystemRoot%\SysWOW64 start /wait %CDROM%\updates\Windows6.1-KB2533552-x64.msu /quiet /norestart

:WPIW
::Begin WPIW
echo Starting Windows Post-Install Wizard
REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /V "Disable Script Debugger" /T "REG_SZ" /D "no" /F
REG 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::
:CLEANUP
IF EXIST %windir%\Setup\scripts RD /S /Q %windir%\Setup\scripts >nul
DEL /F /Q %0% >nul
exit

Here 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?

#12 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,753 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 03 September 2011 - 01:30 PM

You gotta be more specific about what the error said...for example what number and then look that up in dism.log

#13 ArMinO

ArMinO

    Member

  • Members
  • PipPip
  • 35 posts
  • OS:Windows 7 x64

Posted 03 September 2011 - 07:05 PM

So here is dsim.log file. :)
http://www.armino.6f.sk/ftp/dism.log

And that error numbers.. So for example 3, 87, 50. This are top three of showed errors.

//EDIT
So I have got error 0x800f082e.
Posted Image

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 by ArMinO, 05 September 2011 - 08:21 AM.


#14 crashfly

crashfly

    WinCert Pro

  • Members
  • PipPipPipPipPip
  • 400 posts
  • Location:Arkansas, USA
  • OS:Windows 7 x64

Posted 08 September 2011 - 03:53 AM

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 /norestart
It is *supposed* to be quiet when this update is installed. It does not appear to be. Any work-a-rounds for this issue?

#15 click-click

click-click

    Member

  • Members
  • PipPip
  • 19 posts
  • OS:non-selected

Posted 09 September 2011 - 09:31 AM

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)" /f
REG ADD %KEY%\150 /V 1 /D "wusa Z:\$DXi\Addons\W7AUfor05\Windows6.1-KB2533552-x86.msu /quiet /norestart" /f
 
rundll32.exe c:\Windows\System32iernonce.dll,RunOnceExProcess
Exit
.

Edited by click-click, 09 September 2011 - 09:32 AM.


#16 crashfly

crashfly

    WinCert Pro

  • Members
  • PipPipPipPipPip
  • 400 posts
  • Location:Arkansas, USA
  • OS:Windows 7 x64

Posted 10 September 2011 - 12:24 AM

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.

#17 ArMinO

ArMinO

    Member

  • Members
  • PipPip
  • 35 posts
  • OS:Windows 7 x64

Posted 13 September 2011 - 09:54 PM

I have one more thing... How could I integrate MSXML with updates with this script?

//EDIT
I get it now...
Simply with /quiet /norestart modificators.. :)

Edited by ArMinO, 15 September 2011 - 04:24 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users