Re: Wix MSI and Delphi
- From: Robert Marquardt <robert_marquardt@xxxxxx>
- Date: Wed, 15 Aug 2007 06:29:32 +0200
Jason Swager wrote:
MsiSetProperty(Handle, 'PIDACCEPTED', PChar(IfThen(PIDKey[0] = '1', '1', '0')));
I would avoid the IfThen function. The problem here is that Delphi may err on the type of '1' and '0'.
I think my variant with a local buffer is easier.
The exports should use the _CheckPID@4 name.
So best merge our two examples and you should be up and running.
The strange export name is an indication that Microsoft either gets sloppier in API definitinos or tries to force the programmers to use Visual Studio by creating such obstructions.
.
- References:
- Wix MSI and Delphi
- From: Andy
- Re: Wix MSI and Delphi
- From: Jason Swager
- Re: Wix MSI and Delphi
- From: Andy
- Re: Wix MSI and Delphi
- From: Jason Swager
- Re: Wix MSI and Delphi
- From: Andy
- Re: Wix MSI and Delphi
- From: Jason Swager
- Wix MSI and Delphi
- Prev by Date: Re: [ANN]ProDelphi profiler 20 % price reduced
- Next by Date: Re: Shorter Path Planners 3.0 for VCL and VCL.NET
- Previous by thread: Re: Wix MSI and Delphi
- Next by thread: Re: Wix MSI and Delphi
- Index(es):
Relevant Pages
|