Background:
If I install old installation package (created in 1998) the service starts without any problem.This package was created using InstallShield and project code is not available. It is using local deployment and all the dependent DLLs are in bin directory.
It used custom installservice.exe (code for this also not available) to install lp30.exe as windows service.
What I am doing:
I need to create a working installable package on win2k8 using VS 2010. On VC++, I could create .msi & setup files using the files & folder structure and identified registry entries from old installation.
Problem:
In setup project, customization is done to invoke installservice.exe to install the lp30.exe as service. But the service start is ending with below error:
"Error: 1053 The service did not respond to the start or control request in a timely fashion"
Analysis:
installservice.exe could not start the lp30.exe as service. It is failing at the library call to PS2FaxW.dll Function. This is a third party DLL dated back in 1998, source code of which is not available.
The DLLs are available at application path and do not require registry. I found they are loaded.But while profiling with dependencywalker, I see below error:
GetProcAddress(0x75790000 [KERNEL32.DLL], "IsTNT") called from "PS2FAXW.DLL" at address 0x10003F81 and returned NULL. Error: The specified procedure could not be found (127).
LoadLibraryA("\LincPag2.dll") returned NULL. Error: The specified module could not be found (126).
And finally exiting with
Exited "LP30.EXE" (process 0x1DE8) with code 126 (0x7E).
Question:
I am using the same "installservice.exe" and same application (lp30.exe) for starting the service. But the behaviour is not as it was with old package. What other configurations, I might be missing in this scenario?