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

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

 



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


[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