No more setup project template in Microsoft Visual Studio 2011, Microsoft all in on marketplace?

  I can’t find setup project templates in the Microsoft Visual Studio 2011 developer preview and Microsoft says the following on the Visual Studio Setup project templates:   Future versions of Visual Studio will not include the Visual Studio Installer project templates. To preserve existing customer investments in Visual Studio …

Extract contents of msi packages in C#

If you want to extract the contents of a msi package to filesystem, you can use the following C# function:   public void ExtractMsiPackage() {    string parameters = string.Empty; parameters = string.Format(@"/a {0} /qb TARGETDIR=""{1}"" REINSTALLMODE=amus", "C:\Temp\Test.msi", "C:\Temp\Extract"); Process process = Process.Start("msiexec", parameters); process.WaitForExit(); } /a = Administrative mode /qb …

Microsoft SQL Server 2008 R2 setup starts, when you build a Visual Studio 2010 setup project

When you build a Microsoft Visual Studio 2010 setup project a Microsoft SQL Server 2008 R2 setup might start. To solve this problem on a x64 system: regsvr32.exe /u "C:\Program Files (x86)\Common Files\microsoft shared\MSI Tools\mergemod.dll" regsvr32.exe "C:\Program Files (x86)\Common Files\microsoft shared\MSI Tools\mergemod.dll" on a x86 system regsvr32.exe /u "C:\Program Files\Common …

Remove item from Programs and Features list in Windows 7

If the uninstallation of an program fails, the item will not be removed from the “Programs and Features” list on the Control Panel in Windows 7. To remove the item, remove the item from the registry key: Windows 7 x64 HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall   Windows 7 x86 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall   Note Removing the …