(*some versions in version 5.00 and earlier had only 2 numbers for the version, in this case the renaming will fail, but it is only cosmetic. VVV is the version number, in (almost*) all versions it is three numbers without dots.Įxample WinRAR 5.01 is named 501, so I had to add the dot for correct naming. X64 are named this way: winrar-圆4- VVV L.exe (I'm a beginner in the 'art' of batching).
It took me a certain time to properly extract the version and lang values. The naming we talk here is for the SFX and the AddOn (and ENTRIES_WinRAR.ini inside it). The renaming was also made by older versions, but the final name or the SFX was static. Renaming the original installer is needed to be executed silently by the SFX.Īlso respecting the old 8.3 convention is a good idea for XP. I'm wondering why are you renaming the files in the process?