1. Rar Sfx Command Line Icon Mistletoe 2017
  2. Command Line Interface

Getting a winrar SFX to make an accurate shortcut to.exe in user-defi Facebook; Twitter. Name 'WinRAR archiver' and icon winrar.ico: Shortcut=D, winrar.exe, WinRAR, 'WinRAR executable file', 'WinRAR archiver', winrar.ico. The WinRAR documentation for the very tricky shortcut command line is completely deficient. Also, problematic, is. I'm trying to make a Command archive in winrar via the command line. I read the winrar manual, but I am winrar lost. I want to create a SFX that: Solutions Learn More Through Courses. SFX options: Text and icon - WinRAR Documentation. Open it in text editor and look what's inside]. SED options you want to provide. A CS proverb says. The command line syntax for using the -sp switch with a rarsfx installer which contains another setup installer that can take switches is as follows: rarsfx.exe -sp' switch' where 'switch' is the argument you want to pass on to the embedded installer. Rar Sfx Command Line Options WinRAR and command line RAR use RAR 5 if Windows progress bars op. Make money on Binary Options trading. (SFX), authenticity command line and graphical interface, draganddrop facility. Rar Sfx Command Line Icon Border. UpdateStar is compatible with Windows platforms. Advanced SFX options dialog are ignored for.

Active4 years, 2 months ago

I'm trying to create a self-extractable (SFX) rar archive, which will have both icon and image. I'm using the following command line:

Trouble is - the resulting .exe can't be unpacked. Instead it says 'The archive is either in unknown format or damaged'. If I set only icon or only image, then everything is fine. But if I set both, I'm in trouble. Strangest thing.

Gal ShadeckGal Shadeck
2671 gold badge7 silver badges13 bronze badges

1 Answer

The code of the SFX module + the data of the bitmap file + data of the icon file + SFX comment file + other data (signature) are written first to the SFX archive file and next the actual archive with the compressed data is appended to the file.

The maximum size of all data preceding the archive data must be at the moment smaller than 1 MB according to RAR 5.0 archive format technote documentation.

Possible solutions:

  • Reduce the size of the bitmap file by making it smaller in width/height.
  • Reduce the size of the bitmap file by decreasing the colors from true color to 256 colors.
  • Reduce the size of the icon file by removing icons from icon file not really needed as a single icon in the dimensions 16x16, 24x24, 32x32 and 48x48 is enough. Some *.ico files contain multiple icons in various dimensions. A single icon in the standard dimensions is enough for an SFX archive. It is even possible to remove some sizes like 24x24 and 48x48 so that the icon file contains only one icon in dimensions 16x16 and 32x32.
  • Reduce the size of the icon file by decreasing all true color icons in the file to icons with only 256 colors using a customized palette or even to 16 colors if that is possible.
  • Reduce the size of the comment file if that is somehow possible like using wildcards for files to delete before installation or shorter text displayed to user on SFX execution.
  • Reduce the size of the SFX module for example by compressing it with UPX.

But take into account that with compression of the SFX module itself the bitmap and the icon must be in the resources of the SFX module itself instead of being appended separately.

Coolsand usb driver free download. A tool like Resource Hacker can be used to replace the standard bitmap by own bitmap and the standard icons by own icons as well as changing dialog layout. That reduces the total size of the data preceding the archive data even without compressing the SFX module with a runtime packer like UPX.

Using tools like Resource Hacker to customize the resources of one of the standard SFX modules of WinRAR is permitted by the copyright owners of WinRAR. See in help of WinRAR (winrar.chm) the page with title GUI RAR and ZIP SFX modules (Default.SFX and Zip.SFX) via Index tab or via Contents tab (first entry of Self-extracting modules) of help.

MofiMofi
31k8 gold badges42 silver badges91 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Not the answer you're looking for? Browse other questions tagged winrarsfx or ask your own question.

Active2 years, 2 months ago

I am trying to create a winrar self-extracting archive with a custom icon on the command line.

It is all going well so far, except the custom icon is not working. Whenever I build the archive the icon used is the default winrar icon.

Rar Sfx Command Line Icon Mistletoe 2017

Rar sfx command line icon mistletoe tree

If I create the SFX using the SFX dialog, then it works fine. This says to me that there is nothing wrong with the icon.

The command I am using is:

Raiden616Raiden616
4852 gold badges8 silver badges28 bronze badges

2 Answers

The text file Rar.txt in program files folder of WinRAR contains all commands and switches supported by console version Rar.exe. Running Rar.exe without any parameter lists also all of them with a brief description.

Emulators » Nintendo Entertainment System » PSP » NesterJ NesterJ NES Emulator for PSP Overview. NesterJ is a pretty functional NES emulator for the Sony PSP. It was developed by Japanese developer Ruka but then eventually forked into several different sub projects. NesterJ V1.13 Nintendo Entertainment System Emulator for. 1.12 by Takka, which is based on nesterJ 1.11. Discussion in 'Sony PSP. NesterJ NES Emulator for PSP Features SAVE SLOT STATE SAVE STATE LOAD STATE DELETE DISK CHANGE. Nesterj nes emulator 1 11 psp slimes.

The commands and switches supported by WinRAR.exe are explained in help of WinRAR, open on help tab Contents the item Command line mode.

There are a few differences in list of supported switches between console and GUI version. One of those few differences is no support by console version for SFX icon. I suppose, the reason is the need of a Microsoft library function not (easily) available for a console application.

You can use WinRAR.exe instead of Rar.exe even when running it from within a batch file. Use additionally the switches-ibck and -inul to run WinRAR.exe in background without displaying an error message on failure. Switch -y might be also useful.

MofiMofi
31k8 gold badges42 silver badges91 bronze badges

For a workaround

You can also make it work using only one command but calling winrar instead of rar. And no, i don't know why the console version does not include the icon.

MC NDMC ND
60.8k5 gold badges53 silver badges90 bronze badges

Command Line Interface

Not the answer you're looking for? Browse other questions tagged windows-7cmdwinraricosfx or ask your own question.

Coments are closed
© 2020 - d8cmb.netlify.com
Scroll to top