[Lazarus] TProcess and Windows XP

Sven Barth pascaldragon at googlemail.com
Wed Jul 3 09:59:32 CEST 2013


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




More information about the Lazarus mailing list