Re: [WiX-users] Execution order issue

2013-10-02 Thread Blair Murri
If I were your custom action I would log everything I could to figure it out. > From: kpet...@otaksoft.com > To: wix-users@lists.sourceforge.net > Date: Fri, 20 Sep 2013 19:47:45 -0700 > Subject: Re: [WiX-users] Execution order issue > > > Thanks for asking the question

Re: [WiX-users] Execution order issue

2013-09-20 Thread Kai Peters
gt;> >> Remember, verbose logs tell a lot about what is and/or isn't happening. >> >>> From: kpet...@otaksoft.com >>> To: wix-users@lists.sourceforge.net >>> Date: Thu, 19 Sep 2013 13:15:38 -0700 >>> Subject: Re: [WiX-users] Exec

Re: [WiX-users] Execution order issue

2013-09-20 Thread Phil Wilson
schedule it right after > InstallFiles? > > Remember, verbose logs tell a lot about what is and/or isn't happening. > > > From: kpet...@otaksoft.com > > To: wix-users@lists.sourceforge.net > > Date: Thu, 19 Sep 2013 13:15:38 -0700 > > Subject: R

Re: [WiX-users] Execution order issue

2013-09-19 Thread Kai Peters
Phil, modified it accordingly (I think..) and this places CA_CopyMasterIni immediately BEFORE InstallFiles in the InstallExecute Sequence table How can I push it AFTER InstallFiles AND have it work? Surely there

Re: [WiX-users] Execution order issue

2013-09-19 Thread Blair Murri
t: Re: [WiX-users] Execution order issue > > Phil, > > modified it accordingly (I think..) and this places CA_CopyMasterIni > immediately BEFORE InstallFiles > in the InstallExecute Sequence table > > > Id="CA_CopyMasterIni" >

Re: [WiX-users] Execution order issue

2013-09-19 Thread Phil Wilson
Well that means that you put it between InstallInitialize and InstallFinalize but before InstallFiles, if that's where it's supposed to be. Did you try that? It's not a safe design without some extra details. When InstallFiles copies your file, you need to be sure it won't replace the one you alr

Re: [WiX-users] Execution order issue

2013-09-18 Thread Kai Peters
My mistake for not specifying what else I had tried: When i switched to 'deferred' LIGHT complained: error LGHT0204 : ICE77: CA_CopyMasterIni is a in-script custom action. It must be sequenced in between the InstallInitialize action and the InstallFinalize action in the InstallExecuteSequence

Re: [WiX-users] Execution order issue

2013-09-18 Thread Phil Wilson
Your copy custom action is immediate - that means it will always happen before any files are actually copied. If you need it to run after InstallFiles has physically copied files it should be marked deferred. Phil Wilson On Tue, Sep 17, 2013 at 10:45 PM, Kai Peters wrote: > Hi all, > > hopeful

Re: [WiX-users] Execution order issue

2013-09-18 Thread John Ludlow
Be aware that if your custom action gets any properties, then you'll need to push those through by using CustomActionData. On 18 September 2013 19:07, Phil Wilson wrote: > Your copy custom action is immediate - that means it will always happen > before any files are actually copied. If you need

[WiX-users] Execution order issue

2013-09-17 Thread Kai Peters
Hi all, hopefully my last newbie issue for some time (all previous issues have been resolved thanks to the great help from this list - thanks again!): I deploy a CA "CA_CopyMasterIni" to copy a configuration file template from location A to location B if my customer's IT dept. has dropped one