Re: [WiX-users] Setup wizard ended prematurely because of an error

2011-04-12 Thread Wilson, Phil
rtcli...@sdl.com] Sent: Tuesday, April 12, 2011 7:50 AM To: bharat jasti; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setup wizard ended prematurely because of an error I presume Session is a DTF thing but I don't use it. Sorry. From: bharat jasti [mailto

Re: [WiX-users] Setup wizard ended prematurely because of an error

2011-04-12 Thread Peter Shirtcliffe
I presume Session is a DTF thing but I don't use it. Sorry. From: bharat jasti [mailto:bharat.ja...@gmail.com] Sent: 12 April 2011 15:43 To: General discussion for Windows Installer XML toolset. Cc: Peter Shirtcliffe Subject: Re: [WiX-users] Setup wizard ended prematurely because of an

Re: [WiX-users] Setup wizard ended prematurely because of an error

2011-04-12 Thread bharat jasti
com/en-us/library/aa370354%28v=vs.85%29.aspx > > > -Original Message- > From: bharat jasti [mailto:bharat.ja...@gmail.com] > Sent: 12 April 2011 14:29 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Setup wizard ended prematurely be

Re: [WiX-users] Setup wizard ended prematurely because of an error

2011-04-12 Thread Peter Shirtcliffe
ussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Setup wizard ended prematurely because of an error Hello Uwe, Thanks for the info. This is my action script code: *public class CustomActions { [CustomAction] public static ActionResult MySimpleAction(Sessi

Re: [WiX-users] Setup wizard ended prematurely because of an error

2011-04-12 Thread bharat jasti
Hello Uwe, Thanks for the info. This is my action script code: *public class CustomActions { [CustomAction] public static ActionResult MySimpleAction(Session session) { try { File.AppendAllText(@"c:\tmp\time.txt", ";Installation:

Re: [WiX-users] Setup wizard ended prematurely because of an error

2011-04-12 Thread Uwe Ernst
Hi Bharat, your CustomAction probably throws an uncatched exception. Methods capable of throwing exceptions should be executed from within a try-catch block. There you can show the user your own error message or create the missing directory. My experience is, that exceptions are not transported fr