|
|
#1 | |
|
Junior Member
Join Date: Jul 2004
Posts: 3
|
UpgradeDLL could not load ?!?
I try to use the UpgradeDll macro to install a DLL.
I use the following syntax : Quote:
I checked that the DLL was at its place when the call to RegDll occurs, and it is. The same problem occurs with short file names too. Has someone had the same problem ? Arnaud |
|
|
|
|
|
|
#2 | |
|
Junior Member
Join Date: Jul 2004
Posts: 3
|
Here is the script I use.
outlookclientaddin.dll is dependant of dll2000.dll. Quote:
|
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2004
Posts: 130
|
I had that problem once because the DLL I was trying to load was dependent on another DLL. I ended up having to include both DLLs in the folder I was calling the first one from and then SetOutPath to that folder. I've never used the upgrade DLL but maybe it calls the DLL to determine it's version and that causes it's dependency to be needed. You could also use Dependency Walker to determine if that DLL has other dependencies. I made a post several weeks ago with the problem I discussed above if you think the problems are related and want more info.
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jul 2004
Posts: 3
|
Thanks for your response.
The Dll on which the Dll I try to register is dependant is in the same directory, INSTDIR, and SetOutPath is set to this directory. Some tests I've done : UnRegDll works on the same dll. regserv32 works after the installer is closed, but not if I call it with ExecWait. Any ideas ? |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Apr 2004
Posts: 130
|
Sorry, I have no more ideas. I used your code with 2 DLLs I have here and it worked fine. Both files were copied in and it registered the second one. However, neither of my files were dependent on one another.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|