wallywalters Posted August 6, 2008 Share 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" Link to comment Share on other sites More sharing options...
TranceEnergy Posted August 6, 2008 Share 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? Link to comment Share on other sites More sharing options...
wallywalters Posted August 6, 2008 Author Share 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. Link to comment Share on other sites More sharing options...
mazmorbid Posted August 6, 2008 Share Posted August 6, 2008 do you have batch.cmd in the same folder as with cmdlines.txt? Link to comment Share on other sites More sharing options...
wallywalters Posted August 6, 2008 Author Share 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. Link to comment Share on other sites More sharing options...
mazmorbid Posted August 6, 2008 Share 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 ... ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now