MSFN Forum: The "best" use of cmdlines.txt - MSFN Forum

Jump to content



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

The "best" use of cmdlines.txt how do I achieve more by the t-13 stage? Rate Topic: -----

#1 User is offline   jim-p 

  • Newbie
  • Group: Members
  • Posts: 41
  • Joined: 16-June 05

Posted 26 December 2005 - 06:00 PM

Greetings everyone and merry Christmas

I was wondering if it is possible to have some programs installed via cmdlines.txt.The main benefit of this would be the single(same) configuration of e.g. winrar that applies to all users who are created beyond this point.

So far the only thing I have managed to install successfully via cmdlines.txt is DirectX9c silent.

My cmdlines.txt is this bit:

[Commands]
"regedit32.exe /S tweaks.reg"
"start /w install.cmd"


and install.cmd contains the silent installs of my apps.

NONE OF TWO LINES WORK! Why?

Do i have to make individual .cmd files for every single one of my apps?
OR
Change the whole thing so it looks like:


[Commands]
"regedit32.exe /S tweaks.reg"
"winrar3.50" /s
"winamp5.11_lite" /s
.
.
.


I also thought of "spawning" WPI through this method in the t-13 but no success

Any suggestions are welcome. Thank you


#2 User is offline   jbm 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 626
  • Joined: 16-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 December 2005 - 09:12 PM

Its probably because cmdlines.txt doesn't recognize the start command.
If the command you want to run aren't in the $OEM$ folder then you
have to enter the path to them. This guide helped me out.
http://unattended.ms...xp/view/web/14/

#3 User is offline   Takeshi 

  • Legitchecking...
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,107
  • Joined: 09-September 04

Posted 26 December 2005 - 10:16 PM

regedit32.exe

doesn't exit.

#4 User is offline   jim-p 

  • Newbie
  • Group: Members
  • Posts: 41
  • Joined: 16-June 05

  Posted 27 December 2005 - 02:39 AM

Straight out from the guide in http://unattended.ms...xp/view/web/14/

* CMDLINES.TXT is a VERY limited commandline interface. This means that MOST traditional DOS commands are not available, however external commands (REGEDIT32.EXE , REG.EXE, etc. ) are available.

* If you have normal batch commands to execute (PAUSE, TITLE, START, etc.) then it'd be simpler to just create the CMD file, and then have CMDLINES.TXT call it. Refer to the above on how to add an entry to CMDLINES.TXT.


Regedit32 is actually Regedt32!
java script:emoticon(':}', 'smid_21')
smilie
Any other suggestions?

#5 User is offline   jbm 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 626
  • Joined: 16-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 December 2005 - 06:25 AM

Yes, but thats calling start in a batch file called by cmdlines.txt

#6 User is offline   Synapse 

  • *Previously Bi0haZarD*
  • PipPipPipPipPip
  • Group: Members
  • Posts: 980
  • Joined: 29-July 04

Posted 27 December 2005 - 09:11 AM

your best bet would probably be to use XPLode, it runs at T-12 (when cmdlines.txt is parsed)

#7 User is offline   Vadikan 

  • MSFT MVP Windows Expert: Consumers
  • PipPipPip
  • Group: Members
  • Posts: 349
  • Joined: 22-February 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 27 December 2005 - 09:31 PM

Pack the apps you want to install into silent switchless SFX archives and install from svcpack.inf. I'm not saying all programs will install or will work after such installation, but some of them may install and work :)

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