Perfect, works great now.  Thanks a lot.

 

One difference was that I had to add the Domain='[ComputerName]' attribute.  The ‘Permission’ element was able to find the user without it but ‘PermissionEx’ could not. 

 

So this is what finally worked for me:

 

<Directory Id ="logs" Name="logs">

            <Component Id="logs"  DiskId="1" Guid="9496769F-B9DF-4113-AB79-43794753D1D1">                                                                                                              <CreateFolder Directory="logs">

                                    <util:PermissionEx GenericAll="yes" User="ASPNET" Domain='[ComputerName]'/>

                        </CreateFolder>

                        <RemoveFile Id='WebLogFile' On='uninstall' Name ='*.log' />

            </Component>

</Directory>

 

With xmlns:util='http://schemas.microsoft.com/wix/UtilExtension'

 

Thanks again for all your help

Robson

 


From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Friday, November 03, 2006 9:41 AM
To: Robson King
Cc: John Watson; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using the Permission element in Wix 3

 

Robson King wrote:

But adding the Extended="yes" would still fail:

 

The util:PermissionEx element contains an unexpected attribute 'Extended'.


Just drop the Extended attribute. It was needed in WiX v2 to indicate that the extension and custom action were needed. In WiX v3, the extension is explicit with its own namespace.


-- 
sig://boB
http://bobs.org




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to