(imported topic written by rkc91)
Not able to find error in this
Task is failing it state Invalid action content: the action script contains a syntax error.
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{FE70B6B7-A8AF-47C5-9F80-5A50BAEB3680}” of registry then
wait msiexec.exe /qn /uninstall {{FE70B6B7-A8AF-47C5-9F80-5A50BAEB3680} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{DF930075-1C01-45CA-B023-993BF4118096}” of registry then
wait msiexec.exe /qn /uninstall {{DF930075-1C01-45CA-B023-993BF4118096} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{7228CB73-80E9-48D3-A7FD-C2A242686AB3}” of registry then
wait msiexec.exe /qn /uninstall {{7228CB73-80E9-48D3-A7FD-C2A242686AB3} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{80739A1E-68C7-4DC2-ABA7-F78139CD28A7}” of registry then
wait msiexec.exe /qn /uninstall {{80739A1E-68C7-4DC2-ABA7-F78139CD28A7} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{7279647E-8661-48DF-998E-E7DCC3E6955D}” of registry then
wait msiexec.exe /qn /uninstall {{7279647E-8661-48DF-998E-E7DCC3E6955D} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{E80D3B3D-86EE-4B6B-831B-C5B0D30F71DE}” of registry then
wait msiexec.exe /qn /uninstall {{E80D3B3D-86EE-4B6B-831B-C5B0D30F71DE} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5E8858EC-6B09-4939-99F2-5678073A0327}” of registry then
wait msiexec.exe /qn /uninstall {{5E8858EC-6B09-4939-99F2-5678073A0327} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{589A1BA3-C7B2-4C0C-AB19-B9DD4DD69EF9}” of registry then
wait msiexec.exe /qn /uninstall {{589A1BA3-C7B2-4C0C-AB19-B9DD4DD69EF9} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5D814210-65D3-4D2B-A7A3-9EDDD0C8A8CE}” of registry then
wait msiexec.exe /qn /uninstall {{5D814210-65D3-4D2B-A7A3-9EDDD0C8A8CE} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2FD19326-CD5B-431B-8E58-9C8AD147F24B}” of registry then
wait msiexec.exe /qn /uninstall {{2FD19326-CD5B-431B-8E58-9C8AD147F24B} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{1B5E8AD8-6BC0-4B50-9A3D-B417FBA5209F}” of registry then
wait msiexec.exe /qn /uninstall {{1B5E8AD8-6BC0-4B50-9A3D-B417FBA5209F} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2A8C1EC1-9253-4CAA-812B-57F5826C1F17}” of registry then
wait msiexec.exe /qn /uninstall {{2A8C1EC1-9253-4CAA-812B-57F5826C1F17} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{4E951F0A-C53B-4AD6-A6DA-0D0A009073A9}” of registry then
wait msiexec.exe /qn /uninstall {{4E951F0A-C53B-4AD6-A6DA-0D0A009073A9} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{FFA2B2B6-3BDE-4728-B404-A16E0F853F6A}” of registry then
wait msiexec.exe /qn /uninstall {{FFA2B2B6-3BDE-4728-B404-A16E0F853F6A} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{E8033C46-957B-4C8C-A323-E502C98B3FD8}” of registry then
wait msiexec.exe /qn /uninstall {{E8033C46-957B-4C8C-A323-E502C98B3FD8} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{0C99E740-9387-4A8D-A761-BE5EA7DE570B}” of registry then
wait msiexec.exe /qn /uninstall {{0C99E740-9387-4A8D-A761-BE5EA7DE570B} /norestart
endif
if exist key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{1A488025-7572-4883-BDDC-32B935007449}” of registry then
wait msiexec.exe /qn /uninstall {{1A488025-7572-4883-BDDC-32B935007449} /norestart
endif