[Lazarus] TProcess and Windows XP
Michael Van Canneyt
michael at freepascal.org
Wed Jul 3 10:19:30 CEST 2013
On Wed, 3 Jul 2013, Sven Barth wrote:
> 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 ;)
Obviously. I just don't know what that executable is or where it resides.
Michael.
More information about the Lazarus
mailing list