Ignore StubPath deletion failures on uninstall
Custom action failure can prevent uninstall to finish and trigger a rollback. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
024d705cce
commit
18cd389029
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user