Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

calling dll file


1 reply to this topic

agustina_s

agustina_s
  • Members
  • 31 posts

Posted 01 March 2005 - 05:06

Hi I have an installer with a custom action that will call a function from a Standard DLL(dll name is AnchorDLL.dll) that is stored in the Binary
table.

I call the custom action in the Installation -> Execute after the DLLWrapStartup.
FYI, the custom action DLLWrapStartup is added automatically by InstallShieldX.

When I test my installation package on my development PC the CA works fine.

However when I run the installation package on a clean test WinXP Laptop

File 'C:\DOCUME~1\dili~1\LOCALS~1\Temp\AnchorDLL.dll' can not be found.
Make sure the file is on target system or installed already.

Why is windows installer having a problem finding my dll?
I thought that when you include a file in the binary table the file is
compiled up in the msi file or setup.exe and then copied to the temp
directory for installation.

Is there any extra steps need to be accomplished when I want to call CA stored in binary file?


Any help is appreciated.
Thank you very much.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 02 March 2005 - 16:21

Try to load that dll on the test machine using DependencyWalker. Maybe it cannot be loaded due to a missing dependency.