Re: [WiX-users] Inherit permissions on a folder in WiX 3

2010-07-06 Thread Elfe Xu

Emmm... Just took a look at the WixUtilExtension code, and find it's really
complex and is hard for me to modify in short time.
I will write my own CustomAction instead.

More questions:
(1) where would you put this CA? After CreateFolder of course. It must has
the virtual account, so will after install service. Are there any other
dependences?
(2) should I leverage the PermissionEx's ability, to have it do what it can
do, and add the CA for those it cannot do; or should I just use CA to do all
the granting permission stuff? If the first case, what the execute sequence
should be?
(3) I'm assigning permissions to folder/reigstrykey created by the
installer. Seems to me there is no need of corresponding CAs for
uninstalling/rollback? Since the folder/key will be deleted anyway.

Thanks,
-Elfe
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Inherit-permissions-on-a-folder-in-WiX-3-tp707219p5260679.html
Sent from the wix-users mailing list archive at Nabble.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] Inherit permissions on a folder in WiX 3

2010-07-05 Thread Elfe Xu

Then how to make the permission not inheritable?
I have to use PermissionEx because I'm using virtual account of a service
which is added during installation, so the granting permission action has to
be executed after install service.

Thanks,
-Elfe
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Inherit-permissions-on-a-folder-in-WiX-3-tp707219p5254988.html
Sent from the wix-users mailing list archive at Nabble.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] Inherit permissions on a folder in WiX 3

2010-07-05 Thread Blair
You will need a modified version of (a subset of) WixUtilExtension.

-Original Message-
From: Elfe Xu [mailto:elf...@microsoft.com] 
Sent: Sunday, July 04, 2010 11:17 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Inherit permissions on a folder in WiX 3


Then how to make the permission not inheritable?
I have to use PermissionEx because I'm using virtual account of a service
which is added during installation, so the granting permission action has to
be executed after install service.

Thanks,
-Elfe
-- 
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Inherit-permis
sions-on-a-folder-in-WiX-3-tp707219p5254988.html
Sent from the wix-users mailing list archive at Nabble.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] Inherit permissions on a folder in WiX 3

2007-12-19 Thread Maxim Vyazovsky
any updates? ; )

On Dec 18, 2007 2:09 PM, Maxim Vyazovsky [EMAIL PROTECTED] wrote:

 Hi all,
 does wix3 support permissions inheritting or it's only the feature of wix
 2 (Extend=yes)?
 If anybody know how to inherit permission in wix 3, please share the
 solution.
 i searched in maillists but found nothing about wix3.
 --
 Thanks,
 Max




-- 
Thanks,
Max
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Inherit permissions on a folder in WiX 3

2007-12-19 Thread Strele Franz
The Permission Extended=yes ... from WiX v2 has been replaced by the
PermissionEx element in WiX v3. Have a look in the Wix.chm for all the
details.

Hth,
Franz



Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Maxim
Vyazovsky
Gesendet: Mittwoch, 19. Dezember 2007 13:33
An: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Inherit permissions on a folder in WiX 3

any updates? ; )
On Dec 18, 2007 2:09 PM, Maxim Vyazovsky [EMAIL PROTECTED] wrote:
Hi all,
does wix3 support permissions inheritting or it's only the feature of
wix 2 (Extend=yes)? 
If anybody know how to inherit permission in wix 3, please share the
solution.
i searched in maillists but found nothing about wix3.
-- 
Thanks,
Max 



-- 
Thanks,
Max 

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Inherit permissions on a folder in WiX 3

2007-12-19 Thread Maxim Vyazovsky
thank you Franz,

but I comapared these elements, and found only next differences:


ServiceChangeConfig
 ServiceEnumerateDependents ServiceInterrogate ServicePauseContinue
ServiceQueryConfig ServiceQueryStatus ServiceStart ServiceStop
ServiceUserDefinedControl

but it's nothing about inheritting.
or this element by default inherit permissions?

and one more question - what equal attribute in Permission or PermissionEx
elements for Modify permission ?

-- 
Thanks,
Max
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Inherit permissions on a folder in WiX 3

2007-12-19 Thread Strele Franz
My understanding is that PermissionEx is inheriting by default.

For Modify I would use following attributes:

Execute (or Traverse)
Read
ReadAttributes
ReadExtendedAttributes
CreateFile
CreateChild
WriteAttributes
WriteExtendedAttributes
Delete
ReadPermissions


Hth,
Franz



Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Maxim Vyazovsky
Gesendet: Mittwoch, 19. Dezember 2007 14:13
An: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Inherit permissions on a folder in WiX 3

thank you Franz,
 
but I comapared these elements, and found only next differences:
 
ServiceChangeConfig
ServiceEnumerateDependents
ServiceInterrogate
ServicePauseContinue
ServiceQueryConfig
ServiceQueryStatus
ServiceStart
ServiceStop
ServiceUserDefinedControl
 
but it's nothing about inheritting.
or this element by default inherit permissions?
 
and one more question - what equal attribute in Permission or PermissionEx 
elements for Modify permission ?

-- 
Thanks,
Max 

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Inherit permissions on a folder in WiX 3

2007-12-18 Thread Maxim Vyazovsky
Hi all,
does wix3 support permissions inheritting or it's only the feature of wix 2
(Extend=yes)?
If anybody know how to inherit permission in wix 3, please share the
solution.
i searched in maillists but found nothing about wix3.
-- 
Thanks,
Max
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Inherit permissions on a folder in WiX 3

2007-12-18 Thread Maxim Vyazovsky
Hi all,
does wix3 support permissions inheritting or it's only the feature of wix 2
(Extend=yes)?
If anybody know how to inherit permission in wix 3, please share the
solution.
i searched in maillists but found nothing about wix3.
-- 
Thanks,
Max
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users