Re: delreg section in INF not truly deleting registry entry
- From: "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx>
- Date: Fri, 12 Oct 2007 02:25:47 +0400
Maybe regedit blocks the attempts of other processes to delete its
current-under-cursor key?
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
"Bill McKenzie" <bkmckenzie@xxxxxxxxxxxxx> wrote in message
news:ehfQ5%23EDIHA.5044@xxxxxxxxxxxxxxxxxxxxxxx
I have a heisenbug I could use help on.
I have service that creates several registry keys. The service has an
associated INF file which has a DefaultUninstall section which is called by
our product's installer when removing the service. The DefaultUninstall
section calls out a delreg section which deletes about 20 keys from the
registry. All but one of these keys gets deleted correctly.
Now for the heisenberg portion of the bug. The installer prompts the user
for a reboot at then end of the removal process. If I pull up regedit
before saying yes to the reboot, the key in question is indeed not in the
registry any longer and is not when the system comes back from reboot. If I
do not pull up regedit and just reboot, the key is still present when the
system comes back from reboot. Obviously, regedit is causing the change to
be permanent in some way.
Is there some lazy write problem here? Is there a way from the INF I can
flush or commit the reg changes?
Thanks.
Bill M.
.
- Follow-Ups:
- Re: delreg section in INF not truly deleting registry entry
- From: Norman Diamond
- Re: delreg section in INF not truly deleting registry entry
- References:
- delreg section in INF not truly deleting registry entry
- From: Bill McKenzie
- delreg section in INF not truly deleting registry entry
- Prev by Date: delreg section in INF not truly deleting registry entry
- Next by Date: Re: Verifier doesn't catch IRQL violation
- Previous by thread: delreg section in INF not truly deleting registry entry
- Next by thread: Re: delreg section in INF not truly deleting registry entry
- Index(es):
Relevant Pages
|
Loading