This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Custom action exe that requires dll
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 28, 2010
02:56 PM
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?
Is there a way I can include this dll in the binary table in a way that the custom action recognizes it is there?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 30, 2010
07:57 PM
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!
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!
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)