floko84 Posted December 2, 2008 Share Posted December 2, 2008 (edited) Hello Unattenders,making custom packages is what tweaking any software setup is all about.I think the usual method is to simply create a sfx-archive with your favorite archiver, which I really dont like as I want packages that give me a nice visible setup when double clicked, with the option to make it unattended.Inspired by this post I set out to find a newer version of this sfx, and preferably in english since that one has some turkish resources in it - and find it I did:SfxCab features:subdirs in archiveparameter passed to default action/commandno config file clutter, very 3rd party unpacker friendlynot signed like IExpress packages, i.e. some archivers may be able to modify itSfxCab limitations:command must be an exefile without parameterscan't override default command with something elseno fancy icon, in fact no icon whatsoeverMake your own:Compress your filescabarc -m LZX:21 -p -r N ..\outfile.cab *.*stub only works with LZX compressionFlag the executableopen outfile.cab in a hex editor and edit the cab header for your executable like this:20 00 setup.exe => 60 00 setup.exeall other files should have a 20 00 flag - if not, use cabarc and not a 3rd party archiverBuild the sfxcopy /b sfxcab.exe + outfile.cab outfile.exeIf you only have an MSI, use setupbld.exe from WIX 3.0+ to convert it to exe.Find other "Self-Extracting Cabinet" stubs:The attached stub is taken from the english IE7 setup, the cab-data starts at the 3rd occurrence of "MSCF".Happy installing,Flosfxcab.zip Edited December 2, 2008 by floko84 Link to comment Share on other sites More sharing options...
erpdude8 Posted August 2, 2012 Share Posted August 2, 2012 (edited) sfxcab.exe file v6.2.29.0 does not work, floko84. produces "not a valid win32 application" error message, even when following all the steps correctly.epic fail. but I have an older version of sfxcab that seems to work. anyone can PM me if they want a working version. Edited August 2, 2012 by erpdude8 Link to comment Share on other sites More sharing options...
tomasz86 Posted August 2, 2012 Share Posted August 2, 2012 V6.2.29.0 does work but not the file attached to #1.You can get a working one from this update:http://download.microsoft.com/download/5/f/d/5fdc6240-2127-42b6-8e16-bab6171db233/WindowsXP-KB898461-x86-ENU.exeDownload it and rename to any 8.3 filename, ex. "update.exe".Download pcopy02.zip, extract partcopy.exe from it and use:partcopy.exe update.exe 0 8E00 sfxcab.exe"Sfxcab.exe" (you can use any other filename) v1.0.0.0 will be created which can be used instead of the one from #1. Link to comment Share on other sites More sharing options...
erpdude8 Posted August 3, 2012 Share Posted August 3, 2012 thanks tomasz86, though I happen to find a newer version (6.3.15.0) while I was away. AND I had to mod it in PE Explorer to correct the "raw data values" in order for any sfxcab packages that I create to actually work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now