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

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Fri Feb 15 02:54:07 UTC 2013


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




More information about the Libosinfo mailing list