Mohan S

Mohan S

  • NA
  • 34
  • 39k

Issues with Microsoft.Deployment.WindowsInstaller Namespace

May 24 2014 2:19 PM
Hello Guys,
Am facing an issue with namespace regarding WindowsInstaller
My code is to Read a MSI file and to write, other operations etc.
OS: Windows 7, 64 BIT
VS: VS2013
(I have WiX Toolset v3.8 installed on my machine, which will assist in windows installer funstions)
My Code starts like this:
using System;
using System.Linq;
using WindowsInstaller;
using Microsoft.Deployment.WindowsInstaller;
using Microsoft.Deployment.WindowsInstaller.Linq;
namespace ReadMSI
{
Error: "the type or namespace name 'deployment' does not exist in the namespace 'microsoft'"
I have related .dll installed to the below location.
"C:\Program Files (x86)\WiX Toolset v3.8\bin\Microsoft.Deployment.WindowsInstaller.dll"
Not sure what am missing.
Is this any issue with installing WiX Toolset v3.8
Please assist.

Answers (1)