Hi,

I have a custom action created in C#.
How can i return my specific error code back to installer when my
custom action fails?

        [CustomAction]
        public static ActionResult MyCA(Session session)
        {
            try
            {
                //code
            }
           catch(Exception ex)
           {
            // set my error code ????????
           }
      }

I saw that it always return 1603 when it fails. But i want to return
my error code 6004 for example.

Thank you,
Adriana

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to