Custom Action help needed
Iíve created a CA, which has to copy msi generated log file from temp to INSTALLDIR location. Inserted this CA right before InstallFinalize in sequence and set it to Commit execution. The problem is that it gets executed only when I run product uninstaller but not when I install the product as expected. Could you please recommend what has to be changed to have my log file copied to the INSTALLDIR location right after product installation is complete. Thanks in advance.
You should set the CA as commit action rather than the immediate action. See "deffered action" in help for more details.
Thank you for looking into my problem. My CA is actually set to be a Commit action. But for some reason it doesnít work. What else should I look at to fix this problem?
Oops, I didn't see you have the action set to commit already...Anyway, you can do the following:
1) set your CA condition to REMOVE<>"ALL"
2) Set you CA as immediate action and place it AFTER InstallFinalize.
Both methods work for me.