Hi team,
I am trying to write a standard custom action and called it through Call function from standard dll.
When I am trying to run it, I get the return code of MsiGetPropertyW as 6. Is there anything wrong in my code snippet. Please suggest.
I also sent a mail with the AIP file and visual studio project. Please reply ASAP.
This is my another sample snippet:
WCHAR vbuff [500] = {0};
DWORD vlen = 500;
UINT gp = MsiGetPropertyW(hInstall, L"SERVER_PROP", vbuff, &vlen);
WCHAR msg [500] = {0};
wsprintfW (msg, L"gp = %d vlen = %d vbuff = %s", gp, vlen, vbuff );
LogMessage (hInstall, msg);
MessageBoxW (NULL, msg, L"Result", MB_OK);
FOLLOW US
Get the latest news in Application Packaging