buletov
Sep 20 2004, 04:21 PM
silent install + reconfiguration to use ZIP as a default (in context menu),
if anyone want to use this, here it is:
CODE
start /wait Bin\WinRAR\wrar340.exe /s
Removed by admin. Use file attachment for such a long file. smknight
Sep 20 2004, 06:40 PM
That's cool... seems like a lot to do just that, but very cool. Do you know if there would be any way to have both of these on the context menu for WinRAR:
add to <archive>.zip
add to <archive>.rar
The goal as far as I'm concerned to be able to quickly and conviently use zip and rar formats while only installing WinRAR instead of WinRAR and WinZip.
sleepnmojo
Sep 20 2004, 06:47 PM
This reminds me of the part in scary movie where the guy busts out a weed trimmer, to trim something. Trim that thing down man. All that profile crap can go.
Shrink it down by combining common keys too.
CODE
[HKEY_CURRENT_USER\Software\WinRAR\General]
"LimitLog"=dword:00000000
[HKEY_CURRENT_USER\Software\WinRAR\General]
"Log"=dword:00000000
becomes
CODE
[HKEY_CURRENT_USER\Software\WinRAR\General]
"LimitLog"=dword:00000000
"Log"=dword:00000000
RogueSpear
Sep 20 2004, 07:28 PM
Personally I prefer using InstallShield Repackager to make everything in an MSI file. With WinRAR I ended up having to use the single step snapshot method, but it works great. All my settings preconfigured and I nuked all the extraneous txt files too. Plus it puts the shortcut just where I want it.
a06lp
Sep 20 2004, 08:47 PM
QUOTE (sleepnmojo @ Sep 20 2004, 08:47 PM)
CODE
[HKEY_CURRENT_USER\Software\WinRAR\General]
"LimitLog"=dword:00000000
"Log"=dword:00000000
That whole thing became these 3 lines?!?!?
Q - anyone know about the above Q about making the Context menu say .rar and .zip? I like that idea....
swampy
Sep 20 2004, 09:44 PM
If you choose "add to archive" instaed of "add to filename.rar" in the context menu, you are one click away from a zip file instead of rar.
smknight
Sep 21 2004, 01:18 AM
swampy, you are right of course, but I'd still be interested in having add to <archive>.zip and add to <archive>.rar to save that extra couple clicks if possible.
A big part of unattended installs is about saving clicks.
buletov
Sep 21 2004, 02:46 AM
well, regsnap made that reg file, and i have better things to do that
removing a bunch of lines that can and don't have to be removed
buletov
Sep 21 2004, 02:48 AM
QUOTE (smknight @ Sep 21 2004, 01:40 AM)
That's cool... seems like a lot to do just that, but very cool. Do you know if there would be any way to have both of these on the context menu for WinRAR:
add to <archive>.zip
add to <archive>.rar
possible, but not in winrar options...
the context menu type of archive depends on default in winrar settings
--=ddSHADOW=--
Sep 21 2004, 03:14 AM
i have the coorporate version email me at 19_shadow@gmx.net i use only
CODE
REG ADD %KEY%\050 /VE /D "Winrar 3.40 FINAL" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\WinRar\Winrar3.40.exe /s /W" /f
buletov
Sep 21 2004, 04:53 AM
QUOTE
i have the coorporate version
CODE
REG ADD %KEY%\050 /VE /D "Winrar 3.40 FINAL" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\WinRar\Winrar3.40.exe /s /W" /f
uhm....the reg file is optional, used only to custiomize contex menu and default archive format
xper
Sep 21 2004, 11:02 AM
QUOTE (--=ddSHADOW=-- @ Sep 21 2004, 11:14 AM)
i have the coorporate version
CODE
REG ADD %KEY%\050 /VE /D "Winrar 3.40 FINAL" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\WinRar\Winrar3.40.exe /s /W" /f
What the hell you think you are doing?

