Jump to content

My regtweaks.reg are not inserted


Recommended Posts

Howdi y'all

I'm making a unattended XP cd and it works fine, except for one thing..

it wont install my custom .reg's

If 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 added

ECHO.

ECHO Applying Registry Tweaks...

REGEDIT /S %systemdrive%\install\RegTweaks.reg

to 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.reg

Regtweaks.reg

Link to comment
Share on other sites


Since we're posing registry tweaks B) :

http://www.cluberti.com/regtweaks

As 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.cmd

Place 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.cmd

regedit /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 by cluberti
Link to comment
Share on other sites

Hey I like some of them tweaks guys, don't mind if I knock a few off

I hope....

I don't use the $oem method of adding registry entries however, I edit

the 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 file

to 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 way

but suddenly started to get errors about the setup being unable to install

the 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 until

that was found..

Link to comment
Share on other sites

Hey there Cluberti,

A minor question

Im not using runonceex anyhwere

So could I just edit the :

--- unattend.cmd ---

@echo off

%systemdrive%\temp\runonce.cmd

regedit /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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...