Hi,
I have product A and product B. Both are two unrelated products but have similar functionality.
I want to uninstall product A only after successful installation of product B. So, I sequenced the uninstallation of product A in the InstallExecuteSequence of product B giving -1. But I get error -
Action ended 10:55:07: InstallFinalize. Return value 1.
MSI (s) (78:50) [10:55:07:545]: Doing action: UninstallOldProduct
Action 10:55:07: UninstallOldProduct.
Action start 10:55:07: UninstallOldProduct.
MSI (s) (78:50) [10:55:07:545]: Note: 1: 2762
Error 2762. Cannot write script record. Transaction not started.
MSI (s) (78:50) [10:56:11:476]: Product: XYZ Module -- Error 2762. Cannot write script record. Transaction not started.
Action ended 10:56:11: UninstallOldProduct. Return value 3.
I tried sequencing the uninstall process after InstallExecute but before InstallFinalize. I still got the same error. How is this usually done according to my needs ?
Thanks,
Mahesh.
FOLLOW US
Get the latest news in Application Packaging