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 that requires 2nd file
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
‎Jan 07, 2010
09:31 PM
Custom Action DLL that requires 2nd file
How can you make sure that when a custom action is run that any files associated with the DLL are in the same directory?
I have an Add-In Express manifest file that needs to be read, and also some supporting files that must be available when the DLL runs its Registration routine.
Thanks.
I have an Add-In Express manifest file that needs to be read, and also some supporting files that must be available when the DLL runs its Registration routine.
Thanks.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 08, 2010
11:12 AM
Hi There,
If it's an MSI Dll custom action, you'll need to install it with the package along side the files it needs.
You might be able to use another custom action to copy files to %TEMP%, but this requires another custom action, and might not even work depending on how the files are referenced. So I'd recommend the former option.
Hope this helps.
If it's an MSI Dll custom action, you'll need to install it with the package along side the files it needs.
You might be able to use another custom action to copy files to %TEMP%, but this requires another custom action, and might not even work depending on how the files are referenced. So I'd recommend the former option.
Hope this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 08, 2010
01:13 PM
The DLL is dual purpose, it performs registration of the Add-In for Outlook and Word, but it's also used to run the Add-in, so it will already be copied into the install folder, along with support files and the manifest.
Can I assume that if it's copied into the install folder, and the custom action is after files are copied, it should be able to find the support files? Or what do I need to do to make sure that it gets run with the right current folder so it can find its support files?
Can I assume that if it's copied into the install folder, and the custom action is after files are copied, it should be able to find the support files? Or what do I need to do to make sure that it gets run with the right current folder so it can find its support files?
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)