chon_ Posted October 8, 2003 Posted October 8, 2003 I run 4 CMD scripts in my unattended CD and I want to make a log file for them because I need to know what's going on every stage of the setup process.1. How can I do it?2. Can I use only one file for the four scripts m(ie append the info to only one file)?3. If so, how to do it?3. where should I create it?4. is it possible to log svcpack.inf activities? how?TIA
Aaron Posted October 8, 2003 Posted October 8, 2003 If 4 of those batch files are being executed as each line under [GuiRunOnce] then create another batch file to execute your four batch files.Like this:start /wait $systemdrive$\install\batch1.cmd >>C:\batch1.logstart /wait $systemdrive$\install\batch2.cmd >>C:\batch2.logstart /wait $systemdrive$\install\batch3.cmd >>C:\batch3.logstart /wait $systemdrive$\install\batch4.cmd >>C:\batch4.logEXITCall this startbatch.cmd and use this in [GuiRunOnce] instead. Its done this way because [GuiRunOnce] doesn't like the >> command.Not sure on how to log svcpack.inf activities though
scankurban Posted October 8, 2003 Posted October 8, 2003 Hotfixes has uninstall support.They are storing uninstall information under tyhe windows dir.Every fix creating own uniqe uninstall dir.Like this C:\WINDOWS\$NtUninstallKB282010$\ They are listing changed files to C:\WINDOWS\$NtUninstallKB282010$\spuninst\spuninst.inf file.You can trace themIf you are using servcie pack with uninstall support or unattend setup.You can use same way
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now