Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3

Major Upgrade, change of INSTALLDIR and Installer CA = Error 1001

We are having issues with the following scenario:
We have a product which we have changed the default installdir on. We have added a major upgrade item for the previous version (and verified that this new version is executed as a major upgrade in MSI Validator). The project contains several Installer dlls (Installer Class), and we are experiencing Error 1001 during upgrade.

In the log we find the following:
Action 11:51:35: _70AFA579B2F851B352EC17A9F23A00AB.install.
MSI (s) (78:C8) [11:51:35:517]: Executing op: CustomActionSchedule(Action=_70AFA579B2F851B352EC17A9F23A00AB.install,ActionType=3073,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=install /LogFile= /allusers=1 "C:\Program Files (x86)\Company\ML\CA-Install-OML.dll" "C:\Users\Admin\AppData\Local\Temp\{6B750DCC-0B02-41CC-B39C-77ED2A434794}\_isconfig.xml")
MSI (s) (78:D8) [11:51:35:532]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI3119.tmp, Entrypoint: ManagedInstall
Error 1001.
MSI (s) (78!20) [11:52:50:939]:
MSI (s) (78:D8) [11:52:50:939]: Leaked MSIHANDLE (128) of type 790531 for thread 2336
MSI (s) (78:D8) [11:52:50:939]: Note: 1: 2769 2: _70AFA579B2F851B352EC17A9F23A00AB.install 3: 1
Info 2769.Custom Action _70AFA579B2F851B352EC17A9F23A00AB.install did not close 1 MSIHANDLEs.
CustomAction _70AFA579B2F851B352EC17A9F23A00AB.install returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 11:52:50: InstallFinalize. Return value 3.

The Installer CA runs perfectly when just installing. If we try to disabling this CA, the error just occur at the next Installer CA

Using process monitor we found that MSI attempted to access the previous InstallState file.

Anyone have any idea of why this is happening and can share some wisdom about this matter?
Labels (1)
0 Kudos
(1) Reply
Level 9

did you check this
0 Kudos