Your CA isn't running because although you've defined the custom action within 
Product.wxs you haven't scheduled it for execution (you have no sequences 
defined which would invoke your CA).

For example...

.
.
.
    <InstallExecuteSequence>
      <Custom Action="TestManagedAction" After="LaunchConditions">1</Custom>
    </InstallExecuteSequence>
  </Product>
</Wix>

-----Original Message-----
From: jballe [mailto:j...@visionpeople.dk] 
Sent: Wednesday, February 25, 2009 2:29 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] CustomAction following specific CustomAction fails


Can I do anything to find out what is happening in this install project. I
guess the OpenDialog customaction seems okay, with the change Rob suggested.
Yan, you had a good suggestion but it doesn't seems like the managed action
is actually invoked.

My guess is that it is related to the action invoking the managed action (is
it the part called DTF?) but I do not have a clear understanding of what is
going on. 
Does it make sense to try some kind of weekly build pr anything?
Can I do anything to find out, ask anyone or can I do anything?

Thank you!

Kind regards,
Jesper


jballe wrote:
> 
> 
> I have created a small test project with only the parts related to this
> from
> my original project.
> It includes my c++ customaction and I think the smallest manged
> CustomAction
> possible:
> 
>         [CustomAction]
>         public static ActionResult TestAction(Session session)
>         {
>             session.Log("Begin MyTestAction");
>             System.Windows.Forms.MessageBox.Show("Stop for debugging:
> MyManagedTestCA", Process.GetCurrentProcess().ProcessName); 
> 
>             return ActionResult.Success;
>         }
> 
> I have included two custom dialogs. The one I use for my openfiledialog
> (jumping betweeen two identical dialogs to reflect the property change)
> and
> a dialog with a button to start the managed custom action.
> 
> If I open my oopenfiledialog, selects a file and starts the custom action
> the managed custom action fails before showing the message box.
> If I don't open the dialog and - I just found out - if I open the dialog
> but
> don't select a file, the messagebox shows correctly.
> 
> Does that make any kind of sense? I attach the solution and project
> including binaries (in all 1,32 MB): 
> http://www.nabble.com/file/p21980336/TestProject.zip TestProject.zip 
> 
> I really appreciate your help.
> 
> Kind regards
> Jesper
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/CustomAction-following-specific-CustomAction-fails-tp2292259p2382577.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to