Hi,
I am having problems in executing custom action DLLs as part of the uninstall. I have created a DLL and am registering (calling COM functions) a file with another product within a function in the DLL. This custom action works fine during installation. But when I add another function to this DLL and register the same DLL as a custom action to be executed on uninstall, the call to that function fails. I get the following in the Windows Installer error
log :
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action RegisterParadigm.dll_1, entry: UnRegisterParadigm, library: C:\WINNT\Installer\MSI2AFD.tmp
=== Logging stopped: 7/27/2004 14:05:06 ===
I just recently bought Advanced Installer Pro. Please let me know if I need to provide more information. On a related note, once this happens I am unable to uninstall the product from the machine. I have to manually delete the following entries from the registry to continue further testing. Is there any alternate approaches to avoid this?
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\[myproductkey]
HKCR\Installer\Products\[myproductkey]
Thanks,
kitty.