Hi mooms,
I tried it many times in 2 VMs with the old and the new installer:
JRE 8u66 installed, then updated to 71/72 ---> 8u66 (8u71) has been uninstalled; updated the existing 8u72 to 8u73/74, 8u72 has not been uninstalled.
8u73 installed and updated to 8u74, 8u73 has not been uninstalled.
Edit:
I think I found what caused the error: in every line
ECHO SetEnvironment="DelOldVer=%%%%P:hidcon:cmd /c For /F \"tokens=2 delims={}\" %%a In ('Reg Query %%swUninst_%%%%P%% ^| FINDSTR \"%GUID%\"') Do exeExec /x{%%a}">> "32.cfg"
you wrote exeExec, but this command does not exist: I changed it in MSIexec and it works.
Installed 8u72, updated to 8u74: every time the previous (or already installed) version has been uninstalled.
An already installed 8u74 has been uninstalled too.