After installing Visual Studio 2008 my first goal was it to create a Visual Studio AddIn that implements an interface with all variables, properties and methods. After everything was done (I am going to describe it in detail in my next post) I wanted to make a deployment package. At microsoft.com I found a really cool How To Deploy a vsPackage Video for Visual Studio 2005 that helps to understand the creation of a setup.

One important step is creating all the Registry-Settings. This is done using RegPkg.exe, which can be found in the SDK-Bin-Folder. Using it with the parameter “/root”, you can set the Registry-Path of your Visual Studio.

Here you have to be careful. If you include a final backslash (e.g. /root:SOFTWARE\Microsoft\VisualStudio\9.0\) RegPkg.exe generates a Reg-File with wrong pathvalues. You have to repair the Reg-File or generate a new one without backslash.