Code: SXSEXPAND /? Type that in, and it'll tell you how to use it. Bonus finger-wagging: As mentioned in the very first post. Huh? I don't remember coding that limitation in - and I was always calling it from D: drive during testing.
Well, for me, when i call the file from its source at win 8.1 drive (F:\windows\winsxs\manifests), it always fails.. "Can't open input file" when i copy the file and call from my present system drive, it works I'm using Win8 pro as my main system
Code: sxsexpand /debug F:\Windows\WinSxS\Manifests\x86_microsoft-windows-store-service_31bf3856ad364e35_6.3.9600.16384_none_54857a21d2b20c09.manifest c:\vm Aunty Mel's Cheap And Nasty SxS File Expander, 2013/09/26.14 Copyright (C) 2013 "SuperBubble". All rights reserved. [DEBUG] Input file name: F:\Windows\WinSxS\Manifests\x86_microsoft-windows-store-service_31bf3856ad364e35_6.3.9600.16384_none_54857a21d2b20c09.manifest [DEBUG] Output file name/path: c:\vm\x86_microsoft-windows-store-service_31bf3856ad364e35_6.3.9600.16384_none_54857a21d2b20c09.manifest Can't open input file: F:\Windows\WinSxS\Manifests\x86_microsoft-windows-store-service_31bf3856ad364e35_6.3.9600.16384_none_54857a21d2b20c09.manifest [DEBUG] Deleting temporary files. Edit: when i run the cmd windows as System account, the operation goes well strange.. my account is admin and UAC is turned off
When it fails that early in execution, pretty much the only explanation is file not found. Are you sure there isn't some sort of super-restrictive ACL on the file?
OP updated with a new version, with much more informative debug output on I/O errors - should help people figure out why their files won't open.
awesome stuff. i had created a custom PE4 using win8 embedded components. totatlly manual, but it worked and i was able to get the tools i needed into PE and keep it small. was looking to do same with PE5 and just noticed the 'compression'... now i just need embedded standard to come out. thanks for a fantastic tool.
Did anyone ever upload the WinPE-SRT.cab, I know a few people over at MSFN who have been waiting for it to leak since WinPE 4.0 days.
Try starting the script in a different thread, it won't hang then. But make sure to disable all controls if you do.
Hmm... since my script (remind me why are we discussing it on this thread? ) is so 'stateless', is there any particular reason you're running the script synchronously? Do you really need to capture the output? I don't know about PowerShell, but in CMD.EXE land, we have a command called START, which can start a program asynchronously. In VBScript, we can similarly start other programs asynchronously with extra parameters on a Shell.Run call. I'd be very surprised if PS doesn't offer something similar. Might be worth looking into, unless you absolutely must monitor the script execution for some reason.
Please i am read you Message. I need neutral language file for ADK (Windows 8, 8.1). This file not exists (only language pack). I need x86_winpe-srt-package and amd64_winpe-srt-package. Please help me. Thank you very much Petr