A message like "Skipping action: UpdateConfigAction (condition is false)" isn't related to whether the files are copied or not, which is what you are perhaps assuming with your "Hence I see Skipping ...etc". That's not why your custom action is being skipped - it's about the condition evaluating to false, probably because of your ? check.
Also, your custom actions need to be deferred to run after files are installed. Phil Wilson -----Original Message----- From: Shree Krishnamurthi [mailto:shree.krishnamur...@proximex.com] Sent: Tuesday, June 09, 2009 3:30 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX-users Digest, Vol 37, Issue 54 Phill Thanks for pointing it out But it still doesn't help me with the sequencing question As I said earlier even though I want to run this action after all files are installed (I use : Before='InstallFinalize') It still doens;t seem to wait for all files to install to run the action. It seems to run way before that. Why is that so? Shree -----Original Message----- From: wix-users-requ...@lists.sourceforge.net [mailto:wix-users-requ...@lists.sourceforge.net] Sent: Tuesday, June 09, 2009 2:59 PM To: wix-users@lists.sourceforge.net Subject: WiX-users Digest, Vol 37, Issue 54 ------------------------------ Message: 2 Date: Tue, 9 Jun 2009 12:45:41 -0700 From: "Wilson, Phil" <phil.wil...@wonderware.com> Subject: Re: [WiX-users] Action Execute Sequence in merge module To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Message-ID: <5c889913ff236e4190093af280ab4ec40179ab3...@wwlkfmail1.wonderware.com> Content-Type: text/plain; charset="us-ascii" ?ComponentName=3 is about if the component is already installed. I suspect you need $ComponentName=3, meaning that the component is marked to be installed. Phil Wilson -----Original Message----- From: Shree Krishnamurthi [mailto:shree.krishnamur...@proximex.com] Sent: Tuesday, June 09, 2009 11:55 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Action Execute Sequence in merge module Hi I have defined couple of custom actions in my mergemodule one to be run after install file and another to run before InstallFinalize Ie;: <Custom Action='UpdateConfigAction' After='InstallFiles'>(UILevel > 2) AND NOT Installed AND (?CONFIG=3)</Custom> <Custom Action='WinServiceAcInstall' Before='InstallFinalize'>NOT Installed AND (?AC=3)</Custom> Where AC and COFIG are their respective components What I expect is 'UpdateConfigAction' to run after all files are copied and 'WinServiceAcInstall' to run just before InstallFinalize is called(ie; again after all files are copied) But what I notice is "Action ended 11:43:06: InstallFiles. Return value 1." Is logged but all files aren't actually copied by then After the InstallFiles log my action is triggered 'UpdateConfigAction' And since all files in the component (CONFIG) were not already copied at that time it doesn't execute it Hence I see: Skipping action: UpdateConfigAction (condition is false) in my log Similarly 'WinServiceAcInstall' seems to get called long before the file is actually copied Log file shows: MSI (s) (20:A0) [11:43:07:227]: Skipping action: WinServiceAcInstall.114B070F_4A30_4CBD_9289_BFDBA7BE8DE0 (condition is false) MSI (s) (20:A0) [11:43:07:227]: Doing action: InstallFinalize : : FileCopy(SourceName=r7uyt6ve.exe|WinServiceAc.exe,SourceCabKey=WinServic eAc.114B070F_4A30_4CBD_9289_BFDBA7BE8DE0,DestName=WinServiceAc.exe,Attri butes=512,FileSize=585728,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,Ve rsion=4.0.1111.1,Language=1033,InstallMode=58982400,,,,,,,) MSI (s) (20:A0) [11:43:11:821]: File: C:\Program Files\Proximex\Services\Bin\WinServiceAc.exe; To be installed; Won't patch; No existing file MSI (s) (20:A0) [11:43:11:821]: Source for file 'WinServiceAc.114B070F_4A30_4CBD_9289_BFDBA7BE8DE0' is compressed InstallFiles: File: WinServiceAc.exe, Directory: C:\Program Files\Proximex\Services\Bin\, Size: 585728 MSI (s) (20:A0) [11:43:11:821]: Note: 1: 2318 2: C:\Program Files\Proximex\Services\Bin\WinServiceAc.exe I am quite new to Wix it would be great if someone can help me spot and rectify the issue here ------------------------------------------------------------------------ ------ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users