Re: Auto-saving the registry
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Sun, 25 Sep 2005 15:43:13 -0500
Douglas J. Horton wrote:
I am writing an application that will store things like Version Info, Username, etc in the Registry.
I don't want to do anything to damage the Registry but unfortunately it's always a possibility.
Before I install my software (custom installation process, not InstallShield or Wise) I want to automatically backup the Registry.
The whole thing? That could be hundreds of megabytes. All because you're not sure whether your code works correctly?
The registry isn't some delicate thing that could break if you look at it wrong. The API functions you use to manipulate the registry are just as robust as any other functions, such as the functions you use to manipulate the file system.
I think your fears are not warranted. Make your changes to the registry, check the return codes, and be concious of access permissions. If you do all that, I think you've met your responsibility.
Programs make hundreds of changes to the registry every day without making backups first. Why would your code be any different?
-- Rob .
- Follow-Ups:
- Re: Auto-saving the registry
- From: Justin
- Re: Auto-saving the registry
- From: Nicholas Sherlock
- Re: Auto-saving the registry
- References:
- Auto-saving the registry
- From: Douglas J. Horton
- Auto-saving the registry
- Prev by Date: Re: Auto-saving the registry
- Next by Date: Re: Auto-saving the registry
- Previous by thread: Re: Auto-saving the registry
- Next by thread: Re: Auto-saving the registry
- Index(es):
Relevant Pages
|
|