Results 1 to 4 of 4

Thread: Custom Action help needed

  1. #1
    Join Date
    Oct 2002
    Posts
    55

    Question 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.

  2. #2
    Join Date
    Mar 2002
    Posts
    198
    You should set the CA as commit action rather than the immediate action. See "deffered action" in help for more details.

    BL

  3. #3
    Join Date
    Oct 2002
    Posts
    55
    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?

  4. #4
    Join Date
    Mar 2002
    Posts
    198
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •