diff --git a/Core/Binary/PublishActiveSetup.js b/Core/Binary/PublishActiveSetup.js index c1ded5d..da2cb59 100644 --- a/Core/Binary/PublishActiveSetup.js +++ b/Core/Binary/PublishActiveSetup.js @@ -60,7 +60,7 @@ if (data && data.length >= 2) { // We should have set the StubPath to execute cleanup. Unfortunately, when // the StubPath gets executed, the MSI package is gone already. So, a // `msiexec /x [ProductCode] /qn` is not possible any more. - wsh.RegDelete(regPath + "StubPath"); + try { wsh.RegDelete(regPath + "StubPath"); } catch (err) {} break; } }