cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jeffthepeff1
Level 3

Custom action exe that requires dll

I need to execute an exe that is not a part of my install, which I can do by adding a custom action as "Stored in binary table". However, this is a .NET executable that has another dll dependency. Therefore, whenever I run my exe it crashes because it can't find the dll.

Is there a way I can include this dll in the binary table in a way that the custom action recognizes it is there?
Labels (1)
0 Kudos
(1) Reply
Alpesh
Flexera Alumni

Hi,

I will suggest the following -
1) Add the exe file and its dependency to the Support Files - Language Independent node
2) Use the custom action - Launch an Exe, path referencing a directory
3) In the working directory for the custom action, use SUPPORTDIR
4) In the Filename and command line field for the custom action, use "[SUPPORTDIR]\ExeFileName"

I hope this helps.

Thanks!
0 Kudos