Unable to write some keys to registry

  • Thread starter Thread starter Darren Hussey
  • Start date Start date
D

Darren Hussey

I have a strange problem. An install script writes to the
registry correctly on 90% of our machines. On the other
10%, it writes to a certain level, and then fails. Eg;
fine, but
anything below AppName isn't written, causing the app to
fail. These keys do not exist prior to the install, so
it's not an overwrite issue.

Any ideas why it would work on most, but not all?
 
In said:
I have a strange problem. An install script writes to the
registry correctly on 90% of our machines. On the other
10%, it writes to a certain level, and then fails. Eg;
fine, but
anything below AppName isn't written, causing the app to
fail. These keys do not exist prior to the install, so
it's not an overwrite issue.

Any ideas why it would work on most, but not all?

Post the .REG file.

It you are not including each new level specifically ...

REGEDIT4
[HKEY_CURRENT_USER\_TEST]
[HKEY_CURRENT_USER\_TEST\sub1]
[HKEY_CURRENT_USER\_TEST\sub1\sub2]
"TestValue"="FOO"

Or it could be a permissions issue perhaps. Have you checked the
ACLs on the last key that was sucessfully created?

Any actual error text or EventLog entry text?
 
In said:
I have a strange problem. An install script writes to the
registry correctly on 90% of our machines. On the other
10%, it writes to a certain level, and then fails. Eg;
fine, but
anything below AppName isn't written, causing the app to
fail. These keys do not exist prior to the install, so
it's not an overwrite issue.

Any ideas why it would work on most, but not all?

Post the .REG file.

It you are not including each new level specifically ...

REGEDIT4
[HKEY_CURRENT_USER\_TEST]
[HKEY_CURRENT_USER\_TEST\sub1]
[HKEY_CURRENT_USER\_TEST\sub1\sub2]
"TestValue"="FOO"

Or it could be a permissions issue perhaps. Have you checked the
ACLs on the last key that was sucessfully created?

Any actual error text or EventLog entry text?
 
Back
Top