Hi Dashut,
Unfortunately, Windows Installer does not allow for this level of control over its inputs. Without some hacking, I am not sure you can set the focus back to the EditBox. Perhaps some custom action could run, list the text inputs on the window, find the password text input and manually set its focus, all this using the win32 API. It's an ugly approach and I wouldn't recommend it as it may not be 100% reliable on all operating systems. And it also might require (a lot of) tweaking if you intend on using it both on a Windows Installer interface and on an Enhanced Interface.
About clearing the password field.
Password fields often show more '*' characters than the password actually has. This might be your case. The password is empty but the '*' characters still show up.
Another reason for this might be that it is possibly a limitation in Windows Installer.
You could try the twin dialog method for refreshing the dialogs after clearing the password field's property. It might just work.
Do let me know how this turned out.
Best regards,
Gabriel
FOLLOW US
Get the latest news in Application Packaging