Installer.Install(IDictionary stateSaver) : What dictionary type is expected?
<p>I am trying to call <a href="http://msdn.microsoft.com/en-us/library/system.configuration.install.installer.install.aspx" rel="nofollow">Installer.Install</a> manually:</p>

<pre><code>ProjectInstaller installer = new ProjectInstaller();
installer.Install(new Dictionary&lt;int, int&gt;());
</code></pre>

<p>Problem:</p>

<pre><code>System.ArgumentException was unhandled.
The value "_reserved_lastInstallerAttempted" is not of type "System.Int32"
and cannot be used in this generic collection.
       at System.ThrowHelper.ThrowWrongKeyTypeArgumentException(Object key, Type targetType)
       at System.Collections.Generic.Dictionary`2.System.Collections.IDictionary.Add(Object key, Object value)
       at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
       at CSShellExtContextMenuHandler.ProjectInstaller.Install(IDictionary stateSaver) in C:\Users\win7pro32bit\Documents\lab\CSShellExtContextMenuHandler\ProjectInstaller.cs:line 40
       at Starter.Program.Main(String[] args) in C:\Users\win7pro32bit\Documents\lab\Starter\Program.cs:line 14
</code></pre>

<p>As a parameter I tried <code>new Dictionary&lt;int, int&gt;</code>, <code>new Dictionary&lt;string, string&gt;</code>, and others, but none works. The <a href="http://msdn.microsoft.com/en-us/library/system.configuration.install.installer.install.aspx" rel="nofollow">documentation</a> does not help. What is expected?</p>
