roadapathy Posted August 2, 2007 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.
neo Posted August 2, 2007 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"
Peteski Posted August 2, 2007 Posted August 2, 2007 or you could convert it to an inf file and integrate it into nlite.inf
roadapathy Posted August 3, 2007 Author 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.
Nic303 Posted October 26, 2010 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
Sp0iLedBrAt Posted October 26, 2010 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now