<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/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>VS Web Deployment Projects</title><link>http://forums.asp.net/1020.aspx</link><description>General discussions of VS Web Deployment Projects</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: How to detect IIS6 metabase option in launch condition on Vista and Server 2008?</title><link>http://forums.asp.net/thread/3227980.aspx</link><pubDate>Fri, 12 Jun 2009 09:27:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3227980</guid><dc:creator>permb</dc:creator><author>permb</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3227980.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1020&amp;PostID=3227980</wfw:commentRss><description>&lt;p&gt;Yes I guess I could to that but it would make the project more complex since the target platform is a project setting and not an output setting - essentially forcing me to have two projects (32 and 64-bit) to have to sync (unless there is a secret command line version of the .vdproj engine that allows target platform as a command line parameter).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;That MS chose to make it impossible to read the 64-bit registry from a 32-bit process is beyond me.&lt;/p&gt;&lt;p&gt;I think I&amp;#39;ll continue to solve this by large letters in the installation manual.&lt;/p&gt;&lt;p&gt;BTW does anyone know exactly what components the Web installation projects require? My application runs happily without them - it is just the installer itself that hasn&amp;#39;t been updated to work properly with Vista and W2K8. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;/P &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to detect IIS6 metabase option in launch condition on Vista and Server 2008?</title><link>http://forums.asp.net/thread/3227131.aspx</link><pubDate>Fri, 12 Jun 2009 02:33:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3227131</guid><dc:creator>Nowall</dc:creator><author>Nowall</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3227131.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1020&amp;PostID=3227131</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You can compile your Web setup project in two versions, one for 32bit and the other for 64bit. So you can check register separately.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to detect IIS6 metabase option in launch condition on Vista and Server 2008?</title><link>http://forums.asp.net/thread/3225012.aspx</link><pubDate>Thu, 11 Jun 2009 08:58:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3225012</guid><dc:creator>permb</dc:creator><author>permb</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3225012.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1020&amp;PostID=3225012</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I did some investigation on a Vista64 machine and since setup.exe is 32-bit this cannot be made to work...&lt;/p&gt;&lt;p&gt;The Components key is in the 64-bit version of HKLM\Software and as far as I can tell there is no way to read that data without low-level registry calls. The Launch condition available in Visual Studio would be impossible to write so that it can handle both 32 and 64-bit OS&amp;#39;s.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;See the comment on the following article:&lt;/p&gt;&lt;p&gt;http://msdn.microsoft.com/en-us/library/ms724072(VS.85).aspx &lt;/p&gt;&lt;p&gt;excerpt: &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note: &lt;/b&gt;When using the registry API (e.g., RegOpenKeyEx and
RegEnumKeyEx) in a 32-bit application, Wow6432Node acts like a symbolic
link that loops back to the same 32-bit hive. It does not map into the
64-bit hive as you might think.&lt;br /&gt;&lt;br /&gt;For example, walking the
registry tree down to HKLM\Software\Wow6432Node in a 32-bit application
loops back to HKLM\Software. The result is infinite recursion:
HKLM\Software\Wow6432Node\Wow6432Node\Wow6432Node\..., etc.&lt;br /&gt;&lt;br /&gt;If
you want to view the 64-bit registry hive in 32-bit code you must open
HKLM\Software using KEY_WOW64_64KEY. Do not try to open Wow6432Node; it
will not work.&lt;br /&gt;&lt;br /&gt;As a general rule you should ignore any result
from RegEnumKeyEx that returns &amp;quot;Wow6432Node&amp;quot;. It is a magic name that
triggers special behavior by the registry API. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;d be happy to be proven wrong &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to detect IIS6 metabase option in launch condition on Vista and Server 2008?</title><link>http://forums.asp.net/thread/3224793.aspx</link><pubDate>Thu, 11 Jun 2009 07:14:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3224793</guid><dc:creator>Thomas Sun – MSFT</dc:creator><author>Thomas Sun – MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3224793.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1020&amp;PostID=3224793</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you want to check whether the component of IIS 7 is installed on target machine, you can use &amp;quot;Search Target Machine&amp;quot; with Register search and then use &amp;quot;Launch Conditions&amp;quot; to determine whether install application.&lt;/p&gt;
&lt;p&gt;Because IIS 7 will publish registry keys that show whether any given IIS module has been installed. &lt;/p&gt;
&lt;p&gt;For more information, see &lt;a href="http://learn.iis.net/page.aspx/135/discover-installed-components/"&gt;http://learn.iis.net/page.aspx/135/discover-installed-components/&lt;/a&gt;&amp;nbsp;(Section: IIS 6 Management Compatibility).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I look forward to receiving your test results. &lt;/p&gt;</description></item><item><title>How to detect IIS6 metabase option in launch condition on Vista and Server 2008?</title><link>http://forums.asp.net/thread/3216870.aspx</link><pubDate>Mon, 08 Jun 2009 06:06:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3216870</guid><dc:creator>permb</dc:creator><author>permb</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3216870.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1020&amp;PostID=3216870</wfw:commentRss><description>&lt;p&gt;The web deployment projects developed in VS2008 seem to require some of the IIS6 compatibility options to be installed, e.g. the IIS6 metabase compatibility.&lt;/p&gt;&lt;p&gt;Since the error message is less than clear, I was wondering if anyone knows how to detect this items in a launch condition.&lt;/p&gt;&lt;p&gt;And no, switching to WiX or InstallShield (yuck) is not an option although the lack of progress in the VS deployment projects is forcing me that way I guess... &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thx,&lt;/p&gt;&lt;p&gt;Per &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>