Updating property binded to EditBox
Posted 27 February 2006 - 13:16
-- this message caused by setting property atfer browsing for user
MSI © (E0:50) [14:57:52:406]: PROPERTY CHANGE: Adding SERVICE_USERNAME property. Its value is 'NewValue'.
-- I can't recognize what reason cause this action
MSI © (E0:50) [14:57:54:843]: PROPERTY CHANGE: Deleting SERVICE_USERNAME property. Its current value is 'OldValue'.
Posted 27 February 2006 - 14:39
Posted 27 February 2006 - 17:19
in custom action call GetForegroundWindow, then find required control using FindWindowEx, finally update text in edit box using SendMessage(hwnd, WM_SETTEXT, NULL, szNewValue).
Posted 27 February 2006 - 22:20
Let the browse button activate the twin dialog, and vice versa.
Your workaround has a drawback, as it depends on the implementation of Windows Installer (read: may not work in older or newer versions).
Posted 06 March 2006 - 12:39
Posted 06 March 2006 - 12:42
You are certainly right! New version of my generator will be able to handle such cases.