Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 17th November 2002, 06:43   #1
Plasmablast
Junior Member
 
Join Date: Nov 2002
Posts: 1
Send a message via ICQ to Plasmablast
Question Install/Update a DLL?

Hey guys,

How do I (via the scripting) insert/update a .dll file?
For example, for a full install of one of my programs I will need to package the following files with the installation file:

Uses1=Msvbvm60.dll
Uses2=oleaut32.dll
Uses3=olepro32.dll
Uses4=asycfilt.dll
Uses5=stdole2.tlb
Uses6=COMCAT.DLL
Uses7=MSINET.OCX
Uses8=richtx32.ocx
Uses9=tabctl32.ocx
Uses10=Mscomctl.ocx
Uses11=mscomct2.ocx
Uses12=Comdlg32.ocx

I would like to know how to properly install + register these controls via the NSIS.

Cheers,
Andrew
Plasmablast is offline   Reply With Quote
Old 17th November 2002, 11:39   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
I have written an UpgradeDLL macro. Have a look at the 'Useful funcions' appendix in the NSIS 2 documentation.
Joost Verburg is offline   Reply With Quote
Old 21st November 2006, 04:48   #3
sayo9394
Junior Member
 
Join Date: Nov 2006
Location: Sydney Australia
Posts: 14
Quote:
Originally posted by Joost Verburg
I have written an UpgradeDLL macro. Have a look at the 'Useful funcions' appendix in the NSIS 2 documentation.
Hello Joost,

i am totally new to NSIS ( couple of days only ) and most of these days been wasted on trying to install few dll files that my application uses.

i've used InstallLib REGDLLTLB $Already_Installed "file.dll" "dest\file.dll" "$temp" with no success at all... keeps that it couldn't open the dest\file.dll

reading this thread, i tried using UpgradeDLL macro also with no success... i assumed that upgradedll creates a new dll if the file doesn't exist.. am i right???

thanx for your attention..
sayo9394 is offline   Reply With Quote
Old 21st November 2006, 11:10   #4
onad
Senior Member
 
onad's Avatar
 
Join Date: Dec 2004
Location: Turkey
Posts: 447
Note that a regular DLL does NOT NEED registering. Only DLL and ActiveX (OCX) components need that.

This can be a reason your installer fails.

"Just do it"
onad is offline   Reply With Quote
Old 21st November 2006, 11:23   #5
sayo9394
Junior Member
 
Join Date: Nov 2006
Location: Sydney Australia
Posts: 14
thanx for ur reply Onad,

Basically your saying that using the keyword "File" should be used to copy these dlls into the INSTDIR. thats wat i had at the first place, and all was well... but when i read the manual, and 90% of InstallDLL forums here, they advice on registering dll files...

for now i will be satisfied with just putting these dlls in the directory.

thanx again Onad,
Simon
sayo9394 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