Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strong>Short Answer</strong>: If you want a single installer that targets/registers with 2005, 2008, &amp; 2010, the choice is quite simple actually. You should create a MSI-based installer and register to HKLM\Software\Microsoft\VisualStudio\(8.0|9.0|10.0).</p> <p><strong>Explanation</strong>: For the MSI/VSIX question...remember that VSIX is new for 2010. A machine with VS 2005/2008 won't know what to do with a VSIX file.</p> <p>A side note on VSIX....you shouldn't ever put a VSIX file (i.e. the zip container) inside a MSI. If you want a MSI-based extension that also appears in the Extension Manager dialog, you should include a &lt;InstalledByMSI&gt; tag in your extension.vsixmanifest file, and lay down the <em>files already expanded</em> under &lt;VisualStudio2010InstallDir&gt;\Common7\IDE\Extensions\&lt;YourExtensionDirectory&gt;.</p> <p>As far as registration goes...you have a few things incorrect in your question. For both 2005 and 2008, installers that register packages with Visual Studio should always register under HKEY_LOCAL_MACHINE. (PKgdef in 2008 was <em>only</em> for "Isolated Shell" based applications.) Laying down a pkgdef file is now a supported option <em>in addition to</em> the registry in Visual Studio 2010.</p> <p>RegPkg is a utility included in the Visual Studio SDK for 2005/2008/2010 that reflects over your package assembly and outputs the appropriate registration information in several different formats. It's meant to be used at development/build time to generate your registration information and shouldn't be used as part of an installer.</p> <p>CreatePkgDef.exe is a tool in 2010 that is essentially the same as RegPkg.exe, but it <strong>only</strong> outputs pkgdef files.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload