Archive: update a DLL in use.


update a DLL in use.
hello,

how can i make that I can update the oleaut32.dll to a newwer version? if i copy the new version over te old version, i get "copy faild" cause oleaut32.dll is in use. what is an solution?
something with reboot i think..?

thnx, rene


You should be able to do something like this..
SetOutPath $TEMP
File /oname=oleaut32.tmp oleaut32.dll
Rename /REBOOTOK $TEMP\oleaut32.tmp $SYSDIR\oleaut32.dll
then after that you can do checks to see if you need to reboot your system and reboot it.