IOW, get the already extracted MSI files and use those, rather than create your own package like in the old days. One of my co workers wrote up a guide to turn the JAVA isntaller into a single MSI ...
To check which version of Java you have on your Windows computer, you'll need to open the Command Prompt.