<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Enhanced Permissions Setting with Windows Installer 5.0</title><link>http://blogs.msdn.com/windows_installer_team/archive/2009/03/05/enhanced-permissions-setting-with-windows-installer-5-0.aspx</link><description>Setting appropriate permissions for an object is one of the core operations in creating an application installer. One of the most frequent pieces of feedback has been to provide enhanced capabilities around securing resources installed on the system.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Anith &amp;raquo; Enhanced Permissions Setting with Windows Installer 5.0</title><link>http://blogs.msdn.com/windows_installer_team/archive/2009/03/05/enhanced-permissions-setting-with-windows-installer-5-0.aspx#9459556</link><pubDate>Thu, 05 Mar 2009 13:27:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9459556</guid><dc:creator>Anith &amp;raquo; Enhanced Permissions Setting with Windows Installer 5.0</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.anith.com/?p=15649"&gt;http://www.anith.com/?p=15649&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Enhanced Permissions Setting with Windows Installer 5.0</title><link>http://blogs.msdn.com/windows_installer_team/archive/2009/03/05/enhanced-permissions-setting-with-windows-installer-5-0.aspx#9460598</link><pubDate>Thu, 05 Mar 2009 23:32:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9460598</guid><dc:creator>Dennis</dc:creator><description>&lt;p&gt;It would have been nice to have allowed for backwards compatibility rather than requiring multiple msis to be built...&lt;/p&gt;
</description></item><item><title>re: Enhanced Permissions Setting with Windows Installer 5.0</title><link>http://blogs.msdn.com/windows_installer_team/archive/2009/03/05/enhanced-permissions-setting-with-windows-installer-5-0.aspx#9463531</link><pubDate>Sat, 07 Mar 2009 01:16:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9463531</guid><dc:creator>Kalle Olavi Niemitalo</dc:creator><description>&lt;p&gt;To the Windows Installer Team:&lt;/p&gt;
&lt;p&gt;Is the table really correct? &amp;nbsp;If both tables are used on down-level platforms, I'd expect Windows Installer to ignore the MsiLockPermissionsEx table it doesn't recognize, and use the LockPermissions table present in the package. &amp;nbsp;However your table indicates that the default security settings are applied in this situation.&lt;/p&gt;
&lt;p&gt;To Dennis:&lt;/p&gt;
&lt;p&gt;In a package that must support pre-7 versions of Windows, do the desired ACLs depend on which version of Windows is being used? &amp;nbsp;If not, the solution seems simple: use LockPermissions if possible, and custom actions otherwise. &amp;nbsp;The package will then install the same way in multiple Windows versions and this does not require Windows Installer to support LockPermissions and MsiLockPermissionsEx in the same package.&lt;/p&gt;
&lt;p&gt;Where this breaks down though is merge modules. &amp;nbsp;Now if you're including into your package a merge module that contains the LockPermissions table, and you want to make the next version of the package require Windows 7 and use MsiLockPermissionsEx, you need to either get the vendor of the merge module to also switch to MsiLockPermissionsEx, or hack the tables locally and hope it works. &amp;nbsp;I don't know though; perhaps such a package would be expected to use a chainer instead of merge modules anyway.&lt;/p&gt;
</description></item><item><title>re: Enhanced Permissions Setting with Windows Installer 5.0</title><link>http://blogs.msdn.com/windows_installer_team/archive/2009/03/05/enhanced-permissions-setting-with-windows-installer-5-0.aspx#9467343</link><pubDate>Mon, 09 Mar 2009 08:05:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9467343</guid><dc:creator>Windows Installer Team</dc:creator><description>&lt;p&gt;Dear Kalle, yes you are right. If both tables are used on down-level platforms, then the security settings from LockPermissions table will be applied (and MsiLockPermissionsEx table will simply be ignored). This was a cut and paste mistake while authoring the blog post and has been corrected to reflect the expected behavior now. Thanks for pointing out this discrepancy.&lt;/p&gt;
</description></item></channel></rss>