On Wed, 3 Jul 2013, Richard Mace wrote:

It was the complete path to an .msi file. Does that make a difference?

Yes.

You can only specify executables in TProcess. .msi is not an executable file.
You need to use the shellexecute function (maybe the LCL provides an equivalent) to start the executable associated with a file type (in this case, the MS installer).

Michael.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to