rawy
16th November 2005 11:36 UTC
a problem with UpgradeDLL (macro)
Hello
I use UpgradeDLL (Macro).
When this macro is unregistered the old DLL and copy and registered the new DLL, I have a problem that my install program is not correctly finished and still in memory (see at windows task manager)
Someone had the same problem?
thank you
onad
16th November 2005 15:06 UTC
Please give an example script to test.
The information you provide is a little to sparse for forum member to be of help.
rawy
16th November 2005 16:43 UTC
This is my script to call the UpgrageDLL:
;-- 1. : Get the path of DLL used CLSID (if DLL is already registered)
ReadRegStr $0 HKCR "${AFS_CLSID}\InprocServer32" ""
;--2. if DLL is not already on PC
StrCmp $0 "" DLL_Install DLL_UpDate
DLL_Install:
;-- register DLL (This steep is always OK)
!insertmacro UpgradeDLL "${Src_Dir}\MediaAFS.dll" "$INSTDIR\MediaAFS.dll" "$INSTDIR"
GoTo End_Reg_DLL
DLL_UpDate:
;-- This call of macro make problem
!insertmacro UpgradeDLL "${Rep_Src}\MediaAFS.dll" "$0" "$INSTDIR"
End_Reg_DLL:
Thank you
rawy
17th November 2005 11:11 UTC
I add here a scrip test
Thanks
rawy
17th November 2005 13:55 UTC
Sorry I can not send the 2 DLL files because the zip file is > 102400 bytes. I send her the script only.
kichik
20th November 2005 19:11 UTC
Does regsvr32.exe keep runnign as well, when used to registry that DLL?