[SOLVED] PowerShell 3.0 on Windows Vista

Discussion in 'Windows Vista' started by ruslanshchur, Dec 11, 2021.

  1. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. George King

    George King MDL Expert

    Aug 5, 2009
    1,851
    2,165
    60
    #2 George King, Dec 15, 2021
    Last edited: Dec 16, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. George King

    George King MDL Expert

    Aug 5, 2009
    1,851
    2,165
    60
    I tried it only for integrating into mounted image. You can give a try on live deployment. You can try Windows 7 DISM too. On my side I’m using 8.0 DISM from ADK.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    #5 ruslanshchur, Dec 16, 2021
    Last edited: Dec 16, 2021
    (OP)
    Can you send me a DISM from Windows 8.0 ADK? As I am too lazy to download the whole ADK. And also Windows 8.0 DISM compatible with Vista? UPD: I tried to install it from Windows 8.0 PE, but it throws an error 0x800f081f while installing update.mum, so, I need proper tutorial and/or script, because this script you are provided is quite obscure for me, and one question: What I do incorrect?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. George King

    George King MDL Expert

    Aug 5, 2009
    1,851
    2,165
    60
    You can grab 8.0 DISM from XP2ESD apps folder. Script I provided you integrate update without any problem from Windows 10 host into mounted Vista install.wim using DISM from Windows 8.0. Every step that script does is needed to proper integration. You just need to set SLLP (en-US) ARCH (x86 / x64) ARCH2 (x86 / amd64) IMAGE (path to mounted image) variables. And modify integration command or set proper path for log file and loglevel. Everything is very readable in Notepad++ when setting syntax to Batch
    Code:
    dism /image:"%IMAGE%" /add-package /packagepath:"%~dp0updates\extracted\Windows6.0-KB2506146-%ARCH%\update.mum" /LogLevel:%DISMErrorLevel% /LogPath:"%~dp0Logs\%INDEX%\Update.log"
    
    And script must be near folder updates\extracted\Windows6.0-KB2506146-%ARCH% where is CAB extracted
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    #7 ruslanshchur, Dec 16, 2021
    Last edited: Dec 16, 2021
    (OP)
    I still get the same error, why? UPD: Dism.log output, of course:
    Code:
    2021-12-16 11:55:13, Info                  DISM   PID=2948 TID=3620 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct
    2021-12-16 11:55:13, Info                  DISM   PID=2948 TID=3620 Scratch directory set to 'C:\Users\RUSLAN~1\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
    2021-12-16 11:55:13, Info                  DISM   PID=2948 TID=3620 DismCore.dll version: 6.2.9200.16384 - CDISMManager::FinalConstruct
    2021-12-16 11:55:13, Info                  DISM   PID=2948 TID=3620 Local image session has not been created, creating now. - CDISMManager::CreateLocalImageSession
    2021-12-16 11:55:13, Info                  DISM   PID=2948 TID=3620 Attempting to load the Dism stack from "C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism" - CDISMManager::LoadLocalImageSession
    2021-12-16 11:55:13, Info                  DISM   PID=2948 TID=3620 Successfully loaded the ImageSession at "C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism" - CDISMManager::LoadLocalImageSession
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Cannot get the provider PE Provider because it was not found in the provider map - CDISMProviderStore::Internal_GetProvider(hr:0x80070032)
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Image Session: PID=2948 TID=3620 Obtained the local logger instance. Configured the local session to use it. - CDISMImageSession::get_ProviderStore
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Manager: PID=2948 TID=3620 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE:
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE:
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=x86, Number of processors=8
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Dism.exe version: 6.2.9200.16384
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Executing command line: C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\dism.exe  /image:Z:\ /add-package /packagepath:"C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\updates\extracted\Windows6.0-KB2506146-x64\update.mum" /LogLevel:4 /LogPath:"C:\Windows\Logs\DISM\dism.log"
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - CDISMProviderStore::GetProviderCollection
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - CDISMProviderStore::GetProviderCollection
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Loading Provider from location C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Connecting to the provider located at C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Loading Provider from location C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Connecting to the provider located at C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Loading Provider from location C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\VHDProvider.dll - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Connecting to the provider located at C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\VHDProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Loading Provider from location C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\ImagingProvider.dll - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Connecting to the provider located at C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\ImagingProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Loading Provider from location C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Connecting to the provider located at C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\apps\dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: DISM Log Provider does not support command lines.
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: FolderManager does not support command lines.
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: VHDManager
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: VHDManager does not support command lines.
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: GenericImagingManager
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: GenericImagingManager.
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - CDISMProviderStore::GetProviderCollection
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - CDISMProviderStore::GetProviderCollection
    [2948] [0x80070002] FIOReadFileIntoBuffer:(1415): Не вдалося знайти вказаний файл.
    [2948] [0xc142011c] UnmarshallImageHandleFromDirectory:(511)
    [2948] [0xc142011c] WIMGetMountedImageHandle:(2568)
    2021-12-16 11:55:13, Info                  DISM   DISM WIM Provider: PID=2948 TID=3620 [Z:\] is not a WIM mount point. - CWimMountedImageInfo::Initialize
    2021-12-16 11:55:13, Info                  DISM   DISM VHD Provider: PID=2948 TID=3620 [Z:\] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Getting Provider VHDManager - CDISMProviderStore::GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM VHD Provider: PID=2948 TID=3620 [Z:\] is not recognized by the DISM VHD provider. - CVhdImage::Initialize
    2021-12-16 11:55:13, Info                  DISM   DISM Imaging Provider: PID=2948 TID=3620 The provider VHDManager does not support CreateDismImage on Z:\ - CGenericImagingManager::CreateDismImage
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Getting Provider WimManager - CDISMProviderStore::GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    [2948] [0x80070002] FIOReadFileIntoBuffer:(1415): Не вдалося знайти вказаний файл.
    [2948] [0xc142011c] UnmarshallImageHandleFromDirectory:(511)
    [2948] [0xc142011c] WIMGetMountedImageHandle:(2568)
    2021-12-16 11:55:13, Info                  DISM   DISM WIM Provider: PID=2948 TID=3620 [Z:\] is not a WIM mount point. - CWimMountedImageInfo::Initialize
    2021-12-16 11:55:13, Info                  DISM   DISM Imaging Provider: PID=2948 TID=3620 The provider WimManager does not support CreateDismImage on Z:\ - CGenericImagingManager::CreateDismImage
    2021-12-16 11:55:13, Info                  DISM   DISM Imaging Provider: PID=2948 TID=3620 No imaging provider supported CreateDismImage for this path - CGenericImagingManager::CreateDismImage
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: The target image version is: 6.0.6002.18005.
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: The target image is downlevel and considered supported. Looking for PkgMgr.exe.
    2021-12-16 11:55:13, Info                  DISM   DISM.EXE: Executing DISM against a downlevel image. Calling Z:\Windows\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6002.18005_none_0b4ada54c46c45b0\pkgmgr.exe
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Getting Provider Compatibility Manager - CDISMProviderStore::GetProvider
    2021-12-16 11:55:13, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
    2021-12-16 11:55:13, Info                  DISM   Compatibility Manager: PID=2948 TID=3620 Processing the top level command token(add-package). - CCbsCliParser::Private_ValidateCmdLine
    2021-12-16 11:55:13, Info                  DISM   Compatibility Manager: PID=2948 TID=3620 PackageManager command is being executed: Z:\Windows\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6002.18005_none_0b4ada54c46c45b0\pkgmgr.exe /l:"C:\Windows\Logs\DISM\dism.log.pkgmgr" /o:"Z:\;Z:\Windows" /ip /m:"C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\updates\extracted\Windows6.0-KB2506146-x64\update.mum" /s:"C:\Users\RUSLAN~1\AppData\Local\Temp\DD4EC862-0BBD-420D-8666-EFE95CF1498A" - CCompatManager::InternalExecuteCommand
    2021-12-16 11:55:18, Info                  DISM   Compatibility Manager: PID=2948 TID=3620 PackageManager return code = 0x800F081F - CCompatManager::InternalExecuteCommand
    2021-12-16 11:55:18, Error                 DISM   Compatibility Manager: PID=2948 TID=3620 base\ntsetup\opktools\dism\providers\compatprovider\dll\compatmanager.cpp:971 - CCompatManager::ProcessPackageList(hr:0x800f081f)
    2021-12-16 11:55:18, Error                 DISM   Compatibility Manager: PID=2948 TID=3620 base\ntsetup\opktools\dism\providers\compatprovider\dll\compatmanager.cpp:590 - CCompatManager::CompatExecuteCmdLine(hr:0x800f081f)
    2021-12-16 11:55:18, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
    2021-12-16 11:55:18, Info                  DISM   DISM.EXE:
    2021-12-16 11:55:18, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
    2021-12-16 11:55:18, Info                  DISM   DISM.EXE:
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Encountered a loaded provider FolderManager. - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Encountered a loaded provider WimManager. - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Encountered a loaded provider VHDManager. - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Disconnecting Provider: VHDManager - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Encountered a loaded provider GenericImagingManager. - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Disconnecting Provider: GenericImagingManager - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Encountered a loaded provider Compatibility Manager. - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   DISM Provider Store: PID=2948 TID=3620 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
    2021-12-16 11:55:18, Info                  DISM   Provider store has been disconnected. Releasing COM pointers. - CDISMImageSession::Final_OnDisconnect
    

    UPD2: I tried Windows 7 DISM and I still get the same error
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. George King

    George King MDL Expert

    Aug 5, 2009
    1,851
    2,165
    60
    I guess you tried x86 integration, right? There was a typo in script, post is updated with working code
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    #9 ruslanshchur, Dec 16, 2021
    Last edited: Dec 16, 2021
    (OP)
    No, I tried to integrate it on Windows Vista x64, but ok, I will give a try UPD: It says that it installed successfully, but PowerShell 3.0 for some reason did not appeared, and WindowsPowerShell folder in C:\Windows\System32 is not appeared, but...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. George King

    George King MDL Expert

    Aug 5, 2009
    1,851
    2,165
    60
    #10 George King, Dec 16, 2021
    Last edited: Dec 16, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    #11 ruslanshchur, Dec 16, 2021
    Last edited: Dec 16, 2021
    (OP)

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. George King

    George King MDL Expert

    Aug 5, 2009
    1,851
    2,165
    60
    Here is missing file error. How you expanded CAB?
    Code:
    2021-12-16 18:08:44, Error                 CBS    Exec: Missing file for package: Microsoft-Windows-WinMan-Win8IP-Package-TopLevel~31bf3856ad364e35~amd64~~7.1.6002.16398, file: PSCustomSetupInstaller.exe, source: \\?\C:\Users\ruslanshchur\Downloads\XP2ESD_v1.5.6\updates\extracted\Windows6.0-KB2506146-x64\amd64_powershell-gac-tool_exe_31bf3856ad364e35_7.1.6002.16398_none_d04c7ded3367b235\PSCustomSetupInstaller.exe.  hr: 0x800f081f
    I'm using this code to extract CABs
    Code:
    echo.
    echo Extracting: Updates
    echo.
    set /a UpdatesCount=0
    for /f "delims=" %%I in ('dir /b /os "%~dp0Updates\*.cab"') do call set /a UpdatesCount+=1
    set /a CurrentUpdate=0
    setlocal enableextensions enabledelayedexpansion
    FOR %%C IN ("%~dp0Updates\*.cab") DO (
        set /a CurrentUpdate+=1
     
        if not exist "%~dp0Updates\extracted\%%~nC" (
            echo             !CurrentUpdate!/%UpdatesCount%:  %%~nC
            mkdir "%~dp0Updates\extracted\%%~nC"
            expand -f:* "%%C" "%~dp0Updates\extracted\%%~nC" >nul
         ) else (
            echo             !CurrentUpdate!/%UpdatesCount%:  %%~nC - skipped
        )
    )
    endlocal
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    Through WinRAR
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    Ok, now I get this: Failure configuring Windows Updates. Reverting changes. Why? I am this time tried to install PowerShell 3.0 on offline Windows Vista installation (not slipstreaming into install.wim)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. George King

    George King MDL Expert

    Aug 5, 2009
    1,851
    2,165
    60
    This give you broken files, it must be extracted using expand command
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    #16 ruslanshchur, Dec 16, 2021
    Last edited: Dec 16, 2021
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    #17 ruslanshchur, Dec 18, 2021
    Last edited: Dec 19, 2021
    (OP)
    Seems, maybe only way to install PowerShell 3.0 on Vista is to install Windows Server 2008 on another PC/VM, install PowerShell 3.0 on it and then copy it over to Vista (preferably first install PowerShell 2.0 on Vista, and then remove WindowsPowerShell folder on your Vista installation and copy it from Windows Server 2008 installation (but I did not verified this method yet), I later verify (I hope we don't need to deal with the registry)
    UPD: Now I am installing Windows Server 2008 on VM
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    #18 ruslanshchur, Dec 19, 2021
    Last edited: Dec 19, 2021
    (OP)
    Why I can't install PowerShell 3.0 even on Server 2008? (On Server 2008 it did not ended up with BSOD 0x0000012A loop, but it ended up with "Failure configuring Windows Updates... Reverting changes..." instead) But... stop, there is prerequsites for PowerShell 3.0?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. ruslanshchur

    ruslanshchur MDL Senior Member

    Sep 13, 2020
    417
    91
    10
    I FINALLY installed successfully PowerShell 3.0 on Vista!
    Windows Vista PowerShell Experiment-2021-12-20-12-35-13.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. erpsterm35

    erpsterm35 MDL Expert

    May 27, 2013
    1,870
    1,737
    60