Re: [v3 1/5] winxp, installer: Log post-install commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can be useful for debugging, so ACK. Hopefully noone will complain about an
extra file 

Christophe

On Fri, Feb 15, 2013 at 04:54:07AM +0200, Zeeshan Ali (Khattak) wrote:
> From: "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx>
> 
> Redirect stdio and stderr of post-install commands to a file on target
> disk. We put it in 'c:\windows' because thats where windows puts its own
> installation log files.
> ---
>  data/install-scripts/windows-sif.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/data/install-scripts/windows-sif.xml b/data/install-scripts/windows-sif.xml
> index c072f4b..630df56 100644
> --- a/data/install-scripts/windows-sif.xml
> +++ b/data/install-scripts/windows-sif.xml
> @@ -194,7 +194,7 @@
>  
>  <xsl:if test="os/version &gt; 5.0">
>  [SetupParams]
> -    UserExecute = "<xsl:call-template name="script-disk"/>:\windows.cmd"
> +    UserExecute = "<xsl:call-template name="script-disk"/>:\windows.cmd >c:\windows\osinfo.log 2>&amp;1"
>  
>  [WindowsFirewall]
>      Profiles = WindowsFirewall.TurnOffFirewall
> -- 
> 1.8.1.2
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo

Attachment: pgp8vblqooVkx.pgp
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux