Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-03-10 Thread Sagar1111
Finally How did u accomplish it ?? In your InstallExecuteSequence did you schedule both the custom Actions (immediate and then deferred)?? I also have exactly the same query but its not resolved... Can u please post element of both immediate and deferred CA. and < InstallExecuteSequence> elemen

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thank you ever so much, Edwin, this is exactly what I needed. Works like magic. Alexander On 23 February 2010 18:39, Castro, Edwin G. (Hillsboro) < edwin.cas...@fiserv.com> wrote: > To reiterate what Phil said earlier, you need two custom actions. > CustomActionA will run in immediate mode and be

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Castro, Edwin G. (Hillsboro)
ing this e-mail > -Original Message- > From: Alexander Volkov [mailto:volkov1...@gmail.com] > Sent: Tuesday, February 23, 2010 4:24 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Triggering a Custom Action ONLY When All Files >

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thanks, Phil, you helped me a lot. Alex On 23 February 2010 17:13, Wilson, Phil wrote: > Somebody that knows DTF needs to jump in here - that's not my area. But you > *do* need a custom action that sets the convoluted CustomActionData > mechanism working. I assume that's what sets the dictionary

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Wilson, Phil
e a C++ custom action ;=) Phil Wilson -Original Message- From: Alexander Volkov [mailto:volkov1...@gmail.com] Sent: Tuesday, February 23, 2010 4:24 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
February 23, 2010 3:49 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed > > Thank you very much for your prompt response, Phil. > The thing is I pass some arguments into the cust

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Somehow *session.CustomActionData.Keys.Count *returns *0 * Any take? Thanks so much! On 23 February 2010 16:02, Wilson, Phil wrote: > That's DTF telling you that the session isn't available when deferred. I > assume DTF has a CustomActionData mechanism for passing property values into > your de

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Wilson, Phil
t: Tuesday, February 23, 2010 3:49 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed Thank you very much for your prompt response, Phil. The thing is I pass some arguments into the custom action, an

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Thank you very much for your prompt response, Phil. The thing is I pass some arguments into the custom action, and if I use "deferred" the installation crashes and gets rolled back.The Exception is "Cannot access session details from a non-immediate custom action" Any input? Thank you very much,

Re: [WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Wilson, Phil
ing a Custom Action ONLY When All Files Have Been Deployed Dear users, I need to trigger a custom action (to configure some files) only when all files have already been deployed. My code: * * Somehow my custom action triggers BEFORE the files have been deployed so naturally I get a fil

[WiX-users] Triggering a Custom Action ONLY When All Files Have Been Deployed

2010-02-23 Thread Alexander Volkov
Dear users, I need to trigger a custom action (to configure some files) only when all files have already been deployed. My code: * * Somehow my custom action triggers BEFORE the files have been deployed so naturally I get a file-not-found error when my custom action runs. It looks like In