Archive: Overwriting a .DLL


Overwriting a .DLL
Hi there... I've just made a custom translation for MSN Messenger, and to install it I have to rewrite the file

msgslang.dll

in de $PROGRAMFILES\MSN Messenger directory.

I've been able to set up de Installation Directory successfully, but I can't close the msgsmgr.exe process that is using the .dll and so I can't rewrite it (without restarting the system)...

Any Ideas? I've read several topics about closing programs but they didn't work for me... as I don't know which window I've got to close to kill the msgsmgr process... :(

Please help!! thank you! :D (if you add some code to your replies I will be grateful to you forever :P)

Thanks!


Copy it to a temporary location and use Rename /REBOOTOK to overwrite it on reboot.


I know, but I'd like NSIS to do:
- Close MSN Messenger
- Overwrite the .DLL
- Launch MSN Messenger again

Can this be done?? Can you paste the code I need to copy it on reboot if there's no other way? Thanks...


Check this topic:

http://forums.winamp.com/showthread....hreadid=122305


Thanks a lot, I'll try that... if I get a working code, I'll post it here...

thanks again