But when launched (both from NSIS script and from command line) a windows popup explaining the options for launching the MSI installer tells me that there's something wrong with the .exe that launches the MSI with these options.

My system is a Windows 7 64bits and I'm trying to install a JRE 32bits, as this is what's needed for my app.