Jump to content

How do I unclock a locked archive? WinRAR


Ctwizzy

Recommended Posts

I have WinRAR and I want to add my .reg to the installer, but if i try adding the .reg file to the installer archive I get a cannot modify locked archive error. Is there anyway I can unlock the archive so I can add my file?

If not this, how do I get the EXACT SFX for the installer so I can recreate it with that file included?

Thanks!

Link to comment
Share on other sites


i dont believe you can unlock it to do that particular need,, i think its best to just unpack it and repackage it and if you just want to remake the same sfx package after adding the reg file that you desire,,, to get the same sfx style

do this on the sfx file

right click > properties > comment tab > then copy that into your new comment area for your new sfx file and thats it

hope that helps you m8

Link to comment
Share on other sites

this is the comment

; WinRAR
; Multifunctional Integrated Archive Manager

Its the official WinRAR installer. Thats all the comment says but it installs properly. I managed to recreate it by building my own and copying each and every sfx entry from the original. Still would ne nicer if you could unlock it.

Link to comment
Share on other sites

1) Extract the contents of the original SFX into its own folder

2) Replace the Rarreg.key file

3) Make a new solid SFX in WinRAR as usual

4) Add all the files from the SFX folder

5) Copy the following into the comment box:

;The comment below contains SFX script commands

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\7zxa.dll
Delete=Formats\z.fmt

Title=WinRAR 3.50 beta 3
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>
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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