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
- :
- Re: custom action dll dependencies
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
‎Nov 18, 2010
08:46 AM
custom action dll dependencies
Hi all,
Suppose i have a custom action dll that is dependent on another dll. how to we incorporate this in installer. the dependent dll is load-time linked. placing this dll in support files does not appear to help.
Regards
Suppose i have a custom action dll that is dependent on another dll. how to we incorporate this in installer. the dependent dll is load-time linked. placing this dll in support files does not appear to help.
Regards
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 18, 2010
09:15 AM
Hi There,
Generally, if the custom action is in the Binary table, that means it will be running from %TEMP%, and SUPPORTDIR is a subfolder of %TEMP%, so this won't work.
My first response would be to statically link the custom action *.dll. Failing that you could always install the dependency to System32/%TEMP% as a prerequisite.
Generally, if the custom action is in the Binary table, that means it will be running from %TEMP%, and SUPPORTDIR is a subfolder of %TEMP%, so this won't work.
My first response would be to statically link the custom action *.dll. Failing that you could always install the dependency to System32/%TEMP% as a prerequisite.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 22, 2010
09:15 AM
Call UseDll() on the dependencies first. When you load the dll that depends on another dll, if that dependency is already mapped in to the custom action process' memory space, then there will be no problem loading the dependency.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2010
05:20 AM
Thanks All,
i solved the issue by setting the path variable to supportdir, for that process through another dll, and then using the above dll. 🙂
Regards
i solved the issue by setting the path variable to supportdir, for that process through another dll, and then using the above dll. 🙂
Regards
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)