The customaction needs Execute="deferred" or it will execute while the script is being generated.
-----Original Message----- From: vunder [mailto:vun...@bk.ru] Sent: 01 March 2011 11:47 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Executing CA after InstallFiles I'm trying to execute CA after InstallFiles (I want to execute it after files are copied): <CustomAction Id="CABoxUpdate" BinaryKey="AdditionsDLL" DllEntry="BoxUpdate"/> <InstallExecuteSequence> <Custom Action="CABoxUpdate" After="InstallFiles"><![CDATA[(&DFPOST4LINUX<>-1) AND NOT UPGRADINGPRODUCTCODE]]></Custom> </InstallExecuteSequence> But CA calling before files are installed, so CA cannot be executed correct. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Executing-CA-af ter-InstallFiles-tp6076921p6076921.html Sent from the wix-users mailing list archive at Nabble.com. ----------------------------------------------------------------------------- - Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users