Switch -IIMG<name> - specify SFX logo


Specify an image (*.png) file to display as logo in the created or updated SFX archive. The <name> parameter is a name of .png file. You must not compress SFX module by any third party executable compressors if you are going to use -iimg.

This switch is the command line equivalent of "Load SFX logo from the file" option in SFX options: Text and icon dialog.

Size of default SFX logo is 93x302 pixels. It is recommended to use images of same size or smaller.

If you use two -iimg switches, first will define the default and second the high resolution SFX logo. If high resolution logo is present, SFX module scales and displays it in high DPI Windows mode, providing better visible quality than resizing the standard logo. Recommended size of high resolution logo is 186x604 pixels.

Examples

  1. add contents of c:\myfiles folder to setup.exe SFX archive, use c:\pictures\logo1.png as the default logo and c:\pictures\logo2.png as the high resolution logo

WinRAR a -sfx -iimgc:\pictures\logo1.png -iimgc:\pictures\logo2.png setup.exe c:\myfiles

  1. replace the default logo in the already existing SFX archive setup.exe with logo.png stored in the current folder, remove the high resolution logo if any

WinRAR s -iimglogo.png setup.exe