This is not a warez site! Links/Requests to warez and/or illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing activation/timebombs/keygens or any other illegal activity will also not be tolerated. If you ignore any of the aforementioned you will receive a final warning. If you choose to continue,
you will be banned without notice.
buletov
Sep 21 2004, 11:39 AM
i was wondering why you (or somebody) didn't delete his post...
--=ddSHADOW=--
Sep 21 2004, 12:03 PM
i just sayed coorporate version because i have unlock the deafult rar setup file and just put my original version of winrar licence file. I dont support warez i use only original programs like burstcopy i have original licence i have translated the program so i'll get original program. Soory for misunderstanding. I just wanted to share that unlocked winrar setup file.
buletov
Sep 21 2004, 04:02 PM
well there isn't much use of that...
sleepnmojo
Sep 21 2004, 04:02 PM
QUOTE (--=ddSHADOW=-- @ Sep 21 2004, 12:03 PM)
i just sayed coorporate version because i have unlock the deafult rar setup file and just put my original version of winrar licence file. I dont support warez i use only original programs like burstcopy i have original licence i have translated the program so i'll get original program. Soory for misunderstanding. I just wanted to share that unlocked winrar setup file.
Making a guide how to do it would probably have been the best thing to say in this situation, not throw up your email address.
If someone is interested, I can post it, but I didn't think there was that much interest in it since it is pretty basic.
prathapml
Sep 21 2004, 04:45 PM
@sleepnmojo
Do go ahead and post a guide for this. 'Coz doing the archive-modifying to include license file for me (back in the days of v3.20) was not successful. It'd be nice to see how someone who got it working has done it.
RogueSpear
Sep 21 2004, 05:51 PM
I don't want to sound evangelical about repacking to MSI files, but this is what I did in order to make an unattended install that sets all the settings, makes the shortcut where I want it, and places my reg key for me.
If you want I could send you an archive of my repackager archive without my license key. All you would have to do is plop yours in and build (provided you have access to Installshield Repackager).
sleepnmojo
Sep 21 2004, 05:57 PM
Since WinRAR makes its installer based off its own product, you will need WinRAR.
- Download WinRAR
- Extract wrar340.exe using WinRAR to C:\winrar
- Add RarReg.key to C:\winrar
Now you need to make the installer
- Open up WinRAR, and in the address bar put C:\winrar
- Select all the files.
- Hit the add button. This should bring up a dialog about making a new archive. Use the following options.

- Add the following comment
CODE
Path=WinRAR
SavePath
Setup=uninstall.exe /setup
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 3.40 Corporate Edition
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>
<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 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>
}
- Hit Ok.
Your file should be in the c:\winrar folder.
--=ddSHADOW=--
Sep 22 2004, 01:43 AM
hehe you was faster then me , thats the way. But it is not necessarily to lock the archiv.
Then you use
CODE
REG ADD %KEY%\050 /VE /D "Winrar 3.40 FINAL" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\WinRar\Winrar3.40.exe /s /W" /f
to install silent
For lazy people use the file attachted and just add the files from winrar folder
Rename the fille to .exe
swampy
Sep 22 2004, 03:35 AM
Hi sleepnmojo, I just usually install the new winrar, it doesn't delete your key, then go to winrar folder, select all, and follow what you do, same script.
Just saves making new folders & lots of time
buletov
Sep 22 2004, 12:34 PM
well, you could have the key on cd next to the ordinary setup and copy it using the same batch you used to install winrar...much less hasle
prathapml
Sep 22 2004, 12:46 PM
That's exactly the quickest and easiest method if you're anyway doing it unattended - let the batch file do all the menial tasks, huh?
CODE
start /wait %systemdrive%\install\Applications\wrar340.exe /S
copy /Y %systemdrive%\install\Applications\rarreg.key %programfiles%\WinRAR
mazin
Sep 23 2004, 04:19 AM
So far, I haven't seen new ideas in all methods mentioned here for WinRAR.

All of your ideas were discussed
here and
here.
RogueSpear
Sep 23 2004, 06:11 AM
I haven't seen any mention of my method. At this point I have repackaged in neighborhood 50 to 60 applications, commercial and freeware, from QuickTime Alternative to an custom Oracle V9.02 client install.
I find that .msi files install pretty easy both in script and via GPO. Sure command line switches have their place, but to install an application preconfigured, pre-registered, and with a minimum of excess baggage (file_id.diz for example), I have not found a better solution. Another benefit with msi files is that you can directly edit them. I did this with Daemon Tools to eliminate the desktop shortcut, put it in the directory I wanted, and supress the reboot prompt.
If you have the cash (or your employer), pick up a copy of InstallShield AdminStudio. While it may be a pig with resources, it's never done me wrong yet.
mazin
Sep 23 2004, 08:52 AM
@RogueSpear
WOW! You're talking to a MSI player! I appreciate your work. Actually, I've created my own MSI for WinRAR 3.3, but not yet for 3.4.
CoffeeFiend
Sep 23 2004, 09:17 AM
I like adminstudio too, but sometimes when you just need to extract some files... Something like a WinRAR sfx works just fine too... There's many many ways to deploy apps and I don't always use the same one either. I'll even use AutoIt when it's I really have to (or to save a lot of time).
mazin
Sep 23 2004, 03:45 PM
I create MSIs for pleasure in my spare time.
sleepnmojo
Sep 23 2004, 03:54 PM
QUOTE (mazin @ Sep 23 2004, 03:45 PM)
I create MSIs for pleasure in my spare time.

You must not have a job
mazin
Sep 23 2004, 06:36 PM
QUOTE (sleepnmojo @ Sep 24 2004, 12:54 AM)
You must not have a job
I have two jobs. Database Programmer & Administrator (MS Access) as a day-job, and Software Maintenance as an evening-job.
Unfortunately, I can't leave one of them because I extremely like both of them.
So, if I happen to have spare time, I enjoy creating MSIs, both for evening work and for pleasure.
jessc
Sep 24 2004, 07:44 AM
does anyone know if there is a flag (as in /s after the winrar.exe) to stop it putting winrar in the start menu?
prathapml
Sep 24 2004, 07:53 AM
Well, the shell-extensions were a good part about winrar, so I don't know why you'd want to do that....
But there's no switch for that, and the alternative is here:
CODE
RD /S /Q %UserProfile%\Start Menu\Programs\WinRAR
Put that line in your batch-file, and it will delete the winrar group in StartMenu>>Programs.
Hoping this helps...
mazin
Sep 24 2004, 08:21 AM
QUOTE (prathapml @ Sep 24 2004, 04:53 PM)
CODE
RD /S /Q %UserProfile%\Start Menu\Programs\WinRAR
That's what I use. Just add quotes.
buletov
Sep 24 2004, 01:38 PM
you should rather consider moving the winrar group under the accessiories subsection...
lilweirddude
Oct 1 2004, 06:25 PM
sorry if i missed it but where do i get rarreg.key from?
CoffeeFiend
Oct 1 2004, 06:37 PM
QUOTE (buletov @ Sep 24 2004, 01:38 PM)
you should rather consider moving the winrar group under the accessiories subsection...
That's what I do as well (but to another group as if I move every other odd app to accessories, it gets filled way fast).
I also unassociate .jar files (so ProjectX runs instead of open with WinRAR...)
buletov
Oct 2 2004, 03:51 AM
QUOTE (lilweirddude @ Oct 2 2004, 01:25 AM)
sorry if i missed it but where do i get rarreg.key from?
buy winrar
lilweirddude
Oct 2 2004, 10:37 AM
doh!
i was looking in the wrong place for it
my bad
mazin
Oct 2 2004, 11:29 AM
QUOTE (lilweirddude @ Oct 2 2004, 06:37 PM)
i was looking in the wrong place for it
You are at UTOPIA, here!
lilweirddude
Oct 2 2004, 12:06 PM
i was searching the registry for it when it was in my winrar folder the whole time
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.