Jump to content

Can't get cmdlines.txt to run batch.cmd file


Recommended Posts

Posted

I'm a relative newbie at creating unattended install CDs and am using nLite to build my first ones. I can get cmdlines.txt to run the first command (regedt32) but not the batch file.

The contents of my cmdline.txt file appears below. What am I doing wrong?

[COMMANDS]

"regedt32.exe /s initialize.reg"

"batch.cmd"


Posted

well i use xp 64bit version , while you use 32 bit version.

So i use this f.example. :

regedit.exe /s %source%tweaks\Remove_Startup-Java.reg

so is your regdt32-.exe properly named?

Posted
well i use xp 64bit version , while you use 32 bit version.

So i use this f.example. :

regedit.exe /s %source%tweaks\Remove_Startup-Java.reg

so is your regdt32-.exe properly named?

My recollection was that regedit and regedt32 can be used interchangeably in Windows XP. But in any event, the "initialize.reg" file does get entered successfully into the register.

Posted

I honestly have no idea. im only a newbie with this also, have you tried running your batch.cmd from RunOnceEx? I think cmdlines runs during install at T12 and RunOnceEx runs after ... ?

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