I am checking with my team if the entire log can be shared. Meanwhile, here are 
the information that you had asked for - 1. Condition for the CA is REMOVE AND 
Privileged. I have verified on other machines that the CA runs during 
uninstalltion. we also have automated tests to verify that the machine gets to 
a clean state after MSI uninstalltion, which would not be true without the CA 
run.
2. I checked in the log and RemoveExistingProducts did not run, which is 
expected because this is a simple install/uninstall scenario and the same MSI 
is always used.Skipping RemoveExistingProducts action: current configuration is 
maintenance mode or an uninstall
3. I have verified that the custom action is referring to the dll under the 
correct path.
4. The custom action is actually deferred -  <CustomAction Id="RemoveYY"        
FileKey="<File>"        DllEntry="RemoveXX"        Execute="deferred"        
Return="check"        Impersonate="no"        HideTarget="no" /> 5. I used ORCA 
to verify the InstallExecuteSequence and the sequence number of this CA is 3499 
(and that of RemoveFiles is 3500).
Could the fact that it is a deferred CA be causing this issue? If so, why is it 
not a consistent repro (at least i would expect it to repro more often if it is 
just a timing issue)?
Regards,Surya
> Date: Thu, 24 Oct 2013 13:19:31 -0700
> From: phildgwil...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Need help with the error "A DLL required for this 
> install to complete could not be run"
> 
> 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
                                          
------------------------------------------------------------------------------
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