MADIKKE Posted November 2, 2005 Share Posted November 2, 2005 Howdi y'allI'm making a unattended XP cd and it works fine, except for one thing..it wont install my custom .reg'sIf im correct at this:I've put my cmdlines.txt in the $oem folder, with this inside it :[commands]"REGEDIT /S regtweaks.reg"also , to be sure I've addedECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\RegTweaks.regto my batch_file (where it installs all apllications etc.I've used the registerytweaks.txt from somewhere on this forum and modded it.but NONE of my .reg's work...just like they are not inserted or so....Help me ?I've added my regtweaks.regRegtweaks.reg Link to comment Share on other sites More sharing options...
bledd Posted November 2, 2005 Share Posted November 2, 2005 (edited) add this to the top line of the fileWindows Registry Editor Version 5.00-edit, going to nick a few of these and add them to mine Edited November 2, 2005 by bledd Link to comment Share on other sites More sharing options...
cluberti Posted November 2, 2005 Share Posted November 2, 2005 (edited) Since we're posing registry tweaks B) :http://www.cluberti.com/regtweaksAs to making your regtweaks import, do as I've told everyone else with this issue - don't use cmdlines.txt for reg entries or RunOnceEx - in your WINNT.SIF, use:[setupParams] UserExecute=%systemdrive%\temp\unattend.cmdPlace your reg files and your runonce.cmd file in $oem$\c\temp\, and make a file called unattend.cmd (in the same folder), and add:--- unattend.cmd ---@echo off%systemdrive%\temp\runonce.cmdregedit /s %systemdrive%\temp\<name of your registry entries>.reg-----------------------Then, your registry entries are called and added at the T-9 stage. This works much better than cmdlines.txt. Edited November 2, 2005 by cluberti Link to comment Share on other sites More sharing options...
K e n Posted November 3, 2005 Share Posted November 3, 2005 Hey I like some of them tweaks guys, don't mind if I knock a few offI hope....I don't use the $oem method of adding registry entries however, I editthe appropriate hive---.inf file , usually hivesft.inf...I think cluberti originally showed me that way as an alternative a while ago..cluberti, I notice in yours you state to make sure when saving the txt fileto make sure the word wrap is off, man I learnt that the hard way..I'd been adding the registry entries for the last 20 or so mods this waybut suddenly started to get errors about the setup being unable to installthe catalogues with an error that went something like 8001b0001..Just out of curiosity I turned word wrap off after killing a dozen or so attempts &was back to working fine when saved after editing the hivesft.inf.I was starting to lose faith in my ability to do anything there for a while untilthat was found.. Link to comment Share on other sites More sharing options...
MADIKKE Posted November 3, 2005 Author Share Posted November 3, 2005 Hey there Cluberti,A minor questionIm not using runonceex anyhwereSo could I just edit the : --- unattend.cmd ---@echo off%systemdrive%\temp\runonce.cmdregedit /s %systemdrive%\temp\<name of your registry entries>.reg-----------------------by removing %systemdrive%\temp\runonce.cmd ?Or do I need to replace it by %systemdrive\install\batch_file.cmd (this is what installs all of my program's) Link to comment Share on other sites More sharing options...
cluberti Posted November 3, 2005 Share Posted November 3, 2005 You are correct, just remove the runonce line and you should be good to go. Link to comment Share on other sites More sharing options...
MADIKKE Posted November 3, 2005 Author Share Posted November 3, 2005 works ty !the Windows Registry Editor Version 5.00did the trick Link to comment Share on other sites More sharing options...
cluberti Posted November 3, 2005 Share Posted November 3, 2005 Cool 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