You should probably post the entire log. For example, we can't see the
custom action type to verify that it really is a (deferred?) call to that
Dll at that path, and that the folder property is referring to the correct
path, and maybe more around the point where the CA failed . A perhaps
unlikely scenario is that it's an upgrade and an earlier
RemoveExistingProducts has deleted the file. You didn't tell us any
conditions on the CA call, which means it's possible that the CA might have
never been called before, but now the condition is such that it IS
now being called and fails because it would always have failed. So a log of
a working prior uninstall could be used to see if it had actually been
successfully called in the past. There's not enough information to see if
it's always been broken but only now is manifesting the bug.

There are more obscure possibilities that can't be ruled out.

Phil Wilson


On Thu, Oct 24, 2013 at 12:36 PM, Steven Ogilvie
<steven.ogil...@titus.com>wrote:

> Open up the MSI in ORCA and goto InstallExecuteSequence element. Sort the
> sequences in numeric order and see where your custom action is being called
> now, perhaps it has been moved before the removefiles sequence (which is
> sequence order 3500)?
>
> Steve
>
> -----Original Message-----
> From: Suryadeep Biswal [mailto:surya6...@hotmail.com]
> Sent: October-24-13 3:24 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Need help with the error "A DLL required for this
> install to complete could not be run"
>
> Hi,
>
>
>
> During uninstallation path, Our MSI executes a custom action say RemoveXX
> which executes RemoveYY method from the dll MyDLL.
> This custom action is scheduled before "RemoveFiles" in Install Execute
> sequence. The MSI been tested many times over the past 6 months and has
> always worked without any issues. Recently, we saw a very strange issue on
> a VM running on Windows Server 2008 R2, where MyDLL gets removed by the
> time the custom action RemoveXX executes. As a result, the CA fails
> resulting in the uninstallation failure with a dialog that contains this
> message -
>
>
>
> A DLL required for this install to complete could not be run.
>
>
>
> The log file indicates the same issue -
>
>
>
> CustomAction RemoveXX returned actual error code
> 1157 (note this may not be 100% accurate if translation happened inside
> sandbox)
>
> MSI (s) (C8:28) [12:14:56:354]: Product: MyProduct -- Error 1723. There is
> a problem with this Windows Installer package. A DLL required for this
> install to complete could not be run. Contact your support personnel or
> package vendor.  Action RemoveXX, entry: RemoveYY, library:
> <InstallPath>\MyDLL.dll
>
>
>
> After repair/reinstallation, I verified that MyDLL exists under
> InstallPath but the during uninstallation it gets removed by the time I see
> the dialog. Please note that other files are still present under
> InstallPath.
>
> I have tried analyzing the log file (that was generated using /l*vx,
> containing extra debugging information), but I see no information regarding
> MyDLL getting removed before the Custom action scheduling.
>
>
>
> I would appreciate in any help with -
>
> 1.
> A way to debug this issue.
>
> 2.
> Any ideas/theories on what might be going on here.
>
>
>
> Regards,
>
> Surya
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to