This switch is the command line equivalent of 'Load SFX icon from the file' option in SFX options. Myicons ver1.ico as SFX icon; WinRAR a -sfx -iiconc. See the SourceForge SNG project page for a command line tool that converts between. Free download rar command line sfx icon Files at Software Informer. 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. SavePath This 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.05 SavePath. TempMode=[Question][,Title] This 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: TempMode Unpacks to temp folder. TempMode=Do you wish to continue installation of Calculator 3.05?, Calculator setup Creates temp folder, and displays dialog with text 'Do you wish to continue installation of Calculator 3.05?' Setup=[program] SFX 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'. 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.exe SFX will try to run 'setup.exe'. Shortcut=X, 'PATHTOPROGRAM', 'SUBMENU', 'DESCRIPTION', 'SHORTCUTNAME' where X can be: D=Desktop S=Start Menu P=Start Menu/Programs T=Startup This one makes a shortcut. Replace the variables with real ones Also, 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.
0 Комментарии
Оставить ответ. |
АвторНапишите что-нибудь о себе. Не надо ничего особенного, просто общие данные. Архивы
Март 2019
Категории |