Thank you all! Great help!

2008/10/7 Simon Dahlbacka <[EMAIL PROTECTED]>

> yes, shell redirection does not work in this case.
>
> In that case you should use
> ProcessStartInfo.RedirectStandardOutput / .RedirectStandardError
> and then you can read the output from
> light.StandardOutput and light.StandardError
>
> /Simon
>
> On Tue, Oct 7, 2008 at 11:22 AM, Peter Vestergaard <[EMAIL PROTECTED]
> >wrote:
>
> > Sorry I wasn't being clear.. I am using light in a c# app. And this is
> what
> > is happening:
> >
> > Process light = new Process();
> > light.StartInfo.FileName = ....WiX toolset\light.exe";
> > light.StartInfo.Arguments = "\"" + OutputFolder +.....+
> \WiXOutput.wixobj"
> > +
> > "\" " + "-out " + "\"" + OutputFolder + ..... + projectName + ".msi" +
> "\"
> > "
> > + ">build2.log " + "-ext WixUIExtension -loc " + "\"" + OutputFolder +
> @"\"
> > + ...\Language.xml" + "\"";
> > light.Start();
> > while (!light.HasExited)
> > {
> > Application.DoEvents();
> > Thread.Sleep(20);
> > }
> > When I debug and copy the light.StartInfo.Arguments string and paste it
> in
> > the console, it works great. But not when I run my app. like I usually do
> > it
> > feels like it skips the candle and light process. It does not build
> > anything
> > and no log file is created... Maybe something to do with ">" char?? Or
> what
> > do you think?
> > Thank you in advance!
> > Peter
> >
> > 2008/10/6 Phil Sayers <[EMAIL PROTECTED]>
> >
> > > anyone else received this message almost 10 times today?
> > >
> > > -----Original Message-----
> > > From: Peter Vestergaard [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, October 06, 2008 6:47 AM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Logging
> > >
> > >
> > > I am using the command line....
> > >
> > > On Mon, Oct 6, 2008 at 12:38 PM, Simon Dahlbacka
> > > <[EMAIL PROTECTED]>wrote:
> > >
> > > > Or if you use votive (or othervise msbuild compatible project), you
> can
> > > use
> > > > the normal msbuild logging mechanism
> > > >
> > > > http://msdn.microsoft.com/en-us/library/ms171470(VS.80).aspx<
> http://msdn.microsoft.com/en-us/library/ms171470%28VS.80%29.aspx>
>  > > >
> > > > /Simon
> > > >
> > > > On Mon, Oct 6, 2008 at 1:15 PM, Peter Vestergaard <
> > [EMAIL PROTECTED]
> > > > >wrote:
> > > >
> > > > > Thanks for your reply.
> > > > > I can't get  this to work with light. Could you give me an examble
> of
> > > the
> > > > > correct syntax?
> > > > > -Peter
> > > > >
> > > > > On Mon, Oct 6, 2008 at 10:45 AM, Rob Hamflett <[EMAIL PROTECTED]>
> wrote:
> > > > >
> > > > > > There's the traditional method of redirecting the output:
> > > > > > candle <args> 1>stdout.txt 2>stderr.txt
> > > > > >
> > > > > > Rob
> > > > > >
> > > > > >  >Peter Vestergaard wrote:
> > > > > > > Hi.
> > > > > > > Is there any way to log candle and light build errors and
> > warnings
> > > to
> > > > a
> > > > > > text
> > > > > > > file?
> > > > > > > Best regards
> > > > > > > Peter
> > > > > > >
> > > >
> > > >
> > -------------------------------------------------------------------------
> > > > > > > This SF.Net email is sponsored by the Moblin Your Move
> > Developer's
> > > > > > challenge
> > > > > > > Build the coolest Linux based applications with Moblin SDK &
> win
> > > > great
> > > > > > prizes
> > > > > > > Grand prize is a trip for two to an Open Source event anywhere
> in
> > > the
> > > > > > world
> > > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > >
> > > > > >
> > > > > >
> > > >
> > -------------------------------------------------------------------------
> > > > > > This SF.Net email is sponsored by the Moblin Your Move
> Developer's
> > > > > > challenge
> > > > > > Build the coolest Linux based applications with Moblin SDK & win
> > > great
> > > > > > prizes
> > > > > > Grand prize is a trip for two to an Open Source event anywhere in
> > the
> > > > > world
> > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > > _______________________________________________
> > > > > > WiX-users mailing list
> > > > > > WiX-users@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > > >
> > > >
> > > >
> > -------------------------------------------------------------------------
> > > > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > > > challenge
> > > > > Build the coolest Linux based applications with Moblin SDK & win
> > great
> > > > > prizes
> > > > > Grand prize is a trip for two to an Open Source event anywhere in
> the
> > > > world
> > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > > _______________________________________________
> > > > > WiX-users mailing list
> > > > > WiX-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > >
> > > >
> > -------------------------------------------------------------------------
> > > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > > challenge
> > > > Build the coolest Linux based applications with Moblin SDK & win
> great
> > > > prizes
> > > > Grand prize is a trip for two to an Open Source event anywhere in the
> > > world
> > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > >
> -------------------------------------------------------------------------
> > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > challenge
> > > Build the coolest Linux based applications with Moblin SDK & win great
> > > prizes
> > > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > > challenge
> > > Build the coolest Linux based applications with Moblin SDK & win great
> > > prizes
> > > Grand prize is a trip for two to an Open Source event anywhere in the
> > world
> > > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to