IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> SFXCAB.EXE
Innocent Devil
post Apr 23 2005, 01:47 PM
Post #1


Senior Member
****

Group: Members
Posts: 646
Joined: 4-February 05
From: God's Own Country
Member No.: 43021
OS: XP Pro x86
Country Flag


Dows any one know how to create m$ SFXCAB archive (like the hotfises and SPs m$ release) that support /integrate swithch ? is there any program available ?
Go to the top of the page
 
+Quote Post
Gurgelmeyer
post Apr 24 2005, 03:11 AM
Post #2


Gurgelmeyer
***

Group: Members
Posts: 392
Joined: 27-January 05
Member No.: 42248
Country Flag


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. no.gif

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. yes.gif

Is /integrate the only reason that you want to create SFXCAB's in the first place? blink.gif

Best regards,
Gurgelmeyer
Go to the top of the page
 
+Quote Post
T D
post Jun 27 2006, 11:43 AM
Post #3


Go MSFN!
******

Group: Members
Posts: 1078
Joined: 5-April 06
From: London
Member No.: 92828
Country Flag


Sorry for the late post, but it's only now I stumbled upon this topic on google.
QUOTE
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.
Go to the top of the page
 
+Quote Post
erpdude8
post Jun 30 2006, 04:08 PM
Post #4


MSFN Addict
*******

Group: Members
Posts: 1924
Joined: 24-November 04
Member No.: 37246
Country Flag


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.

This post has been edited by erpdude8: Jun 30 2006, 04:33 PM
Go to the top of the page
 
+Quote Post
eryen
post Nov 12 2007, 01:21 PM
Post #5


Junior
*

Group: Members
Posts: 88
Joined: 23-December 05
Member No.: 83272
Country Flag


How to creat SFXCAB file.

1. Hex edit one update file. Delete after MSCF part. So u have sfx module. lets name it cab.sfx
2. Compress all folder or files with make cab. lets name it files.cab
3. copy /b cab.sfx+files.cab files.exe
4. 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.
Go to the top of the page
 
+Quote Post
erpdude8
post Feb 26 2008, 06:04 PM
Post #6


MSFN Addict
*******

Group: Members
Posts: 1924
Joined: 24-November 04
Member No.: 37246
Country Flag


QUOTE (eryen @ Nov 12 2007, 01:21 PM) *
How to creat SFXCAB file.


you mean "create", eryen. you've gotta use some spellcheck in your post.

QUOTE
1. Hex edit one update file. Delete after MSCF part. So u have sfx module. lets name it cab.sfx
2. Compress all folder or files with make cab. lets name it files.cab


you mean makecab.exe

QUOTE
3. copy /b cab.sfx+files.cab files.exe
4. 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?
Go to the top of the page
 
+Quote Post
eryen
post Feb 26 2008, 06:32 PM
Post #7


Junior
*

Group: Members
Posts: 88
Joined: 23-December 05
Member No.: 83272
Country Flag


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.
Go to the top of the page
 
+Quote Post
erpdude8
post Feb 27 2008, 09:55 AM
Post #8


MSFN Addict
*******

Group: Members
Posts: 1924
Joined: 24-November 04
Member No.: 37246
Country Flag


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. sad.gif

QUOTE
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.

This post has been edited by erpdude8: Feb 27 2008, 10:01 AM
Go to the top of the page
 
+Quote Post
eryen
post Feb 27 2008, 12:04 PM
Post #9


Junior
*

Group: Members
Posts: 88
Joined: 23-December 05
Member No.: 83272
Country Flag




It will look like this.
U see update\eula.txt blah blah.
(Files in cab) MSCF is CAB header.


EDIT:
Atteched sfx file for you.
http://rapidshare.com/files/95407852/MSCF.sfx

copy /b MSCF.sfx+yourfile.CAB yourfile.exe

Then HexEdit the HEX:20 00 to HEX:60 00 in front of your program which u want to run after extraction.

This post has been edited by eryen: Feb 27 2008, 12:11 PM
Go to the top of the page
 
+Quote Post
erpdude8
post Feb 27 2008, 02:31 PM
Post #10


MSFN Addict
*******

Group: Members
Posts: 1924
Joined: 24-November 04
Member No.: 37246
Country Flag


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.

QUOTE
Compress all folder or files with make cab. lets name it files.cab


what 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?

This post has been edited by erpdude8: Feb 27 2008, 02:33 PM
Go to the top of the page
 
+Quote Post
erpdude8
post Feb 27 2008, 02:55 PM
Post #11


MSFN Addict
*******

Group: Members
Posts: 1924
Joined: 24-November 04
Member No.: 37246
Country Flag


QUOTE (erpdude8 @ Feb 27 2008, 02:31 PM) *
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.

This post has been edited by erpdude8: Feb 27 2008, 03:05 PM
Go to the top of the page
 
+Quote Post
eryen
post Feb 27 2008, 05:54 PM
Post #12


Junior
*

Group: Members
Posts: 88
Joined: 23-December 05
Member No.: 83272
Country Flag


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.

This post has been edited by eryen: Mar 4 2008, 02:08 AM
Go to the top of the page
 
+Quote Post
dragon695
post Mar 12 2008, 03:57 PM
Post #13





Group: Members
Posts: 2
Joined: 12-March 08
Member No.: 181573
OS: Vista Ultimate x86
Country Flag


QUOTE (eryen @ Feb 27 2008, 06:54 PM) *
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.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 28th August 2008 - 11:58 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy