Innocent Devil Posted April 23, 2005 Posted April 23, 2005 Dows any one know how to create m$ SFXCAB archive (like the hotfixes and SPs m$ release) that support /integrate switch ? is there any program available ?
Gurgelmeyer Posted April 24, 2005 Posted April 24, 2005 Hi,SFXCAB's are created only by Microsoft, and there are no tools, no documentation or anything else available to help others create SFXCAB's. The /integrate option btw is passed to UPDATE.EXE, which then examines the UPDATE.INF and does the slipstream - SFXCAB.EXE doesn't do much itself really. /integrate will FAIL if UPDATE.INF is not "signed" - that is, if it does not contain a reference to a Microsoft signed .CAT file with a checksum of the .INF itself. You'll need to "help" UPDATE.EXE overcome this and similar other "shortcomings" just to make it do anything at all btw. Is /integrate the only reason that you want to create SFXCAB's in the first place? Best regards,Gurgelmeyer
T D Posted June 27, 2006 Posted June 27, 2006 Sorry for the late post, but it's only now I stumbled upon this topic on google.You'll need to "help" UPDATE.EXE overcome this and similar other "shortcomings" just to make it do anything at all btw. How do we 'help' update.exe? Because executing i386\update\update.exe /Integrate:D:\XP fails and says that you need to use /integrate with the original package.Thanks.
erpdude8 Posted June 30, 2006 Posted June 30, 2006 (edited) I wonder if you have tried using the latest version of UPDATE.EXE if that one fixed your "/integrate" problems.scratch that. i take that back. maybe the only to overcome the update.exe problem is to have MS digitally sign your package so that they can create a CAT file for it. that might be next to impossible. Edited June 30, 2006 by erpdude8
eryen Posted November 12, 2007 Posted November 12, 2007 How to creat SFXCAB file.1. Hex edit one update file. Delete after MSCF part. So u have sfx module. lets name it cab.sfx2. Compress all folder or files with make cab. lets name it files.cab3. copy /b cab.sfx+files.cab files.exe4. Hex edit to run files after extract. For example. u want to run setup.exe Search setup.exe in files.exe. There is 20 00 in front of setup.exe Chance it to 60 00.Done.Run your sfx cab file.
erpdude8 Posted February 27, 2008 Posted February 27, 2008 How to creat SFXCAB file.you mean "create", eryen. you've gotta use some spellcheck in your post.1. Hex edit one update file. Delete after MSCF part. So u have sfx module. lets name it cab.sfx2. Compress all folder or files with make cab. lets name it files.cabyou mean makecab.exe3. copy /b cab.sfx+files.cab files.exe4. Hex edit to run files after extract. For example. u want to run setup.exe Search setup.exe in files.exe. There is 20 00 in front of setup.exe Chance it to 60 00.Done.Run your sfx cab file.okay. since I may want to create SFXCAB like NT4 packages, can I use hotfix.exe instead of setup.exe listed in step 4?
eryen Posted February 27, 2008 Posted February 27, 2008 Yep u can use any kind of program to run after decompress.just edit HEX:20 00 to HEX:60 00 in front of your program.
erpdude8 Posted February 27, 2008 Posted February 27, 2008 (edited) So far, eryen, your method of creating SFXCAB files has NOT worked. Running the SFXCAB file that I created produced "File is corrupt" error message. Hex edit one update file. Delete after MSCF part.What MSCF part? There is more than one instance of MSCF. Look in any NT-based update file in Notepad or Wordpad (or even in a hex editor like XVI32) and you will find that there are three instances of "MSCF". So which MSCF part do I delete? Look very carefully. Edited February 27, 2008 by erpdude8
erpdude8 Posted February 27, 2008 Posted February 27, 2008 (edited) thanks. I'm still getting "File is corrupt" error message when running the SFXCAB file I made. already hexed 20 00 to 60 00 in front of hotfix.exe.Compress all folder or files with make cab. lets name it files.cabwhat about using CABARC.EXE to make CAB files? Seems to be easier than using MAKECAB.EXE.Also, have you tested your own methods of making SFXCAB files on an NT-based Windows computer and did it work or not? Edited February 27, 2008 by erpdude8
erpdude8 Posted February 27, 2008 Posted February 27, 2008 (edited) what about using CABARC.EXE to make CAB files? Seems to be easier than using MAKECAB.EXE.Ok. I finally got my SFXCAB file to work now, eryen. I had problems creating CAB files with MAKECAB.EXE, so I used CABARC.EXE instead. The CAB file I created needed to be created using LZX:21 compression with CABARC.EXE. Then I copied your SFX file with the CAB file (compressed with LZX:21 compression) and then hexed "20 00" to "60 00" before the hotfix.exe file and now running the SFXCAB file works.thanks for the MSCF.SFX file. It's version 6.1.22.4. Other versions of SFXCAB.EXE don't seem to work for me while the one you posted worked well. Edited February 27, 2008 by erpdude8
eryen Posted February 27, 2008 Posted February 27, 2008 (edited) Oh ye. i see now.There is at least three type of fsx for cab file.The one i send here working good.One from IE7 updates can extract file but not running setup. And another one give me allways error.Lucky me. Found good one at first run. Edited March 4, 2008 by eryen
dragon695 Posted March 12, 2008 Posted March 12, 2008 Oh ye. i see now.There is at least three type of fsx for cab file.The one i send here working good.One from IE7 updates can extract file but not running setup. And another one give me allways error.Lucky me. Found good one at first run.Did you know that someone in the "hotstream" project on this board actually got their grubby paws on the actual sfxcab.exe utility? It's really irritating, because he says he won't share it.
erpdude8 Posted February 4, 2010 Posted February 4, 2010 (edited) Did you know that someone in the "hotstream" project on this board actually got their grubby paws on the actual sfxcab.exe utility? It's really irritating, because he says he won't share it.and who exactly what that person be, dragon695? [name please]maybe because that person is not authorized by M$ to share the tool. B) oh well Edited February 4, 2010 by erpdude8
manu2k10 Posted August 28, 2010 Posted August 28, 2010 Hey everyone,I'm trying the hex editing trick with a program called HxD. But I always get "C:\...\.exe is not a valid Win32 application".I even took the sfx from this thread (the rapidshare link) and i did "copy /b mscf.sfx+...." and made an EXE. Then I hex edit that with HxD and make it identical to mscf.sfx that I downloaded from here and it works perfectly. So why won't it work when I try to get the MSCF.SFX from Windows xp sp2 update file or internet explorer 8? both those use SFXCAB but I can't make it work.Any help please?
cy06 Posted June 11, 2011 Posted June 11, 2011 how to create ie8-windowsxp-x86-chs.exe 6.3.0015.0 built by: dnsrv
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now