Unable to write some keys to registry

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?
 
M

Mark V

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?
 
M

Mark V

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top