Yan Sklyarenko wrote:
> Hello WiX community,
> 
> This is a pure MSI question. 
> I'd like to insert a row into the Directory table, which corresponds to
> the root of disk drive, for instance, D:\. But, neither "D:\", nor "D:"
> works in DefaultDir column...
> 
> Is this at all possible? If so, then how?
> 
> I need this because my application requires certain security rights to
> be set for all ancestors of the installation directory up to the disk
> drive root inclusive. And I wish to use SecureObjects for this,
> populating necessary information with a custom action.

That's probably not a good idea!

What about if the application is installed on a remote server? What
about if the D:\ is a mapping of a remote directory? What about if the
installation directory is a mount point of a different drive so "parent"
drive is not installation drive?

I have no problems with applications setting special permissions for
their own directory. It is not uncommon for something like a database
service. But you generally do not want to ever change permissions of
parent paths from the installation directory.

I would argue the application needs revision because as-is, it's broken.

- Adam

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to