...and if any of these dependencies turn out to be dependent on a WinSxS C++
runtime Dll, these aren't actually available until InstallFinalize when the
install is committed so it's pretty much mandatory to have statically bound
C++ runtimes in custom action Dlls and their C++ dependencies.

Phil W 

-----Original Message-----
From: Blair Murri [mailto:os...@live.com] 
Sent: Thursday, August 15, 2013 4:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Dependent DLLs of a Custom Action Binary are not
getting loaded properly

When is this action scheduled?

Generally it is recommended that custom actions be DLLs in the Binary table
compiled to "statically" include their runtime environment.


Suryadeep Biswal <surya6...@hotmail.com> wrote:

Hi,



I have a Type 17 Custom
Action in my wxs file. The Custom Action dll depends on another dll that is
in the same directory. However, i see that runtime does not load the
dependent dll and as a result loading of the Custom Action fails with error
1157 (One of the library files needed to run this application cannot be
found).



This is how the Custom
Action is defined -




 <CustomAction Id="CreateRequiredUserGroups"


 FileKey="File_f7341448_0b2e_4a7a_adf0_08e93fc53ede"


 DllEntry="CreateGroups"


 Execute="deferred"


 Return="check"


 Impersonate="no"


 HideTarget="no" />



I am setting the PATH
variable correctly inside the MSI but that does not help.



Can someone suggest a way
to get past this issue?



Regards,

Surya
----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&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