Conintue Action Script on Failure

(imported topic written by SystemAdmin)

Is there a way to run through some MSI uninstalls and to continue even if one of the uninstalls fails?

For instance we’d like to run the following commands in sequence on all clients:

wait “{pathname of system folder & “\msiexec.exe”}” /x “{{62DC441E-0FD3-4606-9D9B-90FE325B29E5}” /qn /norestart

wait “{pathname of system folder & “\msiexec.exe”}” /x “{{8CA32D58-3DDB-4BB9-8108-218FF73CFF47}” /qn /norestart

wait “{pathname of system folder & “\msiexec.exe”}” /x “{{B2F04AF7-A741-42EA-8B11-B65D7168DDEA}” /qn /norestart

wait “{pathname of system folder & “\msiexec.exe”}” /x “{{E52C258D-DCF6-411B-B690-06DAC5009F37}” /qn /norestart

But as of now if one of the installs does not exist, then the uninstall fails and the action fails.

I know I am missing the obvious here, but I’ve gone through the logs and run the commands manually and everything seems ok.

(imported comment written by MattBoyd)

What if you put the command in a bat file and executed the bat file instead? I haven’t tried it, but it’s probably worth a shot.

I’m guessing that the action is failing because one of the uninstallers can’t be found, since I’ve never had a wait or waithidden command fail unless a file was missing.

I think that the MSI packages used cached installers located in C:\Windows\Installers, but I’m not positive. I checked in C:\Windows\Installers for some kind of correlation between the GUID and the packages stored there but I can’t figure out if/how they are related. Perhaps someone else has a better grasp on the situation.