[Libosinfo] [v3 1/5] winxp, installer: Log post-install commands
Christophe Fergeau
cfergeau at redhat.com
Fri Feb 15 18:20:28 UTC 2013
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 at gnome.org>
>
> 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 > 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>&1"
>
> [WindowsFirewall]
> Profiles = WindowsFirewall.TurnOffFirewall
> --
> 1.8.1.2
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20130215/9f798a96/attachment.sig>
More information about the Libosinfo
mailing list