summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2013-02-15 02:40:23 +0200
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2013-02-18 17:44:05 +0200
commit9bbc71756b4c05b1cfa7b2d04064152c37823b1c (patch)
treed89c34ee3e83ca2c1948db9ba697649dfdd2b3d7
parente72848cbb17d1f73fee35a41d3ea6c0393e1ca4d (diff)
winxp,installer: Log post-install commands
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.
-rw-r--r--data/install-scripts/windows-sif.xml2
1 files changed, 1 insertions, 1 deletions
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