I am evaluating the Advanced Installer for our project requirements and am facing troubles running the .Net Installer Custom Actions. I get a 2869 error when I attach this action in the Install phase of the Install Execution sequence.
The Installer Action is currently part of a Visual Studio setup project and works fine from there. It overrides Before Install, After Install, Before Rollback, Commit, Before Uninstall events of the Installer class. The "Before Install" event will pop-up a Windows form to take some input and progresses further based on the input.
Thinking if this error could be because of this Windows Form, I tried running it with another Installer derived class (the parent class for the above one and provided by Microsoft). Same error came up even with that.
I need to run this Custom Action library (which is part of Microsoft's GAX runtime) to be able to run my software post installation. Am I missing something here? Appreciate any help in making this work.
Code: Select all
MSI (s) (F8:B4) [13:29:17:362]: Executing op: ActionStart(Name=dotNetCustAct.dll,,)
Action 13:29:17: dotNetCustAct.dll.
MSI (s) (F8:B4) [13:29:17:377]: Executing op: CustomActionSchedule(Action=dotNetCustAct.dll,ActionType=1025,Source=BinaryData,Target=LaunchDotNetCustomAction,CustomActionData=/LogFile= /ReqVersion=2.0.50727 /InstallType=notransaction /Action=Install "C:\Program Files\XXXX\YYYY\Microsoft.Practices.RecipeFramework.dll" "C:\DOCUME~1\CHANDR~1\LOCALS~1\Temp\dotNetCustAct.dll_Config.xml")
MSI (s) (F8:90) [13:29:17:408]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI7E.tmp, Entrypoint: LaunchDotNetCustomAction
DEBUG: Error 2869: The dialog ErrorDlg has the error style bit set, but is not an error dialog
MSI (c) (DC:C8) [13:29:19:362]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869. The arguments are: ErrorDlg, ,
MSI (c) (DC:C8) [13:34:49:433]: Product: XXXX -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869. The arguments are: ErrorDlg, ,
Error 1001.
MSI (s) (F8!B0) [13:34:49:448]:
MSI (s) (F8:90) [13:34:49:558]: Leaked MSIHANDLE (22) of type 790531 for thread 2992
MSI (s) (F8:90) [13:34:49:558]: Note: 1: 2769 2: dotNetCustAct.dll 3: 1
DEBUG: Error 2769: Custom Action dotNetCustAct.dll did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: dotNetCustAct.dll, 1,
Action ended 13:34:49: InstallExecute. Return value 3.
Thanks in Advance
Chandra.