I have the following C# desktop code that extracts contents of the MSI package:
using Microsoft.Deployment.WindowsInstaller;
using Microsoft.Deployment.WindowsInstaller.Package;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
using( var package = new InstallPackage(@"C:\package.msi", DatabaseOpenMode.ReadOnly))
{
package.ExtractFiles();
}
}
}
}
I was wondering, how do I port it into a C# web app for ASP.NET?
...
Go to the complete details ...