Hi, I wrote a small custom action that only sets a property (before it did a lot more, but I shortened it a bit ;)) and works fine on Windows XP, but not at all on Windows Vista. :(
Here is a short code snippet: #pragma comment(linker, "/EXPORT:CAHelloWorld=_CAHelloWorld") extern "C" UINT __declspec(dllexport) CAHelloWorld(MSIHANDLE hInstall) { HRESULT hr = WcaInitialize(hInstall, "CAHelloWorld"); if (FAILED(hResult)) return ERROR_INSTALL_FAILURE; WcaLog(LOGMSG_STANDARD, "Before setting MY_PROP."); hr = WcaSetProperty(L"MY_PROP", L"The Value"); WcaLog(LOGMSG_STANDARD, "After setting MY_PROP."); return WcaFinalize(hr); } On Windows Vista "WcaLog" functions don't seem to be called. The MSI log only returns "3" when calling "CAHelloWorld". Probably the function is not called at all? There's no difference if Vista's UAC is activated or not. On Windows XP the same MSI works fine, though (Windows 2000 not tested yet). Thanks in advance for any help. Kind regards, Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users