cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kunal_gu12
Level 2

MsigetProperty : Undefined identifier

Hi,

I have created a Web Project and using Installscript for getting Public Property

Following is the code

Function DisplaySupportDir(hMSI)


STRING supportDirPath;

NUMBER supportDirPathBuffer, nvStringBufferSize;
//

begin


nvStringBufferSize = 256;



MsiGetProperty(hMSI, "PDF_Convertor_name", supportDirPath, nvStringBufferSize);

MessageBox("test",WARNING);



end;



I have included ifx.h

I am getting same error "Undefined identifier" for both MsiGetProperty and MessageBox

Please advise

regards

Kunal
Labels (1)
0 Kudos
(1) Reply
Christopher_Pai
Level 16

I'd have to see your script file to be sure, but my guess is your #include is out of scope.

For example, this would work:

#include "ifx.h"
export prototype MyFunction(HWND);
function MyFunction(hMSI)
begin
MessageBox( "TEST", INFORMATION );
end;

But this would not:

export prototype MyFunction(HWND);  
function MyFunction(hMSI)
begin
MessageBox( "TEST", INFORMATION );
end;
#include "ifx.h"
0 Kudos