Jump to content

Windows6.1-KB976902-x86.cab breaks DISM /Add-Package


Recommended Posts

Hello,

I have tried to figure out all day why I cannot add all the Windows 7 updates to install.wim.

I figured out that after installing Windows6.1-KB976902-x86.cab something goes wrong and no new updates cannot be added after this package. If you apply that package at last then everything works, but I think there is some problems with this update.

Just to let you know:)

Edited by geezery
Link to comment
Share on other sites


Guys, how do you integrate Windows6.1-KB976902-x86.cab into Windows image? Is it via RT 7Lite?

I'm not using such tools since there is no available license information in those programs. I have done a batch script that integrates all the patches and puts my extra settings also.

Example script


@echo off
REM Change to correct drive
D:
cls
REM Mount dir for install.wim
SET MOUNTDIR=D:\Mount
SET LOGFILE=D:\Win7_Updates\win7_slipstream.log
REM install.wim location
SET WIMLOC=D:\Win_Ent_7_32BIT_UK\sources\install.wim
REM Check if install.wim exists
IF NOT EXIST %WIMLOC% echo install.wim tiedoston sijainti on vaara, ohjelma suorittaminen lopetetaan && pause && EXIT
REM Critical Windows Updates folder
SET WINUPDATESFOLDER_CR="D:\Win7_Updates\Critical Updates"
REM Important Updates folder
SET WINUPDATESFOLDER_SU="D:\Win7_Updates\Important Updates"
REM Folder for Drivers where you can add all the needed drivers
SET DRIVERSFOLDER="D:\Win7_Updates\Drivers"
REM Folder for lp.cab files
SET LANGPACKS="D:\Win7_Updates\Language Packs"
REM Folder for .Net 3.5 updates
SET DOTNET35UPDATES="D:\Win7_Updates\.NET Framework 3.5 SP1 Updates"
REM Check that Mount dir exists
IF NOT EXIST %MOUNTDIR%\NUL md %MOUNTDIR%
echo ** 1. Mount the install.wim %MOUNTDIR% folder **
echo.
REM Mount the image
echo on
dism /Mount-Wim /WimFile:%WIMLOC% /index:1 /MountDir:%MOUNTDIR%
@echo off
echo.
echo.
cls
echo ** 2. Installing Critical updates **
echo.
echo.
echo on
dism /image:%MOUNTDIR% /LogPath:%LOGFILE% /Add-Package /PackagePath:%WINUPDATESFOLDER_CR%
cls
@echo off
echo ** 3. Installing Important updates **
echo.
echo.
echo on
dism /image:%MOUNTDIR% /LogPath:%LOGFILE% /Add-Package /PackagePath:%WINUPDATESFOLDER_SU%
cls
@echo off
echo ** 4. Installing .NET 3.5 updates **
echo.
echo.
echo on
dism /image:%MOUNTDIR% /LogPath:%LOGFILE% /Add-Package /PackagePath:%DOTNET35UPDATES%
@echo off
cls
echo ** 5. Installing country settings / language packs **
echo.
echo.
echo on
dism /image:%MOUNTDIR% /LogPath:%LOGFILE% /Add-Package /PackagePath:%LANGPACKS%
@echo off
cls
echo.
echo.
Dism /image:%MOUNTDIR% /Set-AllIntl:fi-FI
Dism /image:%MOUNTDIR% /Set-TimeZone:"FLE Standard Time"
REM Set the serial key to KMS
Dism /image:%MOUNTDIR% /Set-ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
REM Enable some must have features. "Get list of features (Dism /image:D:\Mount /Get-Features /Format:List > D:\Features.txt)"
Dism /image:%MOUNTDIR% /Enable-Feature /FeatureName:TelnetClient
Dism /image:%MOUNTDIR% /Enable-Feature /FeatureName:SNMP
Dism /image:%MOUNTDIR% /Enable-Feature /FeatureName:WMISnmpProvider
@echo off
echo ** 5. Unmount the image and commit changes **
echo on
Dism /Unmount-Wim /MountDir:%MOUNTDIR% /commit
@echo off

Edited by geezery
Link to comment
Share on other sites

I've installed successfuly the update Windows6.1-KB976902-x86.msu inside my Image install.wim offline!

I've installed at last. I can see inside Dism.log the result (just the final part here):

2011-01-15 11:40:32, Info CBS Setting ExecuteState key to: CbsExecuteStateResolvePending

2011-01-15 11:40:32, Info CBS Exec: Pended transaction, changes will be applied during startup processing. Scheduled TrustedInstaller for auto-start. [hrESULT = 0x00000000 - S_OK]

2011-01-15 11:40:32, Info CSI 0000002a@2011/1/15:10:40:32.137 CSI Transaction @0x207a1b8 destroyed

2011-01-15 11:40:32, Info CBS Perf: InstallUninstallChain complete.

2011-01-15 11:40:32, Info CBS Pended exclusive package: Package_for_KB976902~31bf3856ad364e35~x86~~6.1.1.17514; the system must be rebooted before additional package installs or uninstalls may be performed.

2011-01-15 11:40:32, Info CBS SQM: Reporting package change for package: Package_for_KB976902~31bf3856ad364e35~x86~~6.1.1.17514, current: Absent, pending: Default, start: Absent, applicable: Installed, target: Installed, limit: Installed, hotpatch status: DisabledBecauseNoHotpatchPackagesInitiated, status: 0x0, failure source: Not Applicable, reboot required: True, client id: DISM Package Manager Provider, initiated offline: True, execution sequence: 188, first merged sequence: 188

2011-01-15 11:40:32, Info CBS SQM: Package change report datapoints not populated because SQM is not initialized or not running online.

2011-01-15 11:40:32, Info CBS Restored system sleep block state: 0x80000000

2011-01-15 11:40:32, Info CBS Exec: Processing complete. Session: 1244_4777500, Package: Package_for_KB976902~31bf3856ad364e35~x86~~6.1.1.17514 [hrESULT = 0x00000000 - S_OK]

2011-01-15 11:40:32, Info CBS Session: 1244_4777500 finalized. Reboot required: no [hrESULT = 0x00000000 - S_OK]

Cheers

Link to comment
Share on other sites

I've installed successfuly the update Windows6.1-KB976902-x86.msu inside my Image install.wim offline!

Where you got KB976902 in msu file?

You can download the updates at Microsoft Update Catalog

http://catalog.updat.../site/Home.aspx

You can write "Windows 7" to see all the updates or choose one update, like: KB976902 and download the one you need (x86, amd64,etc)!

You need to install this update at last or after you have integrated all the others updates othewise you've get errors and the installation fails!

Edited by myselfidem
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...