roadapathy Posted August 2, 2007 Share Posted August 2, 2007 I bet this is a dumb question but I haven't found the answer anywhere.How do you run a REG file during/after the windows installation using nLite? Do I use the RUNONCE feature for this?Thanks and I really hope this hasn't been covered like 20 times in the forum. Link to comment Share on other sites More sharing options...
neo Posted August 2, 2007 Share Posted August 2, 2007 You can run any reg file using CMDLINES.TXTCreate a folder named $OEM$ at root of disc, now create a text file named CMDLINES.TXT in the folder.copy your reg file such as tweaks.reg and add these line into CMDLINES.TXT[COMMANDS]"regedit /s tweaks.reg" Link to comment Share on other sites More sharing options...
Peteski Posted August 2, 2007 Share Posted August 2, 2007 or you could convert it to an inf file and integrate it into nlite.inf Link to comment Share on other sites More sharing options...
roadapathy Posted August 3, 2007 Author Share Posted August 3, 2007 NEO: You are the mannnnnnnn! Thank you very much. I am going to try this right now.PETESKI: I tried that method of turning a .REG file into an .INF but for some reason, it did not make the changes that I required. I only wanted to add some registry keys to software, some system tweaks, and some taskbar tweaks. Link to comment Share on other sites More sharing options...
neo Posted August 3, 2007 Share Posted August 3, 2007 Welcome Buddy ! Link to comment Share on other sites More sharing options...
Nic303 Posted October 26, 2010 Share Posted October 26, 2010 (edited) I have same problem.Can anyone tell me what command should be write in "Command to add" ? to merge reg file and delete from hard disk after that. Edited October 26, 2010 by Nic303 Link to comment Share on other sites More sharing options...
Sp0iLedBrAt Posted October 26, 2010 Share Posted October 26, 2010 If you use neo's method from post #2, the .reg file will merge and there will be no need to delete it, since in will not copy to hard disk; it will be executed from the XP CD.Now, if you WANT it copied to HDD and then deleted, that's a different thing. But the above mentioned is much more simple.I suppose the command to add to nLite would be something like regedit /s %source%$OEM$\regfile.regCheers Link to comment Share on other sites More sharing options...
Nic303 Posted October 26, 2010 Share Posted October 26, 2010 Thanks. 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