PDA

View Full Version : Registry permissions



Dark-Jedi
08-24-2007, 04:45 AM
Hello,
When i try to install my msi file, i have a problem with permission in registry, it tell me, the key cant be written.

My server is not include in a domain, just only workgroup and i use administrator account to install it.
I try to set the permissions with administrators account without success.

Any idea ? im bit lost...

Thanx
AB.

HennoKeers
08-27-2007, 06:55 AM
Hello,
When i try to install my msi file, i have a problem with permission in registry, it tell me, the key cant be written.

My server is not include in a domain, just only workgroup and i use administrator account to install it.
I try to set the permissions with administrators account without success.

Any idea ? im bit lost...

Thanx
AB.

Try "Administrators" instead of french.. :D

Regards, Henno

Dark-Jedi
08-30-2007, 02:39 AM
Try "Administrators" instead of french.. :D

Regards, Henno

Another more intelligent answer and constructive?
I have tried a lot of account (eng & FR), i have always same message.

Tony_Toni_Tone
08-31-2007, 05:36 PM
Check the component that has the lockpermissions isnt orphaned, Look for a component with red exclamation mark !

Cary R
08-31-2007, 07:36 PM
Another more intelligent answer and constructive?
I have tried a lot of account (eng & FR), i have always same message.

It doesn't sound like Henno's suggestion is the problem, but to be fair, it was actually quite a good one.

From the LockPermissions documentation:

http://msdn2.microsoft.com/en-us/library/aa369774.aspx

"The common user names "Everyone" and "Administrators" may be entered in English and are mapped to well-known SIDs."

Nicolasb
09-18-2007, 07:56 AM
I have the same problem. I want to create a key under HKLM, I set the permission to "Everyone", the components isn't orphaned, the required execution level for the release is set to Administrator and I still get the same error message with error... I'm in a basic MSI with InstallShield2008.

Any idea ?

Nicolasb
09-20-2007, 10:13 AM
Ho! I just found why I had this error message.. A bad mistake, that was my fault. Error code 18 as we say here!!

HennoKeers
09-21-2007, 03:14 PM
It doesn't sound like Henno's suggestion is the problem, but to be fair, it was actually quite a good one.

From the LockPermissions documentation:

http://msdn2.microsoft.com/en-us/library/aa369774.aspx

"The common user names "Everyone" and "Administrators" may be entered in English and are mapped to well-known SIDs."

That's what I meant ... :o
I have to leave my dutch behind when doing things in the editor...

reg, Henno

HennoKeers
09-21-2007, 03:19 PM
Another more intelligent answer and constructive?
I have tried a lot of account (eng & FR), i have always same message.

I would suggest dumping the permission table method, at work we find it to cumbersome and errorprone and hard to change afterwards, when the package is distributed.
We use GPO's to grant permissions, did you thought about that option?

reg, Henno