Hello,
Having some problems with my DLL custom action C++ function. I have the function working properly it grasps the registry that I need to install to. Somehow I need to extract the variable szLocalPath to my msi so that it can then replace the install location. After research I think it's a case of using MsiSetProperty but I have no idea how to implement this. Any help would be greatly appreciated. extern "C" UINT __stdcall GetOrchDir(MSIHANDLE hInstall) { HRESULT hr = S_OK; UINT er = ERROR_SUCCESS; char szLocalPath[MAX_PATH]; strcpy(szLocalPath, Orc_Get_Dir(".", "ORC_BIN")); LExit: er = SUCCEEDED(hr) ? ERROR_SUCCESS : ERROR_INSTALL_FAILURE; return WcaFinalize(er); } Thanks ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users