roytam1 Posted March 13, 2016 Share Posted March 13, 2016 (edited) I added Win2000 style installer icon to SFXCAB-6.2.29. To change icon: Before modifying, note down the file size of sfxcab.exe and convert it to little ending hex (a). (i.e.: 40,448 bytes => 9E00h => 00 9E) After modified with resource editor, note down the new file size of sfxcab.exe and convert it to little ending hex (b). Open sfxcab.exe with hex editor, find the "(a) 00 80" sequence (i.e. "00 9E 00 80"), and it should only have 1 occurrence. Change (a) with (b) and then save. Recalculate PE checksum with PEChecksum. To use: copy /b sfxcab.exe+yourcab.cab yourcab.exe To autorun: Open cab with hex editor before "copy /b", change "20"(hex) to "60"(hex) just before the filename you desired to autorun after extraction. File: https://mega.nz/#!2JVQgBLS!9Xe9kQk6WVA_ubfGLcaaSsHcjmpM4t-UoR0qhkRbxkk Edited March 13, 2016 by roytam1 Link to comment Share on other sites More sharing options...
blackwingcat Posted March 17, 2016 Share Posted March 17, 2016 On 2016年3月13日 at 0:07 AM, roytam1 said: I added Win2000 style installer icon to SFXCAB-6.2.29. To change icon: Before modifying, note down the file size of sfxcab.exe and convert it to little ending hex (a). (i.e.: 40,448 bytes => 9E00h => 00 9E) After modified with resource editor, note down the new file size of sfxcab.exe and convert it to little ending hex (b). Open sfxcab.exe with hex editor, find the "(a) 00 80" sequence (i.e. "00 9E 00 80"), and it should only have 1 occurrence. Change (a) with (b) and then save. Recalculate PE checksum with PEChecksum. To use: copy /b sfxcab.exe+yourcab.cab yourcab.exe To autorun: Open cab with hex editor before "copy /b", change "20"(hex) to "60"(hex) just before the filename you desired to autorun after extraction. File: https://mega.nz/#!2JVQgBLS!9Xe9kQk6WVA_ubfGLcaaSsHcjmpM4t-UoR0qhkRbxkk I always create installer with CABARC.EXE + IEXPRESS.EXE 1. compress all folder to cab. ... for example example.cab 2. make cmd file @echo off extrac32 /y /e /l .\ .\EXAMPLE.CAB > nul INSATALLER.EXE setup.cmd 3. create Package with IEXPRESS to run setup.cmd Link to comment Share on other sites More sharing options...
roytam1 Posted March 17, 2016 Author Share Posted March 17, 2016 35 minutes ago, blackwingcat said: I always create installer with CABARC.EXE + IEXPRESS.EXE 1. compress all folder to cab. ... for example example.cab 2. make cmd file @echo off extrac32 /y /e /l .\ .\EXAMPLE.CAB > nul INSATALLER.EXE setup.cmd 3. create Package with IEXPRESS to run setup.cmd Since I don't like double extraction, my modified update packages will continue to use SFXCAB. Link to comment Share on other sites More sharing options...
blackwingcat Posted March 18, 2016 Share Posted March 18, 2016 IExpress can not pack both folders and files, this hack makes available it ! If you do not need folder you can make install package with single extraction. 18 hours ago, roytam1 said: Since I don't like double extraction, my modified update packages will continue to use SFXCAB. 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