If the "[LogPathVariable]" was passed as an empty string that means the variable was interpreted, it just interpreted to empty string. Logging for ExePackage's has to be done essentially manual since .exe based installs are all very different. However Burn provides a little to help you. The following should demonstrate some options:
<ExePackage InstallCommand='/l [ThisExePackageLogPath]' LogPathVariable='ThisExePackageLogPath' /> Notice how ExePackage/@LogPathVariable defines the name of the variable for the log path and how the ExePackage/@InstallCommand uses the result of that variable to provide a log file to the ExePackage. I hope that helps answer the question. On Mon, Apr 22, 2013 at 10:26 AM, Marco Tognacci <mark...@live.it> wrote: > I have tried with this but the [LogPathVariable] is not valuated and Burn > pass an empty string as args, so the exe package report an error, and > doesn't install. > > > From: jacob.hoo...@greenheck.com > > To: wix-users@lists.sourceforge.net > > Date: Sun, 21 Apr 2013 21:21:42 +0000 > > Subject: Re: [WiX-users] Wix ExePackage can't activate log using Burn > > > > Hmm, > > Just a guess but... > > > > InstallCommand="/s /v"REBOOT=ReallySupress /qn /l*v > [LogPathVariable]"" > > > > And then if it fails, what does the bundle log show when it executes > your ExePackage? What is the error code that is returned? It should log > all the options passed to the package so we could track down the issue. > > > > -----Original Message----- > > From: Marco Tognacci [mailto:mark...@live.it] > > Sent: Sunday, April 21, 2013 4:02 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Wix ExePackage can't activate log using Burn > > > > If I run from cmd the ExePackage in silent mode, and suppress reboot, > with this command line parameters it works"/s /v"REBOOT=ReallySupress /qn > /l*v %temp%\MyExe.log"" > > but if I use this InstallCommand in the ExePackage the package return an > error and doesn't installInstallCommand="/s /v"REBOOT=ReallySupress > /qn"" > > then I have found the LogPathVariable in the ExePackage, perhaps I must > use this to enable logging, or what is this LogPathVariable made for? > > > > > From: jacob.hoo...@greenheck.com > > > To: wix-users@lists.sourceforge.net > > > Date: Sun, 21 Apr 2013 19:15:46 +0000 > > > Subject: Re: [WiX-users] Wix ExePackage can't activate log using Burn > > > > > > Exe package logging would be dictated by the Exe. You could try > passing /? To the exe to see what parameters it supports. From there, you > can customize the parameters the bundle passes to the package to get the > desired result. > > > > > > -----Original Message----- > > > From: Marco Tognacci [mailto:mark...@live.it] > > > Sent: Sunday, April 21, 2013 6:59 AM > > > To: wix-users@lists.sourceforge.net > > > Subject: Re: [WiX-users] Wix ExePackage can't activate log using Burn > > > > > > Is this a bug in wix, or this is not the right way for enabling log > for ExePackage?I have tried to use LogPathVariable="MyExe.log" but the log > doesn't work. > > > > > > > From: mark...@live.it > > > > To: wix-users@lists.sourceforge.net > > > > Date: Thu, 18 Apr 2013 20:09:29 +0200 > > > > Subject: Re: [WiX-users] Wix ExePackage can't activate log using > > > > Burn > > > > > > > > Do you have any example about enabling logging of ExePackage in Burn > chain?I have tried to use LogPathVariable="MyExe.log" but the log doesn't > work. > > > > > > > > > > > > > From: mark...@live.it > > > > > To: wix-users@lists.sourceforge.net > > > > > Date: Wed, 17 Apr 2013 20:57:07 +0200 > > > > > Subject: [WiX-users] Wix ExePackage can't activate log using Burn > > > > > > > > > > I have an exe setup package that I have to install in the chain of > Burn, for this I have added an ExePackage.When the Burn setup is running I > have the logs for each msi in the format > [WidBundleName_Date]_[MSIPackageName].log, but I have no the log for the > exe package, if I run the exe with this command line it create the log > /l*v %temp%\MyExe.log.If I add this command args to the InstallCommand of > the ExePackage it return and error when installing.So I have tried to set > LogPathVariable in the ExePackage using the name of the log > LogPathVariable="MyExe.log" it doen't create any log file.How can I use > this LogPathVariable ? I'd like to have the log on a file with the same > naming convention used for the MSI package, how can I do this? > > > > > ------------------------------------------------------------------ > > > > > -- > > > > > ---------- Precog is a next-generation analytics platform capable > > > > > of advanced analytics on semi-structured data. The platform > > > > > includes APIs for building apps and a phenomenal toolset for data > science. > > > > > Developers can use our toolset for easy data analysis & > > > > > visualization. Get a free account! > > > > > http://www2.precog.com/precogplatform/slashdotnewsletter > > > > > _______________________________________________ > > > > > WiX-users mailing list > > > > > WiX-users@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > -------------------------------------------------------------------- > > > > -- > > > > -------- Precog is a next-generation analytics platform capable of > > > > advanced analytics on semi-structured data. The platform includes > > > > APIs for building apps and a phenomenal toolset for data science. > > > > Developers can use our toolset for easy data analysis & > visualization. > > > > Get a free account! > > > > http://www2.precog.com/precogplatform/slashdotnewsletter > > > > _______________________________________________ > > > > WiX-users mailing list > > > > WiX-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ---------------------------------------------------------------------- > > > -------- Precog is a next-generation analytics platform capable of > > > advanced analytics on semi-structured data. The platform includes APIs > for building apps and a phenomenal toolset for data science. Developers can > use our toolset for easy data analysis & visualization. Get a free account! > > > http://www2.precog.com/precogplatform/slashdotnewsletter > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ---------------------------------------------------------------------- > > > -------- Precog is a next-generation analytics platform capable of > > > advanced analytics on semi-structured data. The platform includes APIs > > > for building apps and a phenomenal toolset for data science. > > > Developers can use our toolset for easy data analysis & visualization. > > > Get a free account! > > > http://www2.precog.com/precogplatform/slashdotnewsletter > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use our > toolset for easy data analysis & visualization. Get a free account! > > http://www2.precog.com/precogplatform/slashdotnewsletter > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > > Precog is a next-generation analytics platform capable of advanced > > analytics on semi-structured data. The platform includes APIs for > building > > apps and a phenomenal toolset for data science. Developers can use > > our toolset for easy data analysis & visualization. Get a free account! > > http://www2.precog.com/precogplatform/slashdotnewsletter > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users