ReDucTor Posted June 8, 2006 Posted June 8, 2006 I am trying to setup machines using the network distribution share method, however there is one thing which anoys me about this method when the temporary files are stored on the current HDD, you are unable to format this partition when the machine reboots.So instead I wish to make a program or a script which will remove the additional parts which the installer does not remove when you ask it to remove the previous version of Windows XP, but I need to find the ideal place to do this, somewhere when after it copies the temporary files and restarts, then I can run my program or script, or is there a way to do this with-in DetachProgram but with out removing the stuff which is already installed from the new installation. Can I freeze the installation and resume it while this is being done?
Djé Posted June 9, 2006 Posted June 9, 2006 I don't know if detached programs is the best time to do this but in case you want to try, yes you can freeze setup at that point. You just need Process.exe from BeyondLogic (freeware).Attached is a stub of a batch for you to use it @T39.Save both in $OEM$ and have the batch called from DetachedProgram like this:DetachedProgram = cmd.exe Arguments = "/Q /C FOR /F %? IN ('FINDSTR/B dospath= %SYSTEMROOT%\SYSTEM32\$WINNT$.INF') DO (SET %?\&& CALL START /MIN %dospath:\\=\%$OEM$\Detached.cmd"The piece of code in Arguments find the source location from which you are installing by looking for the dospath directive in \SYSTEM32\$WINNT$.INF.This works both with CD based install and winnt[32].exe based install.Detached.cmd
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