Jump to content

Do We Realy Need To Clean Up?


1to1

Recommended Posts

I just woundering if we install from a cd do we realy need to have the following statements my PC when it's boot up for first time start to count down for about 25 second and then freeze up for 1 minute before it's containue counting down and reboot.

any idea

REG ADD %KEY%\95 /VE /D "Restart" /f

REG ADD %KEY%\95 /V 1 /D "%CDROM%\App\cleanup.cmd" /f

REG ADD %KEY%\95 /VE /D "Reboot the computer to finish installation"

RED ADD %KEY%\95 /V 1 /D "shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."

regards

:rolleyes:

Link to comment
Share on other sites


You're spot on there...

The

REG ADD %KEY%\95 /VE /D "Restart" /f
REG ADD %KEY%\95 /V 1 /D "%CDROM%\App\cleanup.cmd" /f

keys will be overwritten in RunOnceEx by

REG ADD %KEY%\95 /VE /D "Reboot the computer to finish installation"
RED ADD %KEY%\95 /V 1 /D "shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."

Therefore the cleanup.cmd wont run anyhow.

If you aren't needing to remove links files /folders then you don't need to claen anything up.

If you do, even if it's just links etc. why not remove the

REG ADD %KEY%\95 /VE /D "Reboot the computer to finish installation"
RED ADD %KEY%\95 /V 1 /D "shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."

lines and add the shutdown to your cleanup.cmd as in the guide.

Link to comment
Share on other sites

thanks guys

so there are nothing to clean and no need for this

REG ADD %KEY%\95 /VE /D "Restart" /f

REG ADD %KEY%\95 /V 1 /D "%CDROM%\App\cleanup.cmd" /f

thanks again

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