How to create a registry modification install file

  • Thread starter Thread starter David4321
  • Start date Start date
D

David4321

I have seen some .reg files, which are not a complete registry (like
backup), but they just make certain edits and patches when clicked. Ho
can I make such a file?

What I am doing: I have just finished making many edits to install
new icon setup for files, folders, etc. - now I want to save my work i
a form that can be used to install the same changes on another operatin
system - such as when I get a new one, or if I ever have to reinstal
OS. Ideally, this would work for anyone's computer, not just my own
ie: way to work around user folder name in icon paths.

I know how to copy the entire registry, or export a whole chunk of it
but it doesn't make sense to copy the entire HKEY_CLASSES_ROOT - tha
would change too much. I know how to export a single key entry as well
but there would be too many of these to be practical.

How can I make a package that will edit only the selected keys? (namel
mostly adding DefaultIcon key to file type root keys)

Thank
 
You can create these .reg files by simply creating a notepad document with
the required lines, and saving it with a .reg extension eg MyFixes.reg
 
David4321 said:
I have seen some .reg files, which are not a complete registry (like
a
backup), but they just make certain edits and patches when clicked.
How
can I make such a file?

What I am doing: I have just finished making many edits to install a
new icon setup for files, folders, etc. - now I want to save my work
in
a form that can be used to install the same changes on another
operating
system - such as when I get a new one, or if I ever have to
reinstall
OS. Ideally, this would work for anyone's computer, not just my own.
ie: way to work around user folder name in icon paths.

I know how to copy the entire registry, or export a whole chunk of
it,
but it doesn't make sense to copy the entire HKEY_CLASSES_ROOT -
that
would change too much. I know how to export a single key entry as
well,
but there would be too many of these to be practical.

How can I make a package that will edit only the selected keys?
(namely
mostly adding DefaultIcon key to file type root keys)

If I need to do this with a large number of keys, I generally export
the key that contains all of the changes I'll be making before and
after, then use a comparison tool to list the differences. In your
case, since the edits have already been done you could do the "after"
export now, revert to the restore point you made just before starting
these edits (you DID make a restore point first, didn't you?) and make
the "before" export, do the comparison, create the .reg file and merge
it to test it. If that approach doesn't get you there, then you may
have to resort to manually exporting each change and then merging the
individual export files into one.

--
Zaphod

Arthur: All my life I've had this strange feeling that there's
something big and sinister going on in the world.
Slartibartfast: No, that's perfectly normal paranoia. Everyone in the
universe gets that.
 
Back
Top