Hi,

I have a uninstall which Fails sometimes but not always

It prints the error

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.

After deleting my certificate successfully.
I don't think it should be trying to delete the MS root Cert!
It doesn't always happen and is not very reproduceable.

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

This bug also is in

src/ca/serverca/scasched/scacert.cpp Line 663
src/ca/serverca/scasched/scacert.cpp Line 946
src/ca/serverca/scasched/scacert.cpp Line 1024

Cheers

Garth

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