MSFN Forum: where do i put start.cmd? - MSFN Forum

Jump to content



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

where do i put start.cmd? Rate Topic: -----

#1 User is offline   roel 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 05-August 04

Posted 05 August 2004 - 10:58 AM

Hello, for the past few days i'm trying to make an unattended install cd for win XP.
So far it worked. But now i'm trying to install apps and i created the start.cmd file and put it in C:\xpcd\$OEM$\$1\Install\ (where i also put the app installation files).

I tested it with Virtual PC, but after i get the logon screen, i get a message that windows couldn't find start.cmd. :) Does anybody know what i have to do?? I tried a couple of things, but testing the installations takes a lot of time, so i prefer an easy sollution...
Thanks


#2 User is offline   Aaron 

  • The MSFN Banana
  • Group: Patrons
  • Posts: 5,767
  • Joined: 17-August 01
  • OS:ME
  • Country: Country Flag

Posted 05 August 2004 - 11:04 AM

That's the right place to put it in, but check if this is also in your winnt.sif:

[GuiRunOnce]
%systemdrive%\install\start.cmd

As well as OemPreinstall=Yes

#3 User is offline   diesel_98a 

  • Spurz 4 Life....
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 26-July 03

Posted 05 August 2004 - 11:06 AM

well aaron beat me to it, but i was going to say to ck the path name.

%systemdrive%\install\start.cmd


#4 User is offline   roel 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 05-August 04

Posted 05 August 2004 - 11:09 AM

At the end of the winnt.sif there's:

[GuiRunOnce]
%systemdrive%\install\start.cmd

[Unattended]
OemPreinstall=Yes
UnattendSwitch="yes"

And at logon of windows it tries to open start.cmd but can't find it...

#5 User is offline   diesel_98a 

  • Spurz 4 Life....
  • PipPipPipPip
  • Group: Members
  • Posts: 532
  • Joined: 26-July 03

Posted 05 August 2004 - 11:11 AM

i know its been awhile since i have used the guirunonce but i believe it should be like this:
[GuiRunOnce]
"%systemdrive%\install\start.cmd"


missing the quotes. that is what i had to do, to get some of them to work.

#6 User is offline   Aaron 

  • The MSFN Banana
  • Group: Patrons
  • Posts: 5,767
  • Joined: 17-August 01
  • OS:ME
  • Country: Country Flag

Posted 05 August 2004 - 11:28 AM

When the error happens, have a look in your C:\ drive, is there an Install folder as well as start.cmd? If not, the copy over failed.

#7 User is offline   roel 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 05-August 04

Posted 05 August 2004 - 11:32 AM

That seems to be the problem indeed. There are no install folders what so ever... And i haven't got a clue why the copy over failed. I followed the procedures very precise... Any ideas?

#8 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 05 August 2004 - 11:34 AM

perhaps you have two OEMPreInstall's

#9 User is offline   roel 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 05-August 04

Posted 05 August 2004 - 11:42 AM

Yeah, there are 2 OemPreinstall's. the first one says OemPreinstall=No and the last one says yes. But i wonder why it didn't install the $oem$ folder at the end... Anyway, thanks i'll try it out now!!

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