Am 03.07.2013 09:03, schrieb Michael Van Canneyt:


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).

Or start the executable which processes *.msi files and pass the *.msi file as argument ;)

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to