I ran my uninstall on 5 different machines. On 3 XP machines, the custom uninstall action was executed and behaved as expected. On 2 machines, a Windows 2000, and a Windows XP, it appears the dll is not executing (I have logfile statements in the code, and no log file is created on these machines).
Details:
I added a custom action (to terminate my non-windowed application on uninstall) to Target Computer --> InstallExecuteSequence --> Uninstall --> myuninstallactions.dll
In the Custom Action Properties:
Source Type: Dynamic linked library (*.dll)
Function Name: Terminate_Instance {this is my function}
Execution Properties: Synchronous execution, ignore return code.
Execution Options: Deferred.
Execution Condition REMOVE"ALL"
Using advanced installer 4.3
And if I change the Execution Properties to "Synchronous execution, check return code." I get a "Fatal Error" popup during uninstall, and the program cannot be uninstalled.
Any idea as to why the dll is not being executed on these platforms?
Also, where does the installer place the custom action dll files?
FOLLOW US
Get the latest news in Application Packaging