Loading
CustomActionData not working.
Hi,

 

Please look below code which is not working.

 

I am calling in deffered with system context after CreateShortCut Sequence.

 

It is not running.

 

I searched in CustomActionData direct editor but not found.

 

I created CustomActionData property and value but still value is not getting.

 

Please solve this issue.

 

Thanks

 

Anand

 

UINT __stdcall GetInstallDir(MSIHANDLE hInstall)

 

{

 

TCHAR szValue[14096] = {0};

 

DWORD dwBuffer = sizeof(szValue);

 

unsigned int dwRetVal = MsiGetProperty(hInstall, TEXT("CustomActionData"), szValue, &dwBuffer);

 

if(ERROR_SUCCESS == dwRetVal)

 

{

 

//I got always here. but dwBuffer is 0

 

}

 

}

Loading
CustomActionData not working.