<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Read Properties from an MSI File</title>
	<atom:link href="http://www.alteridem.net/2008/05/20/read-properties-from-an-msi-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alteridem.net/2008/05/20/read-properties-from-an-msi-file/</link>
	<description>Software by Design</description>
	<pubDate>Sat, 22 Nov 2008 05:33:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Hans Christian</title>
		<link>http://www.alteridem.net/2008/05/20/read-properties-from-an-msi-file/#comment-2343</link>
		<dc:creator>Hans Christian</dc:creator>
		<pubDate>Fri, 05 Sep 2008 14:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/?p=47#comment-2343</guid>
		<description>Thanks for the code, Robert!

But I too encountered the deletion problem. A colleague of mine searched and found the (somewhat unintuitive...) solution. Before returning from GetMsiProperty, do:

if (record != null)
{
System.Runtime.InteropServices.Marshal.FinalReleaseComObject(record);
}
view.Close();
System.Runtime.InteropServices.Marshal.FinalReleaseComObject(view);
System.Runtime.InteropServices.Marshal.FinalReleaseComObject(database);</description>
		<content:encoded><![CDATA[<p>Thanks for the code, Robert!</p>
<p>But I too encountered the deletion problem. A colleague of mine searched and found the (somewhat unintuitive&#8230;) solution. Before returning from GetMsiProperty, do:</p>
<p>if (record != null)<br />
{<br />
System.Runtime.InteropServices.Marshal.FinalReleaseComObject(record);<br />
}<br />
view.Close();<br />
System.Runtime.InteropServices.Marshal.FinalReleaseComObject(view);<br />
System.Runtime.InteropServices.Marshal.FinalReleaseComObject(database);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krystian Kapel</title>
		<link>http://www.alteridem.net/2008/05/20/read-properties-from-an-msi-file/#comment-2159</link>
		<dc:creator>Krystian Kapel</dc:creator>
		<pubDate>Fri, 01 Aug 2008 07:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.alteridem.net/?p=47#comment-2159</guid>
		<description>Hello
I've read your post on Alteridem Consulting Website about reading properties from an MSI file.
I use GetMsiProperty function to find out MSI file version, but I encouraged a problem while trying to delete file after I've checked it's version.
It seems like the file is still in use by GetMsiProperty  function. I tried to find some closing function but I didn't succeed.

Maybe you know something I forgot to do while reading Msi version?

I would appriciate any help.</description>
		<content:encoded><![CDATA[<p>Hello<br />
I&#8217;ve read your post on Alteridem Consulting Website about reading properties from an MSI file.<br />
I use GetMsiProperty function to find out MSI file version, but I encouraged a problem while trying to delete file after I&#8217;ve checked it&#8217;s version.<br />
It seems like the file is still in use by GetMsiProperty  function. I tried to find some closing function but I didn&#8217;t succeed.</p>
<p>Maybe you know something I forgot to do while reading Msi version?</p>
<p>I would appriciate any help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
