I'm trying to use a Delphi DLL in InstallShield but it's not workiong.
Does someone already try to insert a DLL in InstallShield?
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.
Use Delphi DLL in InstallShield
Started by
davels
, Oct 09 2006 15:39
3 replies to this topic
Posted 09 October 2006 - 15:45
Can't help you with that I am afraid, but if you read this article you might get some ideas: http://www.codeproje...ustomaction.asp
If Delphi DLLs really do compile to native, I guess the challenge lies in the calling convention used.
If Delphi DLLs really do compile to native, I guess the challenge lies in the calling convention used.
Edited by Glytzhkof, 09 October 2006 - 15:46.
Regards
-Stein Åsmul
-Stein Åsmul
Posted 10 October 2006 - 21:29
I had no problem with Delphi 5 DLLs. Some hints:
- The exported functions must have the "cdecl" calling convention.
- Do not use external BPL libraries, as they may not be present on the target system.
- For headers of MSI.DLL (necessary for calling functions like MsiGetProperty) look at http://www.delphi-jedi.org/ and search for Platform SDK / Win32API
- The exported functions must have the "cdecl" calling convention.
- Do not use external BPL libraries, as they may not be present on the target system.
- For headers of MSI.DLL (necessary for calling functions like MsiGetProperty) look at http://www.delphi-jedi.org/ and search for Platform SDK / Win32API