unrar.dll how to use ???
i loaded unrar.dll for winrar site but don't know how to use, it's hard to use with sysytem.dll help please ...
Archive: unrar.dll how to use ???
unrar.dll how to use ???
i loaded unrar.dll for winrar site but don't know how to use, it's hard to use with sysytem.dll help please ...
If you have any specific problems, I'm sure someone will be able to help.
thanks anyway...
if you want to extract from a winrar archive use unrar.exe. you have it in your winrar folder.
i used it. use it with nsExec plugin.
OJi.
dll + docu here
http://www.rarsoft.com/rar_add.htm
I'm no programmer and have no idea about programming (I thought so, but then I started to learn, and realised, I know nothing).
What I want to do, is to extract a RAR file via NSIS installer.
There were plugins for ZIP files with a commands like:
nsisunz::Unzip "$PLUGINSDIR\myzipfile.zip" "$INSTDIR"
ZipDLL::extractall SOURCE DESTINATION
Brummelchen have linked the unrar.dll, I think it could be great, but I have no idea, what command should I use to extract the files. I could probably find the command name by browsing the DLL, but I wouldn't know how many parameters does it use, or in what order.
(Also, there is a BioWare's DLL, named nsisUnRar2.dll, used in Mass Effect 2 DLC installers which also unpacks RAR archives.)
So if anyone could post a short instruction, like
1. Put <list of files> in <directory>
2. Include <filename> in your script
3. Use the command <command>
Thank's in advance.
Oh, by the way I think there should be an archive support implemented in NSIS, dunno, zip, 7zip or rar, whatever.
I've always found unrar.dll to be severely lacking in documentation. I would recommend using 7za.exe instead, but I don't think it supports rar archives. Zip and 7z it can do, so if you're free in chosing your archive format, I'd go 7z.
7-zip supports unpacking of RAR (but not packing).
Stu
Originally posted by Afrow UKNot the basic command line version...
7-zip supports unpacking of RAR (but not packing).
Ah yes you are correct.
Stu
Just a note: WinRAR has a CLI unpacker (aka "UnRAR") too.
It's probably easier to use from NSIS (e.g. via nsExec), compared to the plain DLL version.
I was under the impression unrar.exe couldn't be redistributed for commercial applications, but its license.txt just states it's free without further specification. So looks like I was wrong.