wallywalters Posted August 6, 2008 Posted August 6, 2008 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"
TranceEnergy Posted August 6, 2008 Posted August 6, 2008 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.regso is your regdt32-.exe properly named?
wallywalters Posted August 6, 2008 Author Posted August 6, 2008 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.regso 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.
mazmorbid Posted August 6, 2008 Posted August 6, 2008 do you have batch.cmd in the same folder as with cmdlines.txt?
wallywalters Posted August 6, 2008 Author Posted August 6, 2008 do you have batch.cmd in the same folder as with cmdlines.txt?Yup, they're both in the $OEM$ folder.
mazmorbid Posted August 6, 2008 Posted August 6, 2008 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 ... ?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now