Jump to content

Recommended Posts

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


Posted

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

Posted

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

Posted

Since WinRAR makes its installer based off its own product, you will need WinRAR.

  1. Download WinRAR
  2. Extract wrar340.exe using WinRAR to C:\winrar
  3. Add RarReg.key to C:\winrar
    Now you need to make the installer
  4. Open up WinRAR, and in the address bar put C:\winrar
  5. Select all the files.
  6. Hit the add button. This should bring up a dialog about making a new archive. Use the following options.
    winrar.p1.jpg
  7. Add the following comment
    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>
    }


  8. Hit Ok.

Your file should be in the c:\winrar folder.

Posted

hehe you was faster then me , thats the way. But it is not necessarily to lock the archiv.

Then you use

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

Posted

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

Posted

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

Posted

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?

start /wait %systemdrive%\install\Applications\wrar340.exe /S
copy /Y %systemdrive%\install\Applications\rarreg.key %programfiles%\WinRAR

Posted

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.

Posted

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

Posted

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

Posted
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. :P:P

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. :P:P

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...