Archive: WinRAR and RAR files support for NSIS


WinRAR and RAR files support for NSIS
Hello,

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

If yes: How? :igor:

If not: Can anybody implement it? :cry:

Thanks for help,
Rainer


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


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.


Or you optionally detect an installed WinRAR installation.
This way an possibly installed WinRAR x64 can be used instead of your shipped UnRAR x86.


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

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.

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.