Nope -- I missed that (and the WcaFinalize call); works like a charm now. For others' benefit, it's discussed at http://www.tramontana.co.hu/wix/lesson10.php and in threads on this list.
Thanks for the help. Blair-2 wrote: > > You did call WcaInitialize before calling WcaAddTempRecord, right? > > -----Original Message----- > From: David Battey [mailto:dbat...@phoenixcon.com] > Sent: Wednesday, October 21, 2009 10:02 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] E_HANDLE returned from WcaAddTempRecord > > When I run this in an immediate CA in the InstallUISequence > > HRESULT hr = S_OK; > MSIHANDLE hTable = NULL; > MSIHANDLE hColumns = NULL; > MSIDBERROR error; > > hr = WcaAddTempRecord(&hTable, &hColumns, L"ListBox", &error, 0, > 4, L"PROPERTYNAME", 1, L"0", L"Value"); > > I get an hr of E_HANDLE, error is not getting set, and GetLastError() > returns 1008 (ERROR_NO_TOKEN). I've tried it in a few different places in > the sequence, and get the same result. > > Does anyone have any idea what might be causing this? > > > -- View this message in context: http://n2.nabble.com/E-HANDLE-returned-from-WcaAddTempRecord-tp3866759p3872049.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users