Jump to content

Recommended Posts

Posted

Unattended Installation on win 2000

i made to batch files to install varios prog...but i need to install first ie6_sp1 restart pc and contioue whith batch file 2

it will not restart after ie.cmd

just goes on whith file2.cmd

batch_file.txt


Posted
Sorry id did not read carfully what the question was.

Ok do you have shtdown exe in your path?

yes if you look on batch.file that is atached on....

i wont win2000 to restart after batch file 1 and contioue whith batchfile 2 after restart!!!

Posted

hi clare,

The [GuiRunOnce] will excute both Commands before rebooting. Note that Command2 will NOT be excuted if your system reboots.

One of the ways to run bm.cmd is to copy the file to your startup which is located in your start menu. For example, you can add this after your Installing IE6sp1 command

ECHO.
ECHO Copying bm.cmd to Startup
copy "C:\install\bm.cmd" "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup"

USERNAME = Your Profile Name

When the system reboots it will run the bm.cmd script.Add this at the end of your bm.cmd script:

del "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup\bm.cmd"

This would prevent bm.cmd script from running again.

Don't forget to remove the Command2 line under your [GuiRunOnce].

Hope this helps.

Posted
hi clare,

The [GuiRunOnce] will excute both Commands before rebooting. Note that Command2 will NOT be excuted if your system reboots.

One of the ways to run bm.cmd is to copy the file to your startup which is located in your start menu. For example, you can add this after your Installing IE6sp1 command

ECHO.
ECHO Copying bm.cmd to Startup
copy "C:\install\bm.cmd" "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup"

USERNAME = Your Profile Name

When the system reboots it will run the bm.cmd script.Add this at the end of your bm.cmd script:

del "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup\bm.cmd"

This would prevent bm.cmd script from running again.

Don't forget to remove the Command2 line under your [GuiRunOnce].

Hope this helps.

Yes but the question was why the pc did not restarted after ie6_sp1

but i need to install first ie6_sp1 restart pc and contioue whith batch file 2

it will not restart after ie.cmd

Posted
hi clare,

The [GuiRunOnce] will excute both Commands before rebooting. Note that Command2 will NOT be excuted if your system reboots.

One of the ways to run bm.cmd is to copy the file to your startup which is located in your start menu. For example, you can add this after your Installing IE6sp1 command

ECHO.
ECHO Copying bm.cmd to Startup
copy "C:\install\bm.cmd" "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup"

USERNAME = Your Profile Name

When the system reboots it will run the bm.cmd script.Add this at the end of your bm.cmd script:

del "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup\bm.cmd"

This would prevent bm.cmd script from running again.

Don't forget to remove the Command2 line under your [GuiRunOnce].

Hope this helps.

Yes but the question was why the pc did not restarted after ie6_sp1

but i need to install first ie6_sp1 restart pc and contioue whith batch file 2

it will not restart after ie.cmd

nothing hapens when i ad the script

ECHO Copying bm.cmd to Startup

copy "C:\install\bm.cmd" "C:\Documents and Settings\USERNAME\Start Menu\Programs\Startup"

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...