I am looking for advice on how to sort out a problem I having using
WcaAddTempRecord.  My immediate CA creates a BYTE array (an encrypted
'blob') which I need to write to the Registry as a REG_BINARY type value.  I
am trying to use WcaAddTempRecord to the Registry table, ( using the code in
wix src\ext\GamingExtension\ca\caming.cpp  WriteGameExplorerRegistry as an
example implementation).

I can step through into WcaAddTempRecord  (src\libs\wcautil\wcawrap) and it
all appears to step through the columns adding the data successfully, and
does not report any error.  (When I first read through the code I was
concerned about the comment that binary streams are not supported, but when
trying to add a binary registry value that 'else' block is not hit.  So I
assume that the comment does not relate to adding a binary registry value.)

I also found the temp named msi file and tried to inspect it with orca,
after stepping past the WcaAddTempRecord call, but before running the script
phase of the install, and I did not find the temporary row entry.  I noticed
a binary .ipi file so maybe that is where this info is held.

The bottom line is that the registry value is never created, even though
WcaAddTempRecord does not report any error.  I also provided a variable for
the MSIDBERROR dbError parameter, which was NULL in the gaming
implementation.  The verbose log, with the MSI debug value set to 7,
indicates that the immediate CA is called and returns successfully, but I
cannot find anything in the log related to the added temporary Registry
table row, or the 'uniquified' ID generated in WcaAddTempRecord, etc. 

I also changed my code to write a string registry value, but I could not
find anything related to that temporary entry either.  I am looking for
clues on how to track down whether the temporary row was created in the msi,
or why I cannot find the entry in the registry.  Thanks for any advice.  (My
schedule in the next few days may prevent me posting a response but I do
appreciate the input.)



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WcaAddTempRecord-S-OK-but-no-results-who-to-debug-tp7600691.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to