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
‎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
‎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.
‎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.