still doing dev Ancient logs from past experiments: "Testing my WIP script, but at the end problems occur." Code: Please wait ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Searching for abandoned mounts to delete... [ INFO ] Scanning drive C for stale files [ INFO ] Scanning drive D for stale files Cleanup successful. Total elapsed time: less than 1 sec ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 The system cannot find the path specified. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Searching for abandoned mounts to delete... [ INFO ] Scanning drive C for stale files [ INFO ] Scanning drive D for stale files Cleanup successful. Total elapsed time: less than 1 sec The system cannot find the file specified. The system cannot find the file specified. The system cannot find the file specified. Extracting ISO 7-Zip 23.00 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-05-07 Scanning the drive for archives: 1 folder, 1 file, 3861460992 bytes (3683 MiB) Extracting archive: ISO\en_windows_vista_sp2_x64_dvd_342267.iso -- Path = ISO\en_windows_vista_sp2_x64_dvd_342267.iso Type = Udf Physical Size = 3861460992 Version = 1.02 Cluster Size = 2048 Sector Size = 2048 Created = 2009-04-11 14:00:00.000000 Modified = 2009-04-11 14:00:00.000000 Comment = { Primary Volumes: PrimaryVolumeDescriptorNumber: 0 VolumeSequenceNumber: 1 VolumeId: UDF Volume VolumeSetId: b689f800MS UDFBridge ApplicationId: ImplementationId: *Microsoft CDIMAGE UDF::Windows NT Partitions: PartitionIndex: 0 PartitionNumber: 2989 ContentsId: +NSR02 ImplementationId: *Microsoft CDIMAGE UDF::Windows NT AccessType: Read-Only Size: 3860838400 Pos: 622592 Logical Volumes: Id: FRTMCXFRE_EN_DVD BlockSize: 2048 DomainId: *OSTA UDF Compliant::1.02 ImplementationId: *Microsoft CDIMAGE UDF::Windows NT Partition Maps: PartitionMap: 0 Type: 1 VolumeSequenceNumber: 1 PartitionNumber: 2989 File Sets: FileSetNumber: 1 FileSetDescNumber: 0 LogicalVolumeId: FRTMCXFRE_EN_DVD Id: FRTMCXFRE_EN_DV CopyrightId: AbstractId: DomainId: *OSTA UDF Compliant::1.02 } Everything is Ok Folders: 141 Files: 727 Size: 3898385882 Compressed: 3861460992 Copying setup files $OEM$\$$\setup\Scripts\IE9-WindowsVista-x64-enu.exe $OEM$\$$\setup\Scripts\NDP462-x86-x64-ENU.exe $OEM$\$$\setup\Scripts\rootsupd.EXE $OEM$\$$\setup\Scripts\setupcomplete.cmd $OEM$\$$\setup\Scripts\VisualCppRedist_AIO_x86_x64.exe 5 File(s) copied Mounting WIM ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Mounting: [D:\Projects\vista\ISOExtracted\sources\install.wim, 4] -> [D:\Projects\vista\WIM]... [ 100% ] Mounting progress Successfully mounted image. Total elapsed time: 28 sec Integrating Updates - Part 1: Add Packages Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB2117917-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB2763674-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB3205638-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB4012583-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB4015380-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB4493730-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB5016129-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB5016891-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB971512-x64.cab PEIMG completed the operation successfully. Integrating Updates - Part 2: Installing Packages Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |7.0.6002.18107 | + | Microsoft-Windows-DGT-Package-TopLevel ------+---------------+-----+----------------------------------------------- |6.0.1.5 | + | Package_for_KB2117917 ------+---------------+-----+----------------------------------------------- |6.0.1.1 | + | Package_for_KB2763674 ------+---------------+-----+----------------------------------------------- |6.0.1.0 | + | Package_for_KB3205638 ------+---------------+-----+----------------------------------------------- |6.0.1.2 | + | Package_for_KB4012583 ------+---------------+-----+----------------------------------------------- |6.0.1.0 | + | Package_for_KB4015380 ------+---------------+-----+----------------------------------------------- |6.0.1.0 | + | Package_for_KB4493730 ------+---------------+-----+----------------------------------------------- |6.0.1.2 | + | Package_for_KB5016129 ------+---------------+-----+----------------------------------------------- |6.0.1.5 | + | Package_for_KB5016891 ------+---------------+-----+----------------------------------------------- Installed 9 package(s). PEIMG completed the operation successfully. Optimizing WIM Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. The /prep command will permanently modify a Windows PE image, so that it can no longer be serviced. This means that operations including: - Installing or uninstalling optional features - Applying hotfixes or other servicing packages - Installing language packs Will not be possible on the prepared image. To continue, enter "yes". Any other input will exit the program. Continue? yes PEIMG failed to complete the operation with status code 0x80070005. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Committing: [D:\Projects\vista\WIM]... Unmount Error: Changes to the Image could not be commited. More Info: An attempt was made to commit an image that was mounted for read only access. This is not valid. To commit an image, mount it without the read only flag set. Creating ISO OSCDIMG 2.55 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2007. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 17 directories) Scanning source tree complete (732 files in 145 directories) Computing directory information complete Image file is 4016836608 bytes ERROR: Image is 3334852608 bytes too large (681984000) (use -m to override or try -o to optimize storage) ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Searching for abandoned mounts to delete... [ INFO ] Scanning drive C for stale files [ INFO ] Scanning drive D for stale files Cleanup successful. Total elapsed time: 6 sec ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Unmounting: [D:\Projects\vista\WIM]... [ 100% ] Mount cleanup progress Successfully unmounted image. Total elapsed time: 20 sec ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Searching for abandoned mounts to delete... [ INFO ] Scanning drive C for stale files [ INFO ] Scanning drive D for stale files Cleanup successful. Total elapsed time: less than 1 sec Done! Press any key to continue . . .
Hello! Are you installing all the updates seen in the log in one pass? I noticed at least one update kb501xxxx which requires SHA2 support. On live system you wouldn't be able to install it before restarting the system. I wonder if it is similar in the offline integration. Do you get the same problems if you try to integrate just one update. I would try with a SHA1 signed update like platform update for example. If you get errors there it means that it is not update related. Let me know if I can help you in regards to individual updates, prerequisites etc.
New Result: Code: Please wait ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Searching for abandoned mounts to delete... [ INFO ] Scanning drive C for stale files [ INFO ] Scanning drive D for stale files Cleanup successful. Total elapsed time: less than 1 sec ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 The system cannot find the path specified. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Searching for abandoned mounts to delete... [ INFO ] Scanning drive C for stale files [ INFO ] Scanning drive D for stale files Cleanup successful. Total elapsed time: less than 1 sec The system cannot find the file specified. The system cannot find the file specified. The system cannot find the file specified. Extracting ISO 7-Zip 23.00 (x86) : Copyright (c) 1999-2023 Igor Pavlov : 2023-05-07 Scanning the drive for archives: 1 folder, 1 file, 3861460992 bytes (3683 MiB) Extracting archive: ISO\en_windows_vista_sp2_x64_dvd_342267.iso -- Path = ISO\en_windows_vista_sp2_x64_dvd_342267.iso Type = Udf Physical Size = 3861460992 Version = 1.02 Cluster Size = 2048 Sector Size = 2048 Created = 2009-04-11 14:00:00.000000 Modified = 2009-04-11 14:00:00.000000 Comment = { Primary Volumes: PrimaryVolumeDescriptorNumber: 0 VolumeSequenceNumber: 1 VolumeId: UDF Volume VolumeSetId: b689f800MS UDFBridge ApplicationId: ImplementationId: *Microsoft CDIMAGE UDF::Windows NT Partitions: PartitionIndex: 0 PartitionNumber: 2989 ContentsId: +NSR02 ImplementationId: *Microsoft CDIMAGE UDF::Windows NT AccessType: Read-Only Size: 3860838400 Pos: 622592 Logical Volumes: Id: FRTMCXFRE_EN_DVD BlockSize: 2048 DomainId: *OSTA UDF Compliant::1.02 ImplementationId: *Microsoft CDIMAGE UDF::Windows NT Partition Maps: PartitionMap: 0 Type: 1 VolumeSequenceNumber: 1 PartitionNumber: 2989 File Sets: FileSetNumber: 1 FileSetDescNumber: 0 LogicalVolumeId: FRTMCXFRE_EN_DVD Id: FRTMCXFRE_EN_DV CopyrightId: AbstractId: DomainId: *OSTA UDF Compliant::1.02 } Everything is Ok Folders: 141 Files: 727 Size: 3898385882 Compressed: 3861460992 Copying setup files import\$OEM$\$$\Setup\Scripts\IE9-WindowsVista-x64-enu.exe import\$OEM$\$$\Setup\Scripts\NDP462-x86-x64-ENU.exe import\$OEM$\$$\Setup\Scripts\rootsupd.EXE import\$OEM$\$$\Setup\Scripts\setupcomplete.cmd import\$OEM$\$$\Setup\Scripts\VisualCppRedist_AIO_x86_x64.exe 5 File(s) copied Deleting other WIM indexes ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Deleting image [1, index 1] from [D:\Projects\vista\ISOExtracted\sources\install.wim]... Successfully deleted image. Total elapsed time: less than 1 sec ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Deleting image [1, index 1] from [D:\Projects\vista\ISOExtracted\sources\install.wim]... Successfully deleted image. Total elapsed time: less than 1 sec ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Deleting image [1, index 1] from [D:\Projects\vista\ISOExtracted\sources\install.wim]... Successfully deleted image. Total elapsed time: less than 1 sec Mounting WIM ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Mounting: [D:\Projects\vista\ISOExtracted\sources\install.wim, 1] -> [D:\Projects\vista\WIM]... [ 100% ] Mounting progress Successfully mounted image. Total elapsed time: 28 sec Adding updates Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB2117917-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.1.5 | + | Package_for_KB2117917 ------+---------------+-----+----------------------------------------------- Installed 1 package(s). PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB2763674-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.1.1 | + | Package_for_KB2763674 ------+---------------+-----+----------------------------------------------- Installed 1 package(s). PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB3205638-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.1.0 | + | Package_for_KB3205638 ------+---------------+-----+----------------------------------------------- Installed 1 package(s). PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB4012583-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.1.2 | + | Package_for_KB4012583 ------+---------------+-----+----------------------------------------------- Installed 1 package(s). PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB4015380-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.1.0 | + | Package_for_KB4015380 ------+---------------+-----+----------------------------------------------- Installed 1 package(s). PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB4019204-x64-custom.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.1.101 | + | Package_for_KB4019204 ------+---------------+-----+----------------------------------------------- Installed 1 package(s). PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB4474419-v4-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.4.0 | + | Package_for_KB4474419 The installation of the previous package failed with status 0x80070057. Full package name: [Package_for_KB4474419~31bf3856ad364e35~amd64~~6.0.4.0] Installed 0 package(s). PEIMG failed to complete the operation with status code 0x80070057. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB4493730-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.4.0 | + | Package_for_KB4474419 The installation of the previous package failed with status 0x80070057. Full package name: [Package_for_KB4474419~31bf3856ad364e35~amd64~~6.0.4.0] Installed 0 package(s). PEIMG failed to complete the operation with status code 0x80070057. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB5016129-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.4.0 | + | Package_for_KB4474419 The installation of the previous package failed with status 0x80070057. Full package name: [Package_for_KB4474419~31bf3856ad364e35~amd64~~6.0.4.0] Installed 0 package(s). PEIMG failed to complete the operation with status code 0x80070057. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB5016891-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |6.0.4.0 | + | Package_for_KB4474419 The installation of the previous package failed with status 0x80070057. Full package name: [Package_for_KB4474419~31bf3856ad364e35~amd64~~6.0.4.0] Installed 0 package(s). PEIMG failed to complete the operation with status code 0x80070057. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Adding package: D:\Projects\vista\updates\Windows6.0-KB971512-x64.cab PEIMG completed the operation successfully. Preinstallation Environment Image Setup Tool for Windows Copyright (C) Microsoft Corporation. All rights reserved. Lang | Version | Ins | Name ------+---------------+-----+----------------------------------------------- |7.0.6002.18107 | + | Microsoft-Windows-DGT-Package-TopLevel ------+---------------+-----+----------------------------------------------- |6.0.4.0 | + | Package_for_KB4474419 The installation of the previous package failed with status 0x80070057. Full package name: [Package_for_KB4474419~31bf3856ad364e35~amd64~~6.0.4.0] Installed 1 package(s). PEIMG failed to complete the operation with status code 0x80070057. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Committing: [D:\Projects\vista\WIM]... [ 100% ] Committing Image progress Successfully committed image. Unmounting: [D:\Projects\vista\WIM]... [ 100% ] Mount cleanup progress Successfully unmounted image. Total elapsed time: 42 sec Creating ISO OSCDIMG 2.55 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2007. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 18 directories) Scanning source tree complete (732 files in 146 directories) Computing directory information complete Image file is 4213964800 bytes (before optimization) Writing 732 files in 146 directories to Vista.iso 100% complete Storage optimization saved 77 files, 42264576 bytes (1% of image) After optimization, image file is 4173627392 bytes Space saved because of embedding, sparseness or optimization = 42264576 Done. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Searching for abandoned mounts to delete... [ INFO ] Scanning drive C for stale files [ INFO ] Scanning drive D for stale files Cleanup successful. Total elapsed time: less than 1 sec ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Unmount Error: Did not find an image mounted to [D:\Projects\vista\WIM]. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 6.1.7600.16385 Searching for abandoned mounts to delete... [ INFO ] Scanning drive C for stale files [ INFO ] Scanning drive D for stale files Cleanup successful. Total elapsed time: less than 1 sec Done! Press any key to continue . . . @xrononautis, @George King, etc. New files post shortly.
I’m building updated 15v1 Vista with all updates until 05-2023. Will wee how my process goes. Will be great If I can add 6.x install.wim processing into XP2ESD to make it really simple as AIO solution
For Vista is important to update only install.wim everything else is garbage. Even Vista installer looks good its crap. How big is your updated install.wim for Ultimate / Enterprise x64?
I never update anything but install.wim I don't have handy an install that is both updated and virgin. But I think that a fully updated single SKU AMD64 wim should be around 5/5.2GB, If not "resetbased" using the brilliant WinsxsLite1.88. Using WinsxsLite the resulting wim should be not much larger than the original wim, maybe even smaller, depending the options chosen (winsxslite has the option to delete useless media samples and/or to merge the multi language resources which are a lot even in single language SKUs of any NT6/10 SxS folder. That said #1 winsxslite uses some commands that are 32bit only, so to use it on x64 it must be used offline from Vista/7 x86 #2 It's not updated since 2012 or so, which means it still works today, but likely it will break future updates given WU/Dism/Pkgmgr are way more nitpicking today than they were in 2012
@acer-5100 Exactly script tell it's v1.87. I will check what can I improve. Currently I have done some changes to be able to call it like this. And probably many more changes will be needed Code: WinsxsLite.bat /online or Code: WinsxsLite.bat /image:%TEMP%\Mount