Jump to content

application installs problem


Recommended Posts

ok, here is the problem. I have my batch file that installs all my programs from the install folder. After it is all done, the batch file is then set to delete the install directory. It does this, but when it is done deleting the install folder, the batch file crashs and nothing that i have after that command is run.

any ideas?

i put in a pause right after deleting the install directory to determine if maybe it was the next command that was causing the crash, but the press any key never showed up.

could it be an issue with certain files being deleted causing the crash. I know that the command runs ok, because when the batch file crashs, and i get into windows, the install folder is not there anymore, so it did get deleted.

I tried editing the batch file to delete individual application folders as each application is installed, and the only error i get is that it tells me that it can not delete this one file withing the Print shop pro directory, gives me a message saying that access is denied, but the bacth file keeps running and still crashes when it deletes the install dir.

any help would be appriciated

Link to comment
Share on other sites


Move the command which deletes the Install directory to a point later on in your BAT file so that you can see exactly what is crashing it.

Use the PAUSE command in several places until you track it down.

If you still can't find it, post the file.

Link to comment
Share on other sites

ok, here is what is happening. I have created my DVD, with about 25 additional programs. My have edited my batch file to delete each sub directory within the install directory after each program gets installed. Everything seems to delete fine except for one. I have macromedia studio MX on there, and when the command to delete that file runs after the install, i get an error saying the setup.exe in the FSCOMM~1 dir could not be deleted, access is denied. Then it says that it could not delete that particular subdirectory because it is currently in use.

That is the only problem i run into at the time of installation.

After everything installs, I have a few commands to delele the install folder and a few other temp folders that get used. It delete each folder, but when i gets to deleting the install folder, the batch file crashes and nothing after that runs. i put some PAUSE 's in the batch file, and they all ask me to press any key, except the one right after deleting the install directory. it never gets to that point.

once all this happens, i reboot and delete the install dir from the command prompt, and it works without a problem.

I have a solution to this problem, but I would like to figure out a way to make it work from the original batch file. The way i do it not, i have a batch command the copy another batch file into the startup directory, so that when i reboot, it will run that batch file to delete the folders that could not be deleted before, and then it deletes itself from the startup dir so that it only runs once. I guess this works, but if anyone has had issues with this and knows of a solution, let me know. If it helps, the macromedia studion MX i am installing is the one i pulled off of the Windows nemesis ISO i downloaded.

Link to comment
Share on other sites

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