Jump to content

Recommended Posts

Posted

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 :)


Posted

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.log

start /wait $systemdrive$\install\batch2.cmd >>C:\batch2.log

start /wait $systemdrive$\install\batch3.cmd >>C:\batch3.log

start /wait $systemdrive$\install\batch4.cmd >>C:\batch4.log

EXIT

Call 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 :)

Posted

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 them

If you are using servcie pack with uninstall support or unattend setup.You can use same way

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...