slatz Posted April 8, 2006 Posted April 8, 2006 Hey everybody, thanks for the awesome info on this site. I have finally managed to get a copy of an unattended DVD up and running complete with all the applications we pre-install on customers boxes via the service pack method and the runonceex method. However there is one question remaining that I have no clue how to setup and run properly.After the install is complete I have it setup where it just logs into an administrator account. This way we can finish installing drivers that are new and blah blah blah. After we are finished with any driver issues we setup an user account on the machine, and this brings me to my final task. How do I setup the cleanup.cmd to cleanup the %systemdrive%\apps\ folder which was used to install apps. I want this commamd to run the first time a user logs on, not the first time an administrator logs on?I have tried a few things but I obviously have the parameters and or syntax wrong. I did have the cleanup command run after the apps were installed but was having trouble with it because it would run before all the apps were finished installing. I put it on a five minute delay and that seemed to work but as we know all boxes are different and 5 minutes wasn't enough for some boxes to finish the apps install.Thanks guys for the help!Create a great day! slatz
Doc Symbiosis Posted April 8, 2006 Posted April 8, 2006 I would suggest to install the apps with the "start /wait" command and then, after all installations are done, run the cleanup.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