Jump to content

Recommended Posts

Posted (edited)

I added Win2000 style installer icon to SFXCAB-6.2.29.

To change icon:

  1. 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)
  2. After modified with resource editor, note down the new file size of sfxcab.exe and convert it to little ending hex (b).
  3. 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.
  4. Change (a) with (b) and then save.
  5. 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 by roytam1

Posted
On 2016年3月13日 at 0:07 AM, roytam1 said:

I added Win2000 style installer icon to SFXCAB-6.2.29.

To change icon:

  1. 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)
  2. After modified with resource editor, note down the new file size of sfxcab.exe and convert it to little ending hex (b).
  3. 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.
  4. Change (a) with (b) and then save.
  5. 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

 

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

Posted

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.

 

 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...