I have a custom action dll written in C++. The exported functions in this dll are being used in custom actions in one of our installers. From the past several days i have been stuck up with a strange problem. When i include a custom action to copy our custom logging contents created in a temporary file under C:\Windows\Temp to a file in the installed location, the installer throws up a dialog box with the following error: "Error 1723.There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run." and aborts the installation. This custom action is included in the install execute sequence as a deferred action and is being executed in a .msp file(patch file).
However i have another custom action in the same sequence right before this problematic custom action which serves the purpose of stopping and starting certain services. If i perform the above file copy operations as part of this custom action, i encounter no problems and the installation proceeds smoothly. I am at loss to understand as to what is wrong with performing the file copy operation as part of a seperate custom action. Any help on this matter would be very much appreciated.
The server environment is IS 11.5 professional edition, windows 2003 Enterprise editon, Windows installer 3.1. The custom action dll is stored in the binary table.
Regards,
Kiran Hegde
Edited by kirann_hegde, 25 April 2007 - 06:53.