YeuEmMaiMai Posted August 17, 2003 Share Posted August 17, 2003 OK guys here is what I would like to do.I would like to intergrate the installation of the system restore ustility into my Windows 2003 Server CD1. I have copied all of the files to the x:\i386 folderI want to know how do I get winnt.sif to run the sr.sif file during the installation of Win 2K3I am thinking that you just paste the contents of the sr.sif file into the Winnt.sif file before your batch files Link to comment Share on other sites More sharing options...
Aaron Posted August 18, 2003 Share Posted August 18, 2003 Do you mean sr.inf?%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 path/to/sr.infreplace path/to/sr.inf with necessary pathYou should execute this from a batch file, save it as sr.cmd and place the path to sr.cmd from winnt.sif's GuiRunOnce Link to comment Share on other sites More sharing options...
YeuEmMaiMai Posted August 18, 2003 Author Share Posted August 18, 2003 oops yeah I meant sr.inf Ok so when I place it into my batch file it should run without prompting for the CD\I386 since the files have been placed into the \I386 folder on the CD right?so my path would be like this X = CD Rom drive letterx:\I386 <- where I placed the system restore filesx:\$oem$\$1\install\SystemRestore\sr.infI will runx:\$oem$\$1\install\SystemRestore.cmd-------contents of systemrestore.cmd---------Echo Please wait while Windows System Restore is installed...Echo.Echo Installing System Restore registry entriesREGEDIT /S %systemdrive%\install\SystemRestore\SystemRestore.regEcho.Echo Please wait while Windows runs the System Retore setup routine.Echo.%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\install\SystemRestore\sr.infExit--------end of contents------------------------Now since this is all good one last question How do I prevent it from prompting for a reboot? Link to comment Share on other sites More sharing options...
Aaron Posted August 18, 2003 Share Posted August 18, 2003 in theory yes Link to comment Share on other sites More sharing options...
DaveXP Posted August 18, 2003 Share Posted August 18, 2003 as long as it is in the I386 dir it will run fine. Link to comment Share on other sites More sharing options...
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