Heres is my problem in custom action WcaInitialize(hInstall, "MyDLL") WCHAR *wcSource=new WCHAR[255]; hResult = WcaGetProperty(L"SOURCEDIR", wcSource); This funciton return 0, but nothing is put into wcSource Its like the property doesn't exist so I checked the log and there is a property SOURCEDIR and it has a valid value that isnt empty quotes. I tried checking to see what happened with 3 different properties that I knew had to be in my project and got the same result. Then I tried using MsiGetProperty(hInstall, L"SOURCEDIR", wcSource, &size); (size being 255) and it didn't return a (ERROR_MORE_DATA) and it also didn't crash the program. I have to be missing something vital to make these work, I had them working before and I don't know what I did to mess things up I am#include "msi.h" and #include "msiquery.h" and #pragma comment(lib, msi) #pragma comment(linker, "/EXPORT:[EMAIL PROTECTED]") in my project -- View this message in context: http://www.nabble.com/Custom-Action-Call-to-WcaGetProperty-stopped-working-tf2162485.html#a5976513 Sent from the wix-users forum at Nabble.com.
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users