In windows 10, Java Error Code 1618 is a common issue, and most of the users faced this error while installing Java or any msi packaged Program. Mostly you will face this error if the Windows Installer is already installing another application or Updating any existing application. To skip java installation if the windows installer process is already doing some other things, I use: setlocal EnableDelayedExpansion tasklist findstr 'msiexec' if!errorlevel!0 echo another installation is in progress if!errorlevel!0 goto exit. Executing installation:exit endlocal.
I faced error code 1618 which practically means that another Windows Installer (msiexec.exe) instance is already running in the background.Now I decided to write some exceptions lines to save the same CPU resources and not waste unnecessary executions.
So..
To skip java installation if the windows installer process is already doing some other things, I use:For particular java version, I grow the program with some detection rule:
{26A24AE4-039D-4CA4-87B4-2F32180131F0}
stands for JRE version 8u131