Re: [WiX-users] Registry permission for key and subkeys
Ok, I opened bug 3029343 for the issue. Andreas Hirth > -Original Message- > From: Bob Arnson [mailto:b...@joyofsetup.com] > Sent: Saturday, July 10, 2010 5:01 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Registry permission for key and subkeys > > On 7/9/2010 12:23 PM, Andreas Hirth wrote: > > thanks for pointing that out. Obviously with this information I could fix > > the behavior by patching the WiX sources and building my own binaries. But > > looking at the current head of the 3.5 development I see the same code there > > as in 3.0. So I guess it is not planned to change the behavior. > > Or nobody entered a bug so the WiX team doesn't know about it. > > -- > sig://boB > http://joyofsetup.com/ > > > -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registry permission for key and subkeys
Hmm... that's a point. I will see if I manage to open a bug for that. Andreas Hirth > -Original Message- > From: Bob Arnson [mailto:b...@joyofsetup.com] > Sent: Saturday, July 10, 2010 5:01 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Registry permission for key and subkeys > > On 7/9/2010 12:23 PM, Andreas Hirth wrote: > > thanks for pointing that out. Obviously with this information I could fix > > the behavior by patching the WiX sources and building my own binaries. But > > looking at the current head of the 3.5 development I see the same code there > > as in 3.0. So I guess it is not planned to change the behavior. > > Or nobody entered a bug so the WiX team doesn't know about it. > > -- > sig://boB > http://joyofsetup.com/ > > > -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registry permission for key and subkeys
On 7/9/2010 12:23 PM, Andreas Hirth wrote: > thanks for pointing that out. Obviously with this information I could fix > the behavior by patching the WiX sources and building my own binaries. But > looking at the current head of the 3.5 development I see the same code there > as in 3.0. So I guess it is not planned to change the behavior. Or nobody entered a bug so the WiX team doesn't know about it. -- sig://boB http://joyofsetup.com/ -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registry permission for key and subkeys
Peter -- thanks for pointing that out. Obviously with this information I could fix the behavior by patching the WiX sources and building my own binaries. But looking at the current head of the 3.5 development I see the same code there as in 3.0. So I guess it is not planned to change the behavior. This would mean that I had to patch and rebuild with every new WiX release I want to use. I don't think that's what I want to do. So I will go with a CustomAction. Thanks again! Andreas Hirth > -Original Message- > From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] > Sent: Friday, July 09, 2010 3:42 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Registry permission for key and subkeys > > Sadly, you cant do it. Yan found the specific bit of code that causes > this problem so if you are prepared to recompile wix yourself, you could > make the fix. > > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registry-P > ermissions-td2939332.html#a2939332 > > -Original Message- > From: Andreas Hirth [mailto:a.hi...@luratech.com] > Sent: 09 July 2010 13:24 > To: 'General discussion for Windows Installer XML toolset.' > Subject: Re: [WiX-users] Registry permission for key and subkeys > > That's exactly the problem. The permission must be inherited to keys > created later by the application. > > I already have the code to put in a custom action but I try to use > built-in functionality as much as possible. So I would prefer if there > was a way to do it "natively" with Windows Installer or WiX. > > Andreas Hirth > > > > -Original Message- > > From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] > > Sent: Friday, July 09, 2010 1:34 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Registry permission for key and subkeys > > > > My colleague had this same problem. > > If you have a limited number of keys that are known at install time, > > you can add them all explicitly and set permissions on them. > > Since we wanted the permissions to cascade down to keys created by the > > > application and we were short of time, we used wix's qtexec custom > > action to run an open source utility called SetACL. > > http://setacl.sourceforge.net/ > > > > > > > > -Original Message- > > From: Andreas Hirth [mailto:a.hi...@luratech.com] > > Sent: 09 July 2010 09:47 > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] Registry permission for key and subkeys > > > > Hi all, > > > > I'm struggling with the task to apply security settings to a registry > > key. > > What I want to achieve is setting full access to Everyone for a > > registry key, and I want this being inherited. Unfortunately I only > > get as far as setting the full access right for Everyone on the key, > > but it applies "This key only": > > > > > > > > > > > > However, I need it to apply to "This key and subkeys". > > > > Is there any way to get this working other than a custom CustomAction? > > > > Any advise is much appreciated! > > > > Andreas Hirth > > > > > > > > -- > > -- > > -- > > This SF.net email is sponsored by Sprint What will you do first with > > EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > http://www.sdl.com";> > src="http://www.sdl.com/images/email > > logo_150dpi-01.png" alt="www.sdl.com" border="0"/> > face="arial" size="2" ">http://www.sdl.com"; > > style="color:005740; font-weight: bold">www.sdl.com > > SDL PLC confidential, > > > all rights reserved. If you are not the intended recipient of this > > > mail SDL requests and > requires > > that you delete it without acting upon or copying any of its contents, > > > and > we > > further request that you advise us. SDL PLC is a public limited > > company registered in England and Wales. > > Registered number: 02675207. > > Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire > > > SL6 > 7DY, > > UK. > >
Re: [WiX-users] Registry permission for key and subkeys
Sadly, you cant do it. Yan found the specific bit of code that causes this problem so if you are prepared to recompile wix yourself, you could make the fix. http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registry-P ermissions-td2939332.html#a2939332 -Original Message- From: Andreas Hirth [mailto:a.hi...@luratech.com] Sent: 09 July 2010 13:24 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Registry permission for key and subkeys That's exactly the problem. The permission must be inherited to keys created later by the application. I already have the code to put in a custom action but I try to use built-in functionality as much as possible. So I would prefer if there was a way to do it "natively" with Windows Installer or WiX. Andreas Hirth > -Original Message- > From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] > Sent: Friday, July 09, 2010 1:34 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Registry permission for key and subkeys > > My colleague had this same problem. > If you have a limited number of keys that are known at install time, > you can add them all explicitly and set permissions on them. > Since we wanted the permissions to cascade down to keys created by the > application and we were short of time, we used wix's qtexec custom > action to run an open source utility called SetACL. > http://setacl.sourceforge.net/ > > > > -Original Message- > From: Andreas Hirth [mailto:a.hi...@luratech.com] > Sent: 09 July 2010 09:47 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Registry permission for key and subkeys > > Hi all, > > I'm struggling with the task to apply security settings to a registry > key. > What I want to achieve is setting full access to Everyone for a > registry key, and I want this being inherited. Unfortunately I only > get as far as setting the full access right for Everyone on the key, > but it applies "This key only": > > > > > > However, I need it to apply to "This key and subkeys". > > Is there any way to get this working other than a custom CustomAction? > > Any advise is much appreciated! > > Andreas Hirth > > > > -- > -- > -- > This SF.net email is sponsored by Sprint What will you do first with > EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > http://www.sdl.com";> src="http://www.sdl.com/images/email > logo_150dpi-01.png" alt="www.sdl.com" border="0"/> face="arial" size="2" ">http://www.sdl.com"; > style="color:005740; font-weight: bold">www.sdl.com > SDL PLC confidential, > all rights reserved. If you are not the intended recipient of this > mail SDL requests and requires > that you delete it without acting upon or copying any of its contents, > and we > further request that you advise us. SDL PLC is a public limited > company registered in England and Wales. > Registered number: 02675207. > Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire > SL6 7DY, > UK. > > > > > -- > This SF.net email is sponsored by Sprint What will you do first with > EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registry permission for key and subkeys
That's exactly the problem. The permission must be inherited to keys created later by the application. I already have the code to put in a custom action but I try to use built-in functionality as much as possible. So I would prefer if there was a way to do it "natively" with Windows Installer or WiX. Andreas Hirth > -Original Message- > From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] > Sent: Friday, July 09, 2010 1:34 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Registry permission for key and subkeys > > My colleague had this same problem. > If you have a limited number of keys that are known at install time, you > can add them all explicitly and set permissions on them. > Since we wanted the permissions to cascade down to keys created by the > application and we were short of time, we used wix's qtexec custom > action to run an open source utility called SetACL. > http://setacl.sourceforge.net/ > > > > -Original Message- > From: Andreas Hirth [mailto:a.hi...@luratech.com] > Sent: 09 July 2010 09:47 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Registry permission for key and subkeys > > Hi all, > > I'm struggling with the task to apply security settings to a registry > key. > What I want to achieve is setting full access to Everyone for a registry > key, and I want this being inherited. Unfortunately I only get as far as > setting the full access right for Everyone on the key, but it applies > "This key only": > > > > > However, I need it to apply to "This key and subkeys". > > Is there any way to get this working other than a custom CustomAction? > > Any advise is much appreciated! > > Andreas Hirth > > > > > -- > This SF.net email is sponsored by Sprint What will you do first with > EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > http://www.sdl.com";>http://www.sdl.com/images/email > logo_150dpi-01.png" alt="www.sdl.com" border="0"/> > > http://www.sdl.com"; > style="color:005740; font-weight: bold">www.sdl.com > > > > SDL PLC confidential, all rights reserved. > If you are not the intended recipient of this mail SDL requests and requires > that you delete it without acting upon or copying any of its contents, and we > further request that you advise us. > SDL PLC is a public limited company registered in England and Wales. > Registered number: 02675207. > Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, > UK. > > > > > -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Registry permission for key and subkeys
My colleague had this same problem. If you have a limited number of keys that are known at install time, you can add them all explicitly and set permissions on them. Since we wanted the permissions to cascade down to keys created by the application and we were short of time, we used wix's qtexec custom action to run an open source utility called SetACL. http://setacl.sourceforge.net/ -Original Message- From: Andreas Hirth [mailto:a.hi...@luratech.com] Sent: 09 July 2010 09:47 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Registry permission for key and subkeys Hi all, I'm struggling with the task to apply security settings to a registry key. What I want to achieve is setting full access to Everyone for a registry key, and I want this being inherited. Unfortunately I only get as far as setting the full access right for Everyone on the key, but it applies "This key only": However, I need it to apply to "This key and subkeys". Is there any way to get this working other than a custom CustomAction? Any advise is much appreciated! Andreas Hirth -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users http://www.sdl.com";>http://www.sdl.com/images/email logo_150dpi-01.png" alt="www.sdl.com" border="0"/> http://www.sdl.com"; style="color:005740; font-weight: bold">www.sdl.com SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Registry permission for key and subkeys
Hi all, I'm struggling with the task to apply security settings to a registry key. What I want to achieve is setting full access to Everyone for a registry key, and I want this being inherited. Unfortunately I only get as far as setting the full access right for Everyone on the key, but it applies "This key only": However, I need it to apply to "This key and subkeys". Is there any way to get this working other than a custom CustomAction? Any advise is much appreciated! Andreas Hirth -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users