Getting a winrar SFX to make an accurate shortcut to.exe in user-defi. If you omit this parameter, the default icon will be used. If icon file name does not contain the full path, SFX archive will search the icon file in folder containing unpacked files. Create a shortcut in folder WinRAR on Desktop to archived file winrar.exe with the. Load SFX logo from the file. Specify a bitmap image (.bmp) file to display as logo in the created or updated SFX archive. Size of default SFX logo is 93x302 pixels. It is recommended to use bitmaps of same size or smaller. You must not compress SFX module by any third party executable compressors if you are going to use this option.
Ok, so SFX archives are obviously very useful, especially for Unattended Installs.Ergo (I love that word), i posted all of the commands and what each parameter of the command does.Lots of info here is from the WinRAR help/I'll try to keep this first post updated with all the commands known.Basic SFX Info:Using WinRAR you can create GUI (graphic mode) self-extracting archives for 32-bit Windows version (Windows 95, 98, NT and so on). These modules cannot be executed under Windows 3.1 or DOS.Both these modules support simple setup commands. You may put them to the SFX archive comment.
Setup commands are listed below. SavePathThis command allows SFX to store the destination path entered by user to Registry and then restore it when SFX archive with the same parameter of Path command executed the next time. The original value of Path command is placed to the list associated with the destination path input field, so a user may choose between previously entered and original paths.This feature may be convenient when installing new versions or upgrades of some software to the same folder. It allows to change the proposed path to desired only once instead of retyping it every time.SavePath command may be used only in combination with Path command.Examples:Path=Calc 3.05SavePath.
TempMode=Question,TitleThis command forces SFX to create a temporary folder, extract all files to it, start the program specified in Setup command and remove the temporary folder including all its contents after completing the Setup program. The SFX automatically sets the silent mode to skip the the start dialog when performing these operations. If TempMode command is present, a script should also have Setup command and must not include Path command.TempMode command may have the optional string parameter, which is used to define a question and question title displayed before extraction. In such case extraction is started only if user selects 'Yes' button.Examples:TempModeUnpacks to temp folder.TempMode=Do you wish to continue installation of Calculator 3.05?, Calculator setupCreates temp folder, and displays dialog with text 'Do you wish to continue installation of Calculator 3.05?' Setup=programSFX will try to execute after successful extraction.
The folder containing extracted files is set as the current before executing program. If a program name contains spaces, it must be enclosed in quotes.Notes:1) If you have problems to use SFX to run InstallShield setup.exe, try to execute 'setup.exe /SMS' instead of simple 'setup.exe'.
![Winrar Create Sfx Archive And Shortcut Winrar Create Sfx Archive And Shortcut](/uploads/1/2/5/3/125385204/853368986.png)
This switch allows SFX to detect termination of the InstallShield setup program.2) All switches specified in SFX command line are passed to a program from Setup= command. SFX itself understands only -s switch, which forces the silent install mode without displaying the start dialog.3) SFX module sets sfxname environment variable before running the setup program. This variable contains the name of SFX archive, so setup program can read it if it needs such information.Examples:Setup=setup.exeSFX will try to run 'setup.exe'.
Shortcut=X, 'PATHTOPROGRAM', 'SUBMENU', 'DESCRIPTION', 'SHORTCUTNAME'where X can be:D=DesktopS=Start MenuP=Start Menu/ProgramsT=StartupThis one makes a shortcut. Replace the variables with real onesAlso, if there is some way to install shortcuts to locations other than the ones I have listed, please let me know.Examples:Shortcut=P, 'mplayerc.exe', 'Media Player', 'Media Player Classic v6.4.8.2', 'Media Player Classic'This creates a shortcut to the mplayerc.exe file in the SFX (no matter where it is installed to), in Start - Programs - Media Player. The shortcut tooltop (when you move your mouse over it) displays Media Player Classic v6.4.8.2, and the shortcut itself is named Media Player Classic.Shortcut=P, 'mplayerc.exe', ', 'Media Player Classic v6.4.8.2', 'Media Player Classic'This creates a shortcut to the mplayerc.exe file in the SFX (no matter where it is installed to), in Start - Programs.
The shortcut tooltop (when you move your mouse over it) displays Media Player Classic v6.4.8.2, and the shortcut itself is named Media Player Classic.
![Winrar Create Sfx Archive And Shortcut Winrar Create Sfx Archive And Shortcut](/uploads/1/2/5/3/125385204/368929005.jpg)
File MenuCtrl+ OOpen archiveCtrl+ DChange driveCtrl+ PSet default passwordCtrl+ CCopy files to clipboardCtrl+ VPaste files from clipboardCtrl+ ASelect allNumPad +Select groupNumPad -Deselect groupNumPad.Invert selection▲ up 2. Commands MenuAlt+ AAdd files to archiveAlt+ EExtract to the specified folderAlt+ TTest archived filesAlt+ VView fileDeleteDelete filesF2Rename fileCtrl+ IPr int fileAlt+ WExtract without confirmationAlt+ MAdd archive co mmentAlt+ PProtect archive from damageAlt+ LLock archive▲ up 3.
Tools MenuAlt+ DScan archive for virusesAlt+ QConvert archivesAlt+ RRepair archiveAlt+ XConvert archive to SF XF3Find filesAlt+ IShow informationAlt+ GGenerate reportAlt+ BBenchmark▲ up 4. Options MenuCtrl+ SSettings.Ctrl+ HFile list - Flat folders viewCtrl+ TFolder tree - Show archive foldersCtrl+ LView log.▲ up 5.
Menu BarAlt+ FFile menuAlt+ CCommands menuAlt+ STool s menuAlt+ OFav orites menuAlt+ NOptio ns menuAlt+ HHelp menu▲ up 6. OthersF1Help topicsCtrl+ WClose WinrarCtrl+ FAdd to Favorites▲ upUploaded by, updated on 11/4/2018.