Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 23rd May 2003, 05:24   #1
tenfour
Junior Member
 
Join Date: Apr 2002
Location: Redmond, WA, USA
Posts: 4
Question CallInstDLL frustrations

I'm using CallInstDLL to call an extension DLL I created for my project. When users install, however, the extension DLL cannot be found (apparantly).

The message they see in the details log is "Could not load: olinst.dll"

olinst.dll is of course the name of the extension DLL.

I have found very little documentation on extension DLLs, and absolutely nothing that addresses this. Do I need to put something in the .nsi to get NSIS to "include" it in the .exe installer or something?

Thanks in advance for the help
tenfour is offline   Reply With Quote
Old 23rd May 2003, 07:44   #2
Sunjammer
Major Dude
 
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
Sounds like you are using an old version of NSIS where CallInstDLL was the normal way of using extension dlls. If that is the case you need to use the File command to pack the dll into your installer.

In recent NSIS versions extension dlls are now known as plugins and are automatically looked for by NSIS (by default in the plugins dir), automatically packed and extracted, and can be called more simply, e.g. dll::funcname arg arg.

Current plugin documentation (which could be useful for old versions too) is on nsis.sf.net/Docs (direct link)
Sunjammer is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump