![]() |
DLLs
I don't know how much this is a NSIS question and how much is a DLL question. I am writing a suite of applications that share some dll files.
Programs will be installed to: $PROGRAMFILES\Suite Name\Program1 $PROGRAMFILES\Suite Name\Program2 $PROGRAMFILES\Suite Name\Program3 etc If I copy the DLL files to each of those directories, it works. But obviouslly it would be better just to have one copy of the common dlls. I don't know how to go about this... I don't know if I need to use RegDll or copy them to $PROGRAMFILES\Suite Name\Common and somehow reference that or copy them to $SYSDIR Any help? Thanks, Jason |
The programs that use those DLLs need to adjust themselves to get the DLL from the common directory. If you didn't write these programs, you can put the DLL in $SYSDIR and hope the path to the DLLs are not hard coded in the programs. Note that this is not the recommended solution, but rather a fallback option.
|
| All times are GMT. The time now is 04:39. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.