I am trying to use Wix from inside of Votive.  So I don’t think that there is anywhere where I can specify a link to wixca.wixlib? 

 

I read something that the WiX SecureObject was included in the WixUtilExtension.  So I included a reference to WixUtilExtension and added xmlns:util='http://schemas.microsoft.com/wix/UtilExtension' to the top of my wxs file.  And then I was able to compile:

 

<CreateFolder Directory="logs">

            <util:PermissionEx GenericAll="yes" User="ASPNET"/>

</CreateFolder>

 

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

 

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

 

Is there way to get votive to include wixca.wixlib, or are the pieces I need included in a different extention that I can reference? 

 

Thanks for the quick reply,

 

Robson

 


From: John Watson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 01, 2006 11:31 AM
To: Robson King
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using the Permission element in Wix 3

 

Hi Robson,

 

Did you add a link to wixca.wixlib in your light command? It's not glaringly obvious from the docs here (buried in discussion of a single attribute) but without Extended="yes" WiX will just write the entries to the LockPermissions MSI table and be done with it. If you specify Extended="yes" then it will use a standard custom action from wixca.wixlib to handle the setting of the permissions. Check to see if you've included wixca.wixlib on your linking (light) command line.

 

On 11/1/06, Robson King <[EMAIL PROTECTED]> wrote:

So I am trying to set the folder permissions to allow my webservice to write entries to the log file.

 

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

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

                     < Permission User= "ASPNET" Extended ="yes"/>

              </ CreateFolder>

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

       </ Component>

</ Directory>

 

This works fine but it colbers the existing permissions of the folder.  So after some diging I found some posts that said I should set the property  Extended="yes".  But this does not seem to be available any more.

 

Error: The Permission element contains an unexpected attribute 'Extended'.        

 

Where am I going wrong?

 

Thanks,

Robson

 

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