nuke747 Posted July 26, 2005 Share Posted July 26, 2005 (edited) I've created an unattended installation CD of XP and have included OEM folders to install other applications, but after the installations are complete..how do you tell it to remove the setup files that it copied to the hard drive from the OEM folders? Or is this even possible?Would implementing this command at the end of the script remove all setup files to all my applications:DEL /S "%systemdrive%\Installers\MSN\MSNMessenger.msi"DEL /S "%systemdrive%\Installers\MSN\"DEL /S "%systemdrive%\Installers\"etc....Any tips? Edited July 26, 2005 by nuke747 Link to comment Share on other sites More sharing options...
microbion Posted July 26, 2005 Share Posted July 26, 2005 RD /S /Q "%SYSTEMDRIVE%\Installers\"should remove the whole "Installers" folder. Link to comment Share on other sites More sharing options...
nuke747 Posted July 26, 2005 Author Share Posted July 26, 2005 Actually, now that I understand a little more..you really dont even need to copy the installers on to the hard drive itself. Only the batch script files need to be on the hard drive to allow relevant directories (ie. %systemdrive%).So in this case, I would only have to copy the batch file to the hard drive..run it and then delete the batch file?What other advantages would I have by copying all the installers to the hard drive first rather than running them off the cd? Link to comment Share on other sites More sharing options...
microbion Posted July 26, 2005 Share Posted July 26, 2005 installing your applications from cdrom is sometimes a reduction in speed i think. after copying all the installers to your hard drive and running them off the hard drive you can easily remove all your installers. so there is nothing to be said against it. Link to comment Share on other sites More sharing options...
spazmire11 Posted July 26, 2005 Share Posted July 26, 2005 and i would think that if the cd were somehow mising when the batch runs then it would have a big BOOM! or if the cd were scratched the same would happen Link to comment Share on other sites More sharing options...
microbion Posted July 26, 2005 Share Posted July 26, 2005 well, my "install" folder on the hard drive is like a backup whensoever i want to reinstall my applications i dont have to look for the cd. its an advantage. Link to comment Share on other sites More sharing options...
yronnen Posted July 29, 2005 Share Posted July 29, 2005 Depends on the size of the installations, I guess.I use a multi-dvd and install plenty of applications. Copying these applications to the HDD and the installing them will take much longer than installing them directly from the DVD drive. Link to comment Share on other sites More sharing options...
a06lp Posted July 29, 2005 Share Posted July 29, 2005 Copying these applications to the HDD and the installing them will take much longer than installing them directly from the DVD drive.<{POST_SNAPBACK}>Ditto. 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