TonyDS
3rd September 2003 22:41 UTC
Upgrade a DLL (macro)
I might just be thick, but could someone please explain this for me from the http://nsis.sourceforge.net/archive/....php?pageid=38
; LOCALFILE - Location of the new DLL file (on the compiler system)
; DESTFILE - Location of the DLL file that should be upgraded
; (on the user's system)
; TEMPBASEDIR - Directory on the user's system to store a temporary file
; when the system has to be rebooted.
As I don't understand basically what they mean
Do I need to change anything, add varibles, or use !define LOCALFILE blah
and so ???????????????????
Thanks
TonyDS
3rd September 2003 22:45 UTC
forgot to add the script
Or is this correct?
TonyDS
4th September 2003 10:30 UTC
Thanks for the responses to this thread guys, its really nice to know that you can ask a for a little help and get a reply :)
All of us have to learn things at some point, and as I don't know anything about programing C+ and so on, this was the easiest option.
NSIS is a great utility, but with out help how do you know if your doing it right?
You can rant on about reading the DOCs and looking through the Archives, but it would be nice to have a little feedback once in a while.
Joost Verburg
4th September 2003 13:20 UTC
Please be a little patient. Do you think we have time to browse the forum 24 hours a day?
As explained in the instruction, the file parameter is the location file on your system (the file the compiler will add to your installer). The second one is the location of the DLL to upgrade (usually it's located in $SYSDIR). The third one the folder to store temporary files (this folder will be used when the system has to be rebooted, for Win9x it should be on the same drive as the destionation of the DLL).
So you will get something like this:
!insertmacro UpgradeDLL "msvbvm60.dll" "$SYSDIR\msvbvm60.dll "$SYSDIR"
(when you have stored msvbvm60.dll in the same folder as your script)
TonyDS
4th September 2003 18:53 UTC
I know you don't browse the forum 24/7, but it would be nice for anyone how had some knowledge of NSIS to answer once in a while.
I'm not just talking about the Dev, team, but I do apprieciate your responce, I'm not here to cause trouble just to learn :)
Anyhow thank you, I'm grateful of you answer.