How to extract file from .msu hotfix?
How to extract file from .msu hotfix?
Hi, anybody realize how to extract file from .msu hotfix?
I just konw how to extract in XP:
If you have a file named WindowsXP-KB958644-x86-ENU.exe, you can type "WindowsXP-KB958644-x86-ENU.exe /x" in command prompt, then it will extract the file for you.
I want to konw is there any parameter like "/x" for .msu file?
I just konw how to extract in XP:
If you have a file named WindowsXP-KB958644-x86-ENU.exe, you can type "WindowsXP-KB958644-x86-ENU.exe /x" in command prompt, then it will extract the file for you.
I want to konw is there any parameter like "/x" for .msu file?
You can't say!!!
- ricktendo64
- Posts: 3213
- Joined: Mon May 22, 2006 12:27 am
- Location: Honduras
If you have Kels UberPack there is a hfextract (made by sereby) send to style that you can use
VUT can do this also
VUT can do this also
- mr_smartepants
- Posts: 824
- Joined: Thu May 18, 2006 5:56 am
- Location: Cambridgeshire, UK
There's also /extract, at least it works for Office 2007 hotfixes.
Code: Select all
foobar.exe /extract:C:\foobar\test
WinRAR 3.80
Extract MSU file, and I get four files. Among those four files is the payload cab. Extract the payload cab with WinRAR. I get lots of cat files, manifests, etc. And a bunch of numbered files. Those numbered files represent the data that needs to be fed to the delta decompression. Yes, WinRAR can extract the inner cab, but all it can get is the raw data that must then be processed by Microsoft's delta compression, which, as far as I can tell, WinRAR does not handle...
Extract MSU file, and I get four files. Among those four files is the payload cab. Extract the payload cab with WinRAR. I get lots of cat files, manifests, etc. And a bunch of numbered files. Those numbered files represent the data that needs to be fed to the delta decompression. Yes, WinRAR can extract the inner cab, but all it can get is the raw data that must then be processed by Microsoft's delta compression, which, as far as I can tell, WinRAR does not handle...
*SIGH* whatever dudecode65536 wrote:WinRAR 3.80
Extract MSU file, and I get four files. Among those four files is the payload cab. Extract the payload cab with WinRAR. I get lots of cat files, manifests, etc. And a bunch of numbered files. Those numbered files represent the data that needs to be fed to the delta decompression. Yes, WinRAR can extract the inner cab, but all it can get is the raw data that must then be processed by Microsoft's delta compression, which, as far as I can tell, WinRAR does not handle...

It's not like I like using expand.exe for this. If I could use WinRAR, I'd gladly use it instead of punching in a tedious command line each time. But as I have noted, WinRAR does not do this for me. Since you claim that it's possible, perhaps you'd care to demonstrate how it's done? Maybe I'm doing something wrong? Even with the latest version of WinRAR, there is no indication whatsoever that WinRAR is capable of handling delta compression.muiz wrote:*SIGH* whatever dude
i don't see this mentioned but here is probably a very neat way to do this though i didn't get testing it
the HFextractor is the best but thats for xp
place it in send2 or make a shortcut for it ..
http://www.2shared.com/file/4247989/44e ... e2cab.html
the HFextractor is the best but thats for xp

place it in send2 or make a shortcut for it ..
http://www.2shared.com/file/4247989/44e ... e2cab.html
Richt click on the .msu and open with winrar.code65536 wrote:It's not like I like using expand.exe for this. If I could use WinRAR, I'd gladly use it instead of punching in a tedious command line each time. But as I have noted, WinRAR does not do this for me. Since you claim that it's possible, perhaps you'd care to demonstrate how it's done? Maybe I'm doing something wrong? Even with the latest version of WinRAR, there is no indication whatsoever that WinRAR is capable of handling delta compression.muiz wrote:*SIGH* whatever dude
Works like a charm, never had any problems with it.
All Vista packs i made are done this way, and they all work.
And this is with the latest official version of WinRAR? Well, this is what I get when I open a MSU file with WinRAR:muiz wrote:Richt click on the .msu and open with winrar.
Works like a charm, never had any problems with it.
All Vista packs i made are done this way, and they all work.

The bottom WinRAR window is what I see when I open the MSU. The top WinRAR window is what happens when I open the .cab found within the MSU (you can see the raw data files that comprise the delta compression). This is with the latest 3.80 version of WinRAR.
This is also what I see with 7z and MSU. I see this on both XP and Vista. I have never personally seen WinRAR handle a MSU file correctly.

this is an .img file that winrar cannot translate yet
for the cabs found inside the parent pack! they can be manipulated only by vista's pkgmgr.exe
pkgmgr.exe /ip /m:*.cab /s:c:\sandbox
http://technet.microsoft.com/en-us/libr ... 49465.aspx
now i may be wrong since I don't have the file nor vista to test this which would take an extra spare second ..
for the cabs found inside the parent pack! they can be manipulated only by vista's pkgmgr.exe
pkgmgr.exe /ip /m:*.cab /s:c:\sandbox
http://technet.microsoft.com/en-us/libr ... 49465.aspx
now i may be wrong since I don't have the file nor vista to test this which would take an extra spare second ..
You cant open the .cab inside the .msu , but you can open the .msu to get the .cab file, and that file is all you need.
I still dont know what you try to proof here, but it workes flawless.
The picture you show is the .cab file inside the .msu, thats not a .msu but a .cab
I quote the first poster :
The files INSIDE the .msu cant be opened properly with winrar, but you dont need to open those.
You only have to extract the main .cab file. starting with : windows6.0-KB...
And that works VERY fine.
I still dont know what you try to proof here, but it workes flawless.
The picture you show is the .cab file inside the .msu, thats not a .msu but a .cab
I quote the first poster :
And that is by right clicking on it and open with winrar.Hi, anybody realize how to extract file from .msu hotfix?
The files INSIDE the .msu cant be opened properly with winrar, but you dont need to open those.
You only have to extract the main .cab file. starting with : windows6.0-KB...
And that works VERY fine.
Yes. And that's what I've been saying all along in this thread! And I've been quite explicit in clarifying my position and saying that extracting the MSU itself works with any app that handles cabinets (7z, WinRAR, etc.) but that the inner cab needs a Microsoft tool.muiz wrote:You cant open the .cab inside the .msu , but you can open the .msu to get the .cab file
Well, that would depend on what you are trying to do. In most of my use cases, I want to get the stuff inside the inner cab, and having just the cab is often quite useless to me.muiz wrote:and that file is all you need.
While the OP did say "MSU", it was never indicated if all s/he wanted was the cab inside or if s/he wanted the actual system files. Furthermore, the OP indicated that s/he wanted something similar to the NT5.x extract switch, which would have produced the actual system files and not just another cab.muiz wrote:I quote the first poster :
You never clarified--until now--that you were only referring to the outer layer and not to the inner cab, whereas I've been very clear in my posts what I was referring to.muiz wrote:I still dont know what you try to proof here, but it workes flawless.
At the very least, you should have clarified your position by saying, "I only meant the extraction of the cab from the MSU, not the actual system files." or "I don't care about the stuff inside the cab." or "I'm not talking about the cab inside." And then there wouldn't be this argument predicated on a misunderstanding.
Last edited by code65536 on Thu Nov 13, 2008 12:20 am, edited 1 time in total.
yeah, so for xp hotfixes, you cannot handle it with winrar/7zip, you should run it or use other tools to get the inner file.
i haven't kept an eye for vista msu files. given info above, i think that if files should be extracted, you must extract the inner layer(just like xp hotfixes's inner sfx); but on the other hand, i think muiz tended to point that winrar/7zip CAN extract the inner cab that is needed for preparing a vista updatepack.
so the arguing can stop here.
cheers,
yumeyao
i haven't kept an eye for vista msu files. given info above, i think that if files should be extracted, you must extract the inner layer(just like xp hotfixes's inner sfx); but on the other hand, i think muiz tended to point that winrar/7zip CAN extract the inner cab that is needed for preparing a vista updatepack.
so the arguing can stop here.
cheers,
yumeyao
- ricktendo64
- Posts: 3213
- Joined: Mon May 22, 2006 12:27 am
- Location: Honduras
-
- Posts: 101
- Joined: Wed Feb 16, 2005 4:05 pm