December 28, 200421 yr Oh, related to this thread:I made a request for the WinRAR developers to add shortcut commandline switch to create quick launch icons and I already got a responce thanking for the suggestion.. So maybe in a future version it might be possible. Who knows!
December 28, 200421 yr use the arrow to hide your commands like this:;The comment below contains SFX script commandsPath=WinRARSavePathSetup=uninstall.exe /setupPresetup=uninstall.exe /cleanOverwrite=1
December 28, 200421 yr I want to use an SFX to create a file to install my rarreg.key to my Winrar folder thru' RunOnceEx. I can make the archive and do the syntax for the RunOnceEx ok - but I have 2 quick questions: when specifying the absolute path in the SFX settings can I use %systemdrive%\Program Files\WinRar (which will make the uA CD more versatile) or does it have to be X:\Program Files\WinRar ?? Also because there's a gap in Program Files does it all have to be enc in quotes?Have used the winrar help file util but there's no mention of %systemdrive% usage. T.I.A.
December 28, 200421 yr dlf u dont need to do any of that.all u need to do is to unpack the winrarsetup.exeu place the rarreg.key into the unpacked folderrepack it using this comment.;The comment below contains SFX script commandsPath=WinRARSavePathSetup=uninstall.exe /setupPresetup=uninstall.exe /cleanOverwrite=1Delete=*.lngDelete=rarlng.dllDelete=rarext.dllDelete=register.frmDelete=rar_site.txtDelete=register.txtDelete=order.txtDelete=Dos.sfxDelete=os2.sfxDelete=Formats\ace.fmtDelete=Formats\arj.fmtDelete=Formats\cab.fmtDelete=Formats\gz.fmtDelete=Formats\lzh.fmtDelete=Formats\tar.fmtDelete=Formats\uue.fmtDelete=Formats\bz2.fmtDelete=Formats\iso.fmtDelete=Formats\unacev2.dllDelete=Formats\7z.fmtDelete=Formats\7za.dllDelete=Formats\z.fmtTitle=WinRAR v3.41 Corporate EditionText{ This is a REAL Corporate version.<html> <body bgcolor="#ececec"> <style> body { color: #000000; background-color: #ffffff; font-family: "MS Sans Serif"; font-size: 12; scrollbar-3dlight-color:#f0f0f0; scrollbar-arrow-color:#f0f0f0; scrollbar-darkshadow-color:#909090; scrollbar-face-color:#909090; scrollbar-highlight-color:#f0f0f0; scrollbar-shadow-color:#f0f0f0 } em {color: navy; font-style: normal} </style> <b>WinRAR is a powerful archiver</b>. It provides complete support of <em><b>RAR</b></em> and <em><b>ZIP</b></em> files, unpacks <em>7Z</em>, <em>ACE</em>, <em>ARJ</em>, <em>BZ2</em>, <em>CAB</em>, <em>GZ</em>, <em>ISO</em>, <em>JAR</em>, <em>LZH</em>, <em>TAR</em>, <em>UUE</em>, <em>Z</em>. Among WinRAR features are strong compression, volumes, encryption, self-extracting modules, backup facilities.<br><br> <b>WinRAR is shareware</b>. Anyone may use it during a test period of 40 days. Following this test period or less, if you wish to continue to use WinRAR, you must register.<br><br> <b>There are no additional license fees</b>, apart from the cost of registration, associated with the creation and distribution of RAR archives or self-extracting archives. Legally registered owners may use their copies of WinRAR to produce and distribute those archives free of any additional RAR royalties.<br><br> <b>WinRAR archiver is distributed as is</b>.No warranty of any kind is expressed or implied. You use at yourown risk. Neither the author nor the agents of the author will beliable for data loss, damages, loss of profits or any other kindof loss while using or misusing this software. </body> </html>}done. that is what most of us with keys douse WinrarSetup.exe /S
December 28, 200421 yr Seems a lot of work, Asta, unpacking and then repacking for the sake of a 1kb text file! (It would work tho s'pose).
July 19, 200719 yr How do I put an image into the comments section of an SFX archive, even change the Extract button? I know it was done before, example shown in attachment.What other program do I might need to use where adding images and changing buttons can be optional since I couldn't find this in WinRAR? Thanks so far.$/PX
September 5, 200718 yr use the arrow to hide your commands like this:;The comment below contains SFX script commandsPath=WinRARSavePathSetup=uninstall.exe /setupPresetup=uninstall.exe /cleanOverwrite=1Could you tell us the Ascii Code plz ?I checked the Ascii Table, but didnt find the "arrow".strange: Its not displayed correctly in the CodeTag of board@msfn, but copy&paste into winrar is working.
May 24, 200818 yr ooo boy, been a while since the last post. still for those looking for the answer to that question:put on a line of its own ascii code 0x1A which is the SUB (Substitute) control character.Edit:About being able to use /s with winrar sfx, actualy you can't its passed along to the uninstall.exe filethat said, simply change Setup=uninstall.exe /setup to Setup=uninstall.exe /setup /s voila no more popup for the configuration options and if you add Silent=1you've got a totaly silent installer. . use winrar to export your settings.reg and add Setup=regedit.exe /s settings.regand there you go a registered (assuming you archived rarreg.key) configured installation of winrar. Edited May 24, 200818 yr by Twisten
November 4, 200916 yr Helloi have create a sfx like this ...;Kommentaren nedenfor indeholder SFX kommandoerPath=C:\Users\Default\AppData\Local\Temp\SavePathSetup=Setup.exe --mode=Silent --deploymentFile="C:\Users\Default\AppData\Local\Temp\install.xml"Silent=1Overwrite=1is there anyway to use start /wait on setup or on the sfx file. because if i use start/wait repack.exe it just wait until it was unpack and not to the setup.exe is finish
November 6, 200916 yr I need some explaination on that:;Kommentaren nedenfor indeholder SFX kommandoerPath=C:\Users\Default\AppData\Local\Temp\SavePathSetup=Setup.exe --mode=Silent --deploymentFile="C:\Users\Default\AppData\Local\Temp\install.xml"Silent=1Overwrite=1What are you trying to do with this comments?To extract the setup temporarly you just need to set "Temp Mode".The SFX extracts itself to TEMP, closes, setup is started from TEMP.What about "repack,exe" - I don`t understand that, what is it good for?
August 27, 201015 yr How do I put an image into the comments section of an SFX archive, even change the Extract button? I know it was done before, example shown in attachment.What other program do I might need to use where adding images and changing buttons can be optional since I couldn't find this in WinRAR? Thanks so far.$/PXThe same question)))HelloI'm new on this websiteAnd I liked this issue, and I was looking for a temporary long-I'm not good at much EnglishSo I have one question only you write it of end IodhaliI have a file Winrar I've downloaded from the site and featured in this edition it again Mkirkp by file rarreg. .. So But surprisingly it's the same file Winrar your original company how they were to do that ...?)))
October 18, 201015 yr Hello, need help with SFX options.I have created 2 SFX (.exe) files. One extracts its contents to: C:\Documents and Settings\%Username%\My Documents\My Gameswhile the other one extracts its contents to: C:\Documents and Settings\%Username%\Local Settings\Application DataI could use a .bat file to extract each, but I was hoping there is some way in which I could add both .exe files to a WinRAR self-extracting file so that all I have to do is run the one final .exe and both get extracted. Is there any way to actually do this with WinRAR?The files are for the game Darksiders for PC because the game opens with a resolution that is not compatible with my TV when used as my monitor.All I've been able to do is to get one of them to run. Under Setup is there anyway to add a Start /wait command.So that it looks like:Setup=Darksiders1.exe start/wait, Darksider2.exeHaving this type of a command would definitely help a lot of people like myself out.Is there anyway I can accomplish this with winrar with out having to add a .bat file.. Like Setup=Darksiders.batBatch file:echo off.\Darksiders1.exe start \wait.\Darksiders2.exeexitThanks for Any Help.
Create an account or sign in to comment