Bob Arnson wrote:
> Garth wrote:
>> It could be due to a classic UNICODE overflow bug in the file
>>
>> http://wix.cvs.sourceforge.net/wix/wix/src/ca/serverca/scaexec/scacertexec.cpp?view=markup
>>  
>>
>>
>> WCHAR wzFriendlyName[256] = { 0 };
>> DWORD cbFriendlyName = sizeof(wzFriendlyName);
>>
>> Should read
>>
>> WCHAR wzFriendlyName[256] = { 0 };
>> DWORD cbFriendlyName = countof(wzFriendlyName);
>>   
> 
> CertGetCertificateContextProperty explicitly takes a count of bytes, not 
> characters.
> 
Oops! Sorry I should read the code better.
I got mixed up reading CompareStringW which takes chars..

But the error I get I've seen refrerenced elsewhere.

http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg05354.html

Where it is trying to delete another certificate after my cert

Looks like what I get.

DeleteMachineCertificate:  Deleting certificate with friendly name: Garth
"DeleteMachineCertificate:  Failed to delete certificate with friendly
name: Microsoft Root Authority, continuing anyway."
MSI (s) (94:24) [14:55:59:151]: User policy value 'DisableRollback' is 0
MSI (s) (94:24) [14:55:59:151]: Machine policy value 'DisableRollback' is 0
Action ended 14:55:59: InstallFinalize. Return value 3.








-------------------------------------------------------------------------
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

Reply via email to