There appears to be a bug either in the WiX engine or the Windows Installer 3.1.
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 12 Oct 2007 23:08:30 +0000 (23:08 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 12 Oct 2007 23:08:30 +0000 (23:08 +0000)
commita70217525cfffbb83a289d9ae28f4b9823b7c1af
treea117a31c4e95eb11204ddf9f97e7ed314ae16aa0
parent6e011a1ee3fa13245b4ccc16e1dce6e5159ec24a
There appears to be a bug either in the WiX engine or the Windows Installer 3.1.
The "File" type on the Registry Search property is supposed to provide the full
path name.  Instead, we are being given just the directory as if it were being
processed with the "Directory" type.

We can avoid this for a REG_SZ value by using the "Raw" type because we are
sure that the string is not going to begin with a '#' character.

Because the full path was not being obtained for the UPGRADENSIS property, the
Uninstall routine was unable to CreateProcess() the uninstall program.

This commit also includes addition debugging in the NSIS Uninstall custom
handler to report the path and the GetLastError() value when the uninstall
fails.  This will be logged in the msiexec log file and displayed in a
MessageBox.

ticket: 5820

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20119 dc483132-0cff-0310-8789-dd5450dbe970
src/windows/installer/wix/custom/custom.cpp
src/windows/installer/wix/custom/custom.h
src/windows/installer/wix/lang/ui_1033.wxi
src/windows/installer/wix/property.wxi