Skip to content
⌘ NSIS Forum Archive

WinRAR and RAR files support for NSIS

7 posts

TheRainer#

WinRAR and RAR files support for NSIS

Hello,

Does NSIS support RAR files, encrypted and with password protection, from WinRAR? 🙄

If yes: How? 🧟

If not: Can anybody implement it? 😢

Thanks for help,
Rainer
Anders#
If this is for some type of copy protection, its not really going to help much since NSIS is not good at keeping secrets 😉

If you can't find a plugin that does what you want, you can always use a external unpacker
Lodester#
Why not just package and call rar.exe from your NSIS installer and do whatever you need to/want. That ships with winrar has a lot more functionality anyway.
CG!#
Or you optionally detect an installed WinRAR installation.
This way an possibly installed WinRAR x64 can be used instead of your shipped UnRAR x86.
Yathosho#
Originally posted by Lodester
Why not just package and call rar.exe from your NSIS installer and do whatever you need to/want. That ships with winrar has a lot more functionality anyway.
i'm sure that's an answer anders would have given, if it wasn't so easy to intercept the password for those encrypted rars.

i can't think of any other solution as long as there is no plugin with password support*

* hint to the developer of the 7-zip plugin
MSG#
i'm sure that's an answer anders would have given, if it wasn't so easy to intercept the password for those encrypted rars.
I can vouch for that particularity being a problem. :-)

Anyway, redistributing rar.exe is not allowed under the WinRAR EULA.
CG!#
That's why i was refering to use an installed WinRAR/RAR.EXE or shipping the UnRAR.EXE/.DLL.
Dunno about the UnRAR.EXE, but the DLL is free to use and the APi is good documented.