This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- CustomActionData not working.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 11, 2008
08:40 AM
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
}
}
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
}
}
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 11, 2008
09:18 AM
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.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)