Hi David,

I am not expert in candle and light but I believe that redirection in DOS
should happen at the end of the line:

RunWait($WIX_FOLDER & '\candle.exe -dmanufacturer="'&$MANUFACTURER_NAME&'"
-dproductName="'&$productName&'" -dcabName="'&$CABINET_NAME&'.cab"
-dcodepage='&$wixInitLcidCode&' -dproductGUID='&$productCode&' -out
"'&$BUILD_FOLDER&'\" "'&$BUILD_FOLDER&'\*.wxs" > myfile.txt
',$BUILD_FOLDER,@SW_MAXIMIZE)

Martin Kulov

-----Original Message-----
From: David Amey [mailto:da...@creative-engine.co.uk] 
Sent: Wednesday, June 15, 2011 12:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] logging

Hi Dave,

Thank you for this link.

I have been trying to implement it into my calls, but sadly it does not seem
to work.
I have tried the redirecting with a simple  cmd call and it works fine.

However I am creating an automation process using autoit, and im not sure if
I would be using the redirection correctly.

Autoit script:
RunWait($WIX_FOLDER & '\candle.exe> myfile.txt
-dmanufacturer="'&$MANUFACTURER_NAME&'" -dproductName="'&$productName&'"
-dcabName="'&$CABINET_NAME&'.cab" -dcodepage='&$wixInitLcidCode&'
-dproductGUID='&$productCode&' -out "'&$BUILD_FOLDER&'\"
"'&$BUILD_FOLDER&'\*.wxs"',$BUILD_FOLDER,@SW_MAXIMIZE)

If anyone could point me in the right direction I would be incredibly
grateful.

Thanks!

David Amey
The Creative Engine Ltd
Almac House, Church Lane, Bisley, Surrey, GU24 9DR
T: +44 (0)1483 799200  F: +44 (0)1483 799111

-----Original Message-----
From: Dave Andersen [mailto:d.ander...@gmail.com]
Sent: 14 June 2011 19:28
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] logging

Something like this may help:
http://blog.crankybit.com/redirecting-output-to-a-file-in-windows-batch-scri
pts/


David Amey wrote:
> 
> Hello All
> 
> Can someone please explain how I can turn logging on during the candle 
> and light calls, as I have errors that I need to correct.
> I am automating the calls, which causes the command prompt to close 
> very quickly after the code has been run.
> 
> Thanks in advance.
> 
> PS thank you Tonny Erjomin for the help on language support David Amey 
> The Creative Engine Ltd Almac House, Church Lane, Bisley, Surrey, GU24 
> 9DR
> T: +44 (0)1483 799200  F: +44 (0)1483 799111
> 
> ----------------------------------------------------------------------
> -------- EditLive Enterprise is the world's most technically advanced 
> content authoring tool. Experience the power of Track Changes, Inline 
> Image Editing and ensure content is compliant with Accessibility 
> Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 


--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/logging-tp6474
846p6475377.html
Sent from the wix-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image Editing
and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image Editing
and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to