Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 13th December 2007, 12:55   #1
machiel
Junior Member
 
Join Date: Aug 2007
Posts: 22
adding dirs to plugins directory

Hello,

I use the GetVersion.dll which still is not a standard plugin dll. Hence, it is not included in the standard
Plugins directory of my NSIS installation.

That means, if I want to use this, I can do two things:

1) Use "CallInstDLL my_plugins_dir\GetVersion.dll WindowsName" in the code. In this case, only during the
execution of the script, the dll is loaded. This means that the dll file should always be there while installing.

or

2) Copy GetVersion.dll into the installation "NSIS\Plugins" directory. This is better, because the dll is loaded during compilation already. Still, I would prefer no touching the contents of the NSIS directories.

Isn´t there a way to indicate to the compiler that he has to add getVersion.dll to the plugins he loads during compilation?

Best regards,

Machiel
machiel is offline   Reply With Quote
Old 13th December 2007, 13:29   #2
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,896
maybe !AddPluginsDir can help you


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 13th December 2007, 13:32   #3
machiel
Junior Member
 
Join Date: Aug 2007
Posts: 22
I don´t find that function anywhere.
Is it some new feature? I have got NSIS version 2.3
machiel is offline   Reply With Quote
Old 13th December 2007, 14:02   #4
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
!addplugindir is as old as nsis itself is,

http://nsis.sourceforge.net/Docs/Chapter5.html#5.1.3

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 7th April 2009, 18:42   #5
xj97
Junior Member
 
Join Date: Apr 2009
Location: Michigan
Posts: 1
The section on Plug-in DLLS (4.11) would really be improved with a mention of this.

Thanks for the tip-

Baker
xj97 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