pull up r20119 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 15 Oct 2007 22:07:39 +0000 (22:07 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 15 Oct 2007 22:07:39 +0000 (22:07 +0000)
commitafb1457f9e0d4126f783d1a0272671a17c783114
treeabbc9571eb98b651f2dd97e793524224ebe744a1
parent7c333f4ef1ec705f529f4af0d1214e56ec87c5b0
pull up r20119 from trunk

 r20119@cathode-dark-space:  jaltman | 2007-10-12 19:08:30 -0400
 ticket: 5820

 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
version_fixed: 1.6.3

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20122 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