I'm sorry...not the version of msiexec but if an actual msi is installed on a machine or not.

Ex.-

Shell "c:\winnt\system32\msiexec.exe /i c:\test.msi /qn-"

Is there a way to check if an msi installed correctly after you run the command above?? Or you only want to install said msi if it has not already been installed.