WcaGetProperty() isn't being used anywhere else this is the only call.
What I need to do is combine My license with DX License, but if I leave in
the code for
getting the DXEULA the entire program doesn't even run weird.
I tried with both allocation of memory and tried to see if maybe the fuction
was allocating the memory
ReleaseStr, but be for some other language, delete and new are what I would
be using for memory
extern "C" UINT __stdcall GetEULA(MSIHANDLE hInstall)
{
HRESULT hResult = WcaInitialize(hInstall, "GetEULA");
if (FAILED (hResult)) return ERROR_INSTALL_FAILURE;
MessageBoxA(NULL, "Quick Attach process and hit ok","Get license debug
helper" , MB_OK);
WCHAR l_wcDX_EULA[12000];
WCHAR l_wcMy_EULA[20000];
WCHAR *l_pwclicense /*= new WCHAR[20000]*/;
//DirectXSetupGetEULA(l_wcDX_EULA,0,0); This doesn't work
either
hResult = WcaGetProperty(L"EULA", &l_pwclicense); Program stops here
still
memcpy((void*)l_wcMy_EULA[wcslen(l_pwclicense)], l_wcDX_EULA, 10000);
WcaSetProperty(L"EULA",l_wcMy_EULA);
// delete [] l_pwclicense;
return WcaFinalize (hResult);
}
--
View this message in context:
http://www.nabble.com/Custom-Action-Dll-problem-tf2042392.html#a5623345
Sent from the wix-users forum at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users