MSFN Forum: Win2000 Unattended Installation Problem - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Win2000 Unattended Installation Problem Rate Topic: -----

#1 User is offline   clair 

  • Newbie
  • Group: Members
  • Posts: 47
  • Joined: 11-August 04

Posted 11 August 2004 - 03:53 AM

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

Attached File(s)




#2 User is offline   visaversa 

  • Face it...
  • PipPipPip
  • Group: Members
  • Posts: 428
  • Joined: 14-October 03

Posted 11 August 2004 - 04:02 AM

Sorry id did not read carfully what the question was.

Ok do you have shtdown exe in your path?

#3 User is offline   clair 

  • Newbie
  • Group: Members
  • Posts: 47
  • Joined: 11-August 04

Posted 11 August 2004 - 04:44 AM

visaversa, on Aug 11 2004, 04:02 AM, said:

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

#4 User is offline   ps7 

  • Newbie
  • Group: Members
  • Posts: 38
  • Joined: 28-December 03

Posted 11 August 2004 - 05:05 AM

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.

#5 User is offline   visaversa 

  • Face it...
  • PipPipPip
  • Group: Members
  • Posts: 428
  • Joined: 14-October 03

Posted 11 August 2004 - 09:16 AM

ps7, on Aug 11 2004, 01:05 PM, said:

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

Quote

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

it will not restart after ie.cmd


#6 User is offline   clair 

  • Newbie
  • Group: Members
  • Posts: 47
  • Joined: 11-August 04

Posted 12 August 2004 - 12:16 AM

visaversa, on Aug 11 2004, 09:16 AM, said:

ps7, on Aug 11 2004, 01:05 PM, said:

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

Quote

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"

#7 User is offline   clair 

  • Newbie
  • Group: Members
  • Posts: 47
  • Joined: 11-August 04

Posted 13 August 2004 - 02:16 AM

can somebody help me whith this PLEASE

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy