> 1) First part. I need to run an installation (*.msi file(s)) via .NET
> (C#) code. What is the best framework (if any exist) or maybe some wrapper
> classes (above MSI API) you could advise?
I haven't (yet) run into problems launching the MSI using the plain old Process
class, e.g.
using System.Diagnostics;
...
Process lExe = new Process()
try
{
lExe.StartInfo.WorkingDirectory = blah blah blah
lExe.StartInfo.FileName = path to MSI
lExe.StartInfo.Arguments = blah blah blah
lExe.StartInfo.Verb = "Open";
... etc. as you wish
lExe.Start();
...
If the C# code is running with elevated privileges, it seems to pass that on to
the MSI installer so you don't need to keep getting the UAC dialog.
HTH
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users