cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anand_Choubey
Level 3

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
}
}
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

It might be an issue with the custom actions that feed data to CustomActionData. Please see, for example, this newsletter tip (PDF warning): http://www.macrovision.com/webdocuments/PDF/CustomActionData.pdf?link_id=productsTipsTricks.
0 Kudos