MSFN Forum: WinRAR SFX Commands - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

WinRAR SFX Commands Rate Topic: -----

#21 User is offline   DLF 

  • Member
  • PipPip
  • Group: Members
  • Posts: 206
  • Joined: 02-November 04

Posted 28 December 2004 - 07:10 AM

Seems a lot of work, Asta, unpacking and then repacking for the sake of a 1kb text file! (It would work tho s'pose).


#22 User is offline   symbolic X 

  • Group: Members
  • Posts: 1
  • Joined: 19-July 07

Posted 19 July 2007 - 08:58 AM

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

Attached File(s)



#23 User is offline   Tefole 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 04-September 04

Posted 05 September 2007 - 12:14 AM

View Postsixpack, on Dec 28 2004, 06:04 AM, said:

use the arrow to hide your commands like this:
;The comment below contains SFX script commands

Path=WinRAR
SavePath
Setup=uninstall.exe /setup
Presetup=uninstall.exe /clean
Overwrite=1

Could 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.

#24 User is offline   Twisten 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 18-May 08

Posted 24 May 2008 - 10:21 AM

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 file
that 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=1
you've got a totaly silent installer. :P .

use winrar to export your settings.reg and add Setup=regedit.exe /s settings.reg
and there you go a registered (assuming you archived rarreg.key) configured installation of winrar. ;)

This post has been edited by Twisten: 24 May 2008 - 11:14 AM


#25 User is offline   MitsuMan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 12-March 06

Posted 04 November 2009 - 01:32 PM

Hello

i have create a sfx like this ...

;Kommentaren nedenfor indeholder SFX kommandoer

Path=C:\Users\Default\AppData\Local\Temp\
SavePath
Setup=Setup.exe --mode=Silent --deploymentFile="C:\Users\Default\AppData\Local\Temp\install.xml"
Silent=1
Overwrite=1

is 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

#26 User is offline   g-force 

  • Tester
  • PipPipPipPip
  • Group: Members
  • Posts: 596
  • Joined: 20-June 07
  • OS:XP Pro x86
  • Country: Country Flag

Posted 05 November 2009 - 11:34 PM

I need some explaination on that:
;Kommentaren nedenfor indeholder SFX kommandoer

Path=C:\Users\Default\AppData\Local\Temp\
SavePath
Setup=Setup.exe --mode=Silent --deploymentFile="C:\Users\Default\AppData\Local\Temp\install.xml"
Silent=1
Overwrite=1

What 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?

#27 User is offline   pppx00 

  • Junior
  • Pip
  • Group: Members
  • Posts: 80
  • Joined: 02-October 04

Posted 26 July 2010 - 05:56 PM

Any way to add a notification windows that the switchless has been finished?

#28 User is offline   b3b9 

  • Group: Members
  • Posts: 1
  • Joined: 27-August 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 August 2010 - 05:21 AM

View Postsymbolic X, on 19 July 2007 - 08:58 AM, said:

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


The same question


)))

Hello
I'm new on this website
And I liked this issue, and I was looking for a temporary long-
I'm not good at much English

So I have one question only you write it of end Iodhali

I 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 ...?)))

#29 User is offline   leogets 

  • Group: Members
  • Posts: 7
  • Joined: 05-July 08

Posted 18 October 2010 - 02:37 PM

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 Games
while the other one extracts its contents to: C:\Documents and Settings\%Username%\Local Settings\Application Data

I 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.exe

Having 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.bat

Batch file:
echo off
.\Darksiders1.exe start \wait
.\Darksiders2.exe

exit

Thanks for Any Help.

#30 User is offline   kojax 

  • Group: Members
  • Posts: 1
  • Joined: 23-October 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 23 October 2010 - 04:22 AM

Great help :thumbup
Thank's !!!!!!

#31 User is offline   dukew74 

  • Group: Members
  • Posts: 6
  • Joined: 05-March 08
  • OS:XP Pro x86
  • Country: Country Flag

Posted 31 December 2010 - 11:44 PM

View Postleogets, on 18 October 2010 - 02:37 PM, said:

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 Games
while the other one extracts its contents to: C:\Documents and Settings\%Username%\Local Settings\Application Data

I 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.exe

Having 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.bat

Batch file:
echo off
.\Darksiders1.exe start \wait
.\Darksiders2.exe

exit

Thanks for Any Help.


Only a couple months late but here goes.

Combine both SFX to one and use the below for silent

;The comment below contains SFX script commands

Path=%UserProfile%
SavePath
Silent=2
Overwrite=2

So the folders you would pack are
My Documents\My Games
Local Settings\Application Data

#32 User is offline   Killjoy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 50
  • Joined: 08-July 09
  • OS:XP Pro x86
  • Country: Country Flag

Posted 01 September 2011 - 08:20 PM

Thank you all for this. After "double-click" on RAR setup, it just asks me to set associations for archives and that is all. Version of WinRAR is 4.01.

This is combined script from here. Thanks to all.

;The comment below contains SFX script commands

Path=WinRAR
SavePath
Setup=uninstall.exe /setup
Silent=1
Presetup=uninstall.exe /clean
Overwrite=1
Delete=*.lng
Delete=rarlng.dll
Delete=rarext.dll
Delete=register.frm
Delete=rar_site.txt
Delete=register.txt
Delete=order.txt
Delete=Dos.sfx
Delete=os2.sfx
Delete=Formats\ace.fmt
Delete=Formats\arj.fmt
Delete=Formats\cab.fmt
Delete=Formats\gz.fmt
Delete=Formats\lzh.fmt
Delete=Formats\tar.fmt
Delete=Formats\uue.fmt
Delete=Formats\bz2.fmt
Delete=Formats\iso.fmt
Delete=Formats\unacev2.dll
Delete=Formats\7z.fmt
Delete=Formats\7za.dll
Delete=Formats\z.fmt
Title=WinRAR v4.01
Text
{

<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>
&nbsp;&nbsp; <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>
&nbsp;&nbsp; <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>
&nbsp;&nbsp; <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>
&nbsp;&nbsp; <b>WinRAR archiver is distributed as is</b>.
No warranty of any kind is expressed or implied. You use at your
own risk. Neither the author nor the agents of the author will be
liable for data loss, damages, loss of profits or any other kind
of loss while using or misusing this software.
</body>
</html>
}


#33 User is offline   neoryudo 

  • Group: Members
  • Posts: 1
  • Joined: 19-January 12
  • OS:none specified
  • Country: Country Flag

Posted 19 January 2012 - 10:11 AM

guys i have made a client to patch a game and trying to use Winrar for the Archive file, my only problem is that when it extracts through DOS, it asks if i would like to over write the files even if i have told Winrar to always overwrite, in the scripts box its got


;The comment below contains SFX script commands

Overwrite=1
Title=Japanese Voice Updater

Attached File  updater.jpg (127.91K)
Number of downloads: 15
but as you can see here it still does it?, any help?

thanks
-NeoRyudo

#34 User is offline   condor 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 04-October 06

Posted 05 February 2012 - 04:42 PM

SFX winrar can make shortcut like this?

For example easy cd-da extractor is this:

"C:\Program Files\easy\easy.exe"

and Audio riper is:


"C:\Program Files\easy\easy.exe" -R

How can make shortcut with this -R in sfx??

tks

This post has been edited by condor: 05 February 2012 - 05:43 PM


#35 User is offline   taeka 

  • Group: Members
  • Posts: 2
  • Joined: 16-June 12
  • OS:XP Home
  • Country: Country Flag

Posted 16 June 2012 - 01:45 AM

Is there a way to use Delete= to delete folders?
Cause what my installer does is just add the files to the old folder files. So the new files and the old files are both in the same folder.
What I want to do is delete the old folder first with a command so the new folder will be put and with just the new files.
Is there a way? I really need to know this.

#36 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 June 2012 - 03:55 AM

You can use the option:

Le commentaire ci-dessous contient des commandes pour script SFX

Overwrite=1




#37 User is offline   taeka 

  • Group: Members
  • Posts: 2
  • Joined: 16-June 12
  • OS:XP Home
  • Country: Country Flag

Posted 16 June 2012 - 01:48 PM

View Postmyselfidem, on 16 June 2012 - 03:55 AM, said:

You can use the option:

Le commentaire ci-dessous contient des commandes pour script SFX

Overwrite=1


I used this one but it still doesn't do what I want to do.
Cause the folder that I want to get rid of is the folder called Artwork.
I want it to be deleted first then extract a new folder with new files also named Artwork.
But what happens is i just get 1 folder with both old and new files in them. Even though I use the Overwrite script.

And for more information,

The artwork folder is just a sub folder of what I want to extract.

#38 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 June 2012 - 03:08 PM


Example with a folder inside: %userprofile%\Mes Documents\Tweaks\Batchs

1 - Removing first all files inside:.\Tweaks\Batchs\*.*
2 - Install the new files inside the same subfolder


Le commentaire ci-dessous contient des commandes pour script SFX

Path=%userprofile%\Mes Documents
Silent=1
Overwrite=1
Update=U
Delete=Tweaks\Batchs\*.*



HTH



#39 User is offline   behdadsoft 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 29-May 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 November 2012 - 02:09 PM

Hi.

how can hide this code when open with WinRAR?

Posted Image

#40 User is offline   HJSC 

  • Group: Members
  • Posts: 2
  • Joined: 30-June 10
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 November 2012 - 05:53 PM

View Postbehdadsoft, on 06 November 2012 - 02:09 PM, said:

Hi.

how can hide this code when open with WinRAR?

Posted Image

sixpack taught how to hide the commands. Here's his comment - just copy and paste the code you will see that it works.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy