Uhh, it looks like you have failing CustomActions.

Install1.log:

Action start 09:12:39: UpdatePropsWithSelectedWebSite.
MSI (c) (1C:8C) [09:12:39:637]: Creating MSIHANDLE (30) of type 790542 for 
thread 5772
MSI (c) (1C:14) [09:12:39:638]: Invoking remote custom action. DLL: 
C:\Users\jeb\AppData\Local\Temp\MSI59D7.tmp, Entrypoint: 
UpdatePropsWithSelectedWebSite
MSI (c) (1C!AC) [09:12:39:678]: Creating MSIHANDLE (31) of type 790531 for 
thread 3500
MSI (c) (1C!AC) [09:12:39:678]: Closing MSIHANDLE (31) of type 790531 for 
thread 3500
MSI (c) (1C:14) [09:12:39:680]: Closing MSIHANDLE (30) of type 790542 for 
thread 5772
Action ended 09:12:39: UpdatePropsWithSelectedWebSite. Return value 3.


Install2.log:

Action start 09:13:09: ClearMsmqTable.
MSI (c) (D4:84) [09:13:09:165]: Creating MSIHANDLE (30) of type 790542 for 
thread 4996
MSI (c) (D4:F0) [09:13:09:166]: Invoking remote custom action. DLL: 
C:\Users\jeb\AppData\Local\Temp\MSICD32.tmp, Entrypoint: ClearMsmqTable
MSI (c) (D4!FC) [09:13:09:201]: Creating MSIHANDLE (31) of type 790531 for 
thread 2044
MSI (c) (D4!FC) [09:13:09:201]: Closing MSIHANDLE (31) of type 790531 for 
thread 2044
MSI (c) (D4:F0) [09:13:09:202]: Closing MSIHANDLE (30) of type 790542 for 
thread 4996
Action ended 09:13:09: ClearMsmqTable. Return value 3.


-----Original Message-----
From: jballe [mailto:j...@visionpeople.dk] 
Sent: Monday, February 09, 2009 00:25
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CustomAction following specific CustomAction fails


Thank you. I'am probably using unicode as I am using Visual Studio.
I have changed as you described, but unfortunately it didn't solve the
issue.

I attach two logfiles:
http://n2.nabble.com/file/n2296247/Install1.log Install1.log 
http://n2.nabble.com/file/n2296247/Install2.log Install2.log 

In both I am using my OpenFileDialog but I made different feature choices
changing the next (managed) CustomAction.

The OpenFileDialog is executed as I wrote in my original post. Below is the
log from the second CusomAction, which fails I do not see any errormessages.
Even though I add System.Diagnostics.Debugger.Launch() to my managed
CustomActions the debugger is not launched if the OpenFileDialog has been
opened. But note, everything is working as expected if the OpenFileDialog is
not executed.


MSI (c) (1C:8C) [09:12:39:626]: Doing action: UpdatePropsWithSelectedWebSite
Action 09:12:39: UpdatePropsWithSelectedWebSite. 
Action start 09:12:39: UpdatePropsWithSelectedWebSite.
MSI (c) (1C:8C) [09:12:39:637]: Creating MSIHANDLE (30) of type 790542 for
thread 5772
MSI (c) (1C:14) [09:12:39:638]: Invoking remote custom action. DLL:
C:\Users\jeb\AppData\Local\Temp\MSI59D7.tmp, Entrypoint:
UpdatePropsWithSelectedWebSite
MSI (c) (1C!AC) [09:12:39:678]: Creating MSIHANDLE (31) of type 790531 for
thread 3500
MSI (c) (1C!AC) [09:12:39:678]: Closing MSIHANDLE (31) of type 790531 for
thread 3500
MSI (c) (1C:14) [09:12:39:680]: Closing MSIHANDLE (30) of type 790542 for
thread 5772
Action ended 09:12:39: UpdatePropsWithSelectedWebSite. Return value 3.
DEBUG: Error 2896:  Executing action UpdatePropsWithSelectedWebSite failed.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2896. The
arguments are: UpdatePropsWithSelectedWebSite, , 
Action ended 09:12:39: WelcomeDlg. Return value 3.
MSI (c) (1C:6C) [09:12:39:688]: Doing action: FatalError
Action 09:12:39: FatalError. 
Action start 09:12:39: FatalError.


BTW I am using version 3.0.5006.0 but I also had the issue with the
3.0.4805.0

Thank you.



Rob Mensching-2 wrote:
> 
> Are you compiling with UNICODE defined?  If so I believe you have a buffer
> overrun here:
> 
>     ofn.nMaxFile = sizeof(szOriginalPath);
> 
> You should use countof() instead of sizeof().
> 
> Otherwise, I'm not really sure what the issue is.  Showing the part of the
> log file that has the error might be helpful.
> 

jballe wrote:
> 
> If the C++ customaction is run the next customaction (no matter which one)
> fails with the error code 2896 (Executing action xxx failed). If the C++
> custom action is not run, it works as it is supposed to.
> 
> I have to made this custom action as C++ as it didn't worked with a
> managed
> custom action - and that probably makes sense that DTF can't open a dialog
> for the msi handle, I guess.
> 
> While logging the installation I do not get any notices around the actions
> and the C++ OpenFile dialog action closes the MSIHANDLES correctly.
> 
> Below is text from Logfile regarding the OpenFile dialog
> Action 10:15:34: BrowseFileDialog. 
> Action start 10:15:34: BrowseFileDialog.
> MSI (c) (CC:0C) [10:15:34:475]: Creating MSIHANDLE (28) of type 790542 for
> thread 5388
> MSI (c) (CC:E8) [10:15:34:475]: Invoking remote custom action. DLL:
> C:\[snip...]\Temp\MSI516D.tmp, Entrypoint: BrowseForFile
> MSI (c) (CC!88) [10:15:34:498]: Creating MSIHANDLE (29) of type 790541 for
> thread 4488
> MSI (c) (CC!88) [10:15:36:934]: PROPERTY CHANGE: Adding PATHTOFILE
> property.
> Its value is [snip...].
> MSI (c) (CC!88) [10:15:36:934]: Closing MSIHANDLE (29) of type 790541 for
> thread 4488
> MSI (c) (CC:E8) [10:15:36:938]: Closing MSIHANDLE (28) of type 790542 for
> thread 5388
> Action ended 10:15:36: BrowseFileDialog. Return value 1.
> 
> I guess the problem is around this BrowseFileDialog CustomAction as the
> result is the some for my next two different customactons and they work
> without this BrowseFileDialog.
> I attach the sourcecode of my C++ custom action: 
> http://n2.nabble.com/file/n2292259/CustomAction.cpp CustomAction.cpp 
> 
> Thanks you all!
> 
> Best regards,
> Jesper
> 

-- 
View this message in context: 
http://n2.nabble.com/CustomAction-following-specific-CustomAction-fails-tp2292259p2296247.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to