Rob,

Thanks.  That helps.  I have a related question…

I want to set permission on an existing file.  Using the property as the directory ID I can easily get to the directory but it is unclear to me how to use the <File> element (or if I should) to specify as existing file.  Since I want to use the <Permission> element I assume it would be a child of a <File> element. I just can’t figure out which attributes are needed (for the file element).

 

__________

Doug Watts

 


From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 19, 2006 2:06 PM
To: Douglas Watts; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Directory ID and Path Question

 

Yeah:  http://blogs.msdn.com/robmen/archive/2006/10/17/deciphering-the-msi-directory-table-part-7-directories-are-properties.aspx

 

I think part 8 (or maybe part 9) will have an example that does just this.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Watts
Sent: Thursday, October 19, 2006 10:55 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Directory ID and Path Question

 

Let’s say that I read a path from the registry.  The absolute path is read into a property.  I want to set permissions on a specific file in that directory.

Can I use the property (whose value I read from the registry) as the ID of a Directory element?

 

__________

Doug Watts

 

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