Mark,

Can you confirm that the changes in pull request 
https://github.com/wixtoolset/wix3/pull/157 are the same as the fix you 
attempted?

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: Rob Mensching [mailto:r...@firegiant.com] 
Sent: Thursday, October 2, 2014 3:34 AM
To: WiX toolset developer mailing list
Subject: Re: [WiX-devs] wixstdba based installer hangs when invoked by winrm

Brilliant! Even better, I just noticed that Raymond Chen uses WM_NCDESTROY in 
his "new scratch program" 
(http://blogs.msdn.com/b/oldnewthing/archive/2005/04/22/410773.aspx). That 
makes me even more comfortable that Sean figured out the fix!

-----Original Message-----
From: Mark Weaver [mailto:mark-cl...@npsl.co.uk]
Sent: Thursday, October 2, 2014 12:09 AM
To: wix-devs@lists.sourceforge.net
Subject: Re: [WiX-devs] wixstdba based installer hangs when invoked by winrm

On 27/09/2014 20:59, Sean Hall wrote:
> Can someone that can reproduce this try calling PostQuitMessage on the 
> WM_NCDESTROY message instead of WM_DESTROY?
>
> SHAutoComplete documentation says you need to wait for the control to 
> be destroyed before calling CoUninitialize.  Since the window gets the 
> WM_DESTROY message before its child controls, the control is probably 
> never being destroyed.  If we wait for the WM_NCDESTROY message 
> instead, the control will be destroyed when we call PostQuitMessage.
>
Yes, delaying the call to PostQuitMessage until WM_NCDESTROY appears to cure 
the issue.  (I have checked this carefully ensuring the only difference between 
the two wixstdba dlls is the position of that line and that one hangs when run 
via winrs and one does not).

Thanks,

Mark

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to