I've made a new version of the script, rewritten from scratch.
No more 7zip SFX, instead the WinRAR installer is updated with WinRAR (WinRAR must be installed).
No need to uncompress the themes, the script will do it for you.
Dropped support for multi arch, as WinRAR will only be 64 bits starting with 7.10 anyways.
Dropped support for nLite/RVMi addon cration, not needed anymore.
This script should work with any version of WinRAR.
I had to include RAR Unlocker as the WinRAR installers are often locked.
And still:
support for rarreg.key
support for adding custom registry keys.
Read the included readme.txt for more information.
The script should not trigger any false positives from AV, but the created installer could be blocked by your AV, if it's the case, add it to the exclusions (or pause real-time protection before running it).
For now it's considered beta, and I will keep v3.3 in the front page.
Please test it and report if it works for you.
WinRAR_SFX_Maker_4.0.zip