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
Install/Update a DLL?
5 posts
I have written an UpgradeDLL macro. Have a look at the 'Useful funcions' appendix in the NSIS 2 documentation.
Originally posted by Joost VerburgHello Joost,
I have written an UpgradeDLL macro. Have a look at the 'Useful funcions' appendix in the NSIS 2 documentation.
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..
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.
This can be a reason your installer fails.
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
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