I have some complex things that I need to do during installation and update, that require dialogs to be displayed by a custom action. I have tried using the built-in dialogs for this purpose, along with hundreds of custom actions, but this is just not cutting it. In order to make this work, I need the installer's window handle. Without the handle, I cannot show dialogs without them appearing behind the installer.
Is there a property that I can get the handle from? Or at least the Window title? I cannot assume the window title, because I need to have support for multiple instances, and most of the time my clients are going to be giving the additional instances a custom name. Is there at least some way I can retrieve the Window title, so I have something to enumerate the windows by?
Before you ask, the complex tasks involve retrieving encrypted data link files from the target folder, connecting to those databases and retrieving the database version. The user is then able to add or remove databases from the list. A database backup and metadata synchronisation process then ensues for those databases that are out of date. I have tried using the dual dialog solution to add or remove databases from a list, which sort of works sometimes, but even with this, there is no way I can get the database synchronisation tool to work in the same manner. I have to use my own UI for that.
Thanks,
Peter
FOLLOW US
Get the latest news in Application Packaging