View Full Version : Custom Action help needed
buildit
06-30-2003, 07:56 PM
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.
billyl
07-01-2003, 03:01 AM
You should set the CA as commit action rather than the immediate action. See "deffered action" in help for more details.
BL
buildit
07-02-2003, 11:07 AM
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?
billyl
07-02-2003, 11:14 AM
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.
Good luck.
BL
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.