Binary Table DLL not found on NT4 target system
Posted 14 January 2004 - 13:21
This all works OK on Windows 2000 but on NT4 systems I get a dialog saying that teh custom action can't fine the DLL.
It typically seems to expect the DLL to be in 'C:\TEMP' which is the folder given in the 'TEMP' environment variable. It looks like the install is using the 'C:\TEMP' folder for other temporary files. I have done a search on the whole hard-drive for the DLL and it is nowhere to be found.
In desperation I have added another custom action called just before this one which uses installscript to explicitly stream the dll to the temp folder. This works and the DLL is can be seen in the folder, however it seems that when the problem custom action executes the dll disappears!
I have also tried cahnging the CA so that the dll is in the 'search path' on the target system and modifying the file streaming CA to stream the dll to a number of folders on the target system (widows dir, system dir). Agian the file streaming works but the CA still reports that it can't find the dll.
Posted 14 January 2004 - 18:55
Posted 15 January 2004 - 09:54
You can check the depencies using Depends.exe, in Windows Resource kit. Microsoft has a valuable website that allows you to look up many of their DLLs:
Posted 15 January 2004 - 11:12
Posted 21 January 2004 - 17:54
Once I had ensured the dlls had no dependancies that were unavailable on NT4 it was OK.
Posted 21 January 2004 - 22:13