<?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>Why Custom Actions get a Windows Vista Version Lie on Windows 7</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx</link><description>Those of you who write application installers using Windows Installer may have noticed a bit of a change in the behavior of version checking in Windows 7 – if you happen to be doing your version checking from a custom action. Let’s have a look. If you</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Why Custom Actions get a Windows Vista Version Lie on Windows 7</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9832084</link><pubDate>Mon, 13 Jul 2009 21:36:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9832084</guid><dc:creator>Chris Jackson - MSFT</dc:creator><description>&lt;p&gt;@SEanS - I deal with software applicaiton compatibility, and don't have any information on the driver availability or support status of particular pieces of hardware. I am sorry I am unable to help. Have you contacted MSI?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9832084" width="1" height="1"&gt;</description></item><item><title>re: Why Custom Actions get a Windows Vista Version Lie on Windows 7</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9831670</link><pubDate>Mon, 13 Jul 2009 17:06:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9831670</guid><dc:creator>SEanS</dc:creator><description>&lt;p&gt;Another MSI k9a2 user with Multi MSI R4870 Cards all going to wast!&lt;/p&gt;
&lt;p&gt;? Do I have to go back to XP-64? or can it be resolved?&lt;/p&gt;
&lt;p&gt;Thanks in advance, SEanS.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9831670" width="1" height="1"&gt;</description></item><item><title>re: Why Custom Actions get a Windows Vista Version Lie on Windows 7</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9718547</link><pubDate>Wed, 10 Jun 2009 00:56:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9718547</guid><dc:creator>Chris Jackson - MSFT</dc:creator><description>&lt;p&gt;Robin - yes, you have to be running on Windows 7 to see the Windows 7 changes. Compatibility Administrator just provides a view into the database running on the local system. If you're running on Windows XP, you'll see what it has on it, which is different from what Windows 7 has on it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9718547" width="1" height="1"&gt;</description></item><item><title>Windows Installer doesn't appear for me in ACT 5.5.</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9714147</link><pubDate>Tue, 09 Jun 2009 11:32:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9714147</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;I was trying to follow along and Installed ACT 5.5, but Windows Installer doesn't appear in the Applications tree. The list jumps from Windows Help to Windows Media Player 7.&lt;/p&gt;
&lt;p&gt;Why might this be? Does it have to be installed on Vista or Windows 7 to appear (I'm running under XP). &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9714147" width="1" height="1"&gt;</description></item><item><title>re: Why Custom Actions get a Windows Vista Version Lie on Windows 7</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9635317</link><pubDate>Fri, 22 May 2009 18:45:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9635317</guid><dc:creator>Christopher Painter</dc:creator><description>&lt;p&gt;While MSI has LaunchConditions, it lacks LaunchWarnings as I've previously implemented and described in my blog.&lt;/p&gt;
&lt;p&gt;Basically I have on occasion put declarative logic in setup that warns users they are installing on an OS that wasn't available at the time of development and to take care in validating the application in a controlled environment prior to production release. &amp;nbsp;We also suggest that they contact us to see if a newer release is available (for sale).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9635317" width="1" height="1"&gt;</description></item><item><title>Windows 7 disguises as Vista to MSI Custom Actions</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9624978</link><pubDate>Mon, 18 May 2009 11:47:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9624978</guid><dc:creator>InstallSite Blog</dc:creator><description>&lt;p&gt;In every new version of Windows, Microsoft includes numerous “shims” to improve compatibility with existing&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9624978" width="1" height="1"&gt;</description></item><item><title>re: Why Custom Actions get a Windows Vista Version Lie on Windows 7</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9619368</link><pubDate>Fri, 15 May 2009 22:39:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9619368</guid><dc:creator>Danl65</dc:creator><description>&lt;p&gt;Thanks for the warning that GetVersionEx will not report back as Vista under Windows 7. &lt;/p&gt;
&lt;p&gt;I agree that this is the correct method for checking for the OS requirements within your installation package. However, I do disagree that this simplifies checking requirements because VersionNT values between Operating Systems can be the same. Thus you cannot rely ONLY on VersionNT values if you are trying to set conditions for installation or custom actions. &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/aa370556"&gt;http://msdn.microsoft.com/en-us/library/aa370556&lt;/a&gt;(VS.85).aspx&lt;/p&gt;
&lt;p&gt;The Operating System Properties indicates that unfortunately Vista and Server 2008 share the same VersionNT value. This means you have to additionally check to see if the MsiNTProductType = 1 (Server 2008) or 3 (Desktop a.k.a Vista).&lt;/p&gt;
&lt;p&gt;Further, if &amp;nbsp;your installation requirements include different service packs for various operating systems, then I can see the system checks being just as complex if not more complex as the OSVERSIONINFO structure example you gave Chris. &lt;/p&gt;
&lt;p&gt;For example, we must ensure that for Windows XP that SP3 is installed, however, for Vista, we must ensure that it has SP1 installed. Different SP requirements for different operating systems.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9619368" width="1" height="1"&gt;</description></item><item><title>re: Why Custom Actions get a Windows Vista Version Lie on Windows 7</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9619140</link><pubDate>Fri, 15 May 2009 21:44:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9619140</guid><dc:creator>Darwin</dc:creator><description>&lt;p&gt;ping back from: &lt;a rel="nofollow" target="_new" href="http://csi-windows.com/blog/all/27-csi-news-general/106-why-custom-actions-get-a-windows-vista-version-lie-on-windows-7"&gt;http://csi-windows.com/blog/all/27-csi-news-general/106-why-custom-actions-get-a-windows-vista-version-lie-on-windows-7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Chris,&lt;/p&gt;
&lt;p&gt;Thanks for the heads up on msiexec.exe shimming.&lt;/p&gt;
&lt;p&gt;Your readers should also note that the conditions you mention should be placed ON the custom actions in the appropriate sequence table - they should not attempt to read these properties WITHIN the custom action. &amp;nbsp;This is because deferred custom actions cannot see these properties because they are sandboxed. &amp;nbsp;I have to guess this is also why some software vendors end up coding the version check into their DLL. &amp;nbsp;A second reason is efficiency - if the condition is on the custom action, MSI never spins up the custom action because it leaves it out of the deferred script - installations run faster - better for everyone!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9619140" width="1" height="1"&gt;</description></item><item><title>re: Why Custom Actions get a Windows Vista Version Lie on Windows 7</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9592930</link><pubDate>Thu, 07 May 2009 09:16:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9592930</guid><dc:creator>ABC</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you provide me the blogs or forums link where I can get a genuine information on Win 7 features and the comaptibility.( I know this blog also discuss the same but is there any other sites)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9592930" width="1" height="1"&gt;</description></item><item><title>Anith &amp;raquo; Why Custom Actions get a Windows Vista Version Lie on Windows 7</title><link>http://blogs.msdn.com/b/cjacks/archive/2009/05/06/why-custom-actions-get-a-windows-vista-version-lie-on-windows-7.aspx#9592238</link><pubDate>Thu, 07 May 2009 01:19:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9592238</guid><dc:creator>Anith &amp;raquo; Why Custom Actions get a Windows Vista Version Lie on Windows 7</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.anith.com/?p=35480"&gt;http://www.anith.com/?p=35480&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9592238" width="1" height="1"&gt;</description></item></channel></rss>