|
|
#1 |
|
Junior Member
Join Date: Sep 2005
Posts: 8
|
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 |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
Please give an example script to test.
The information you provide is a little to sparse for forum member to be of help. "Just do it" |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2005
Posts: 8
|
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 |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Sep 2005
Posts: 8
|
I add here a scrip test
Thanks |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2005
Posts: 8
|
Sorry I can not send the 2 DLL files because the zip file is > 102400 bytes. I send her the script only.
|
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Does regsvr32.exe keep runnign as well, when used to registry that DLL?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|