?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 &gt;
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

Reply via email to