[WiX-users] Keeping UI Responsive during lenghty custom action
Hello all, I have a custom action in an c++ dll that performs a somewhat lengthy operation during the UI phase of the setup. I have a Dialog where the user enters some data and a custom action that checks the data. This can take 20-30 seconds (due to network access) so I want to spawn a little dialog saying 'please wait...' and have the custom action do the work in the background. Now I have two questions: 1. how do I start a custom action as soon as a dialog (e.g. the 'please wait' dialog)is shown (without requiring the user to press a button) 2. how can I keep the 'please wait' dialog responsive and/or update it with status information from the custom action while it's running? Possibly even enable the user to cancel it. I can't just create a thread in the custom action as the msi installer will unload the dll right after calling the entry function. What is the recommended implementation for such a scenario? Thanks Ben - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Keeping UI Responsive during lenghty custom action
Benjamin Schwehn wrote: What is the recommended implementation for such a scenario? Have your custom action show UI. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Keeping UI Responsive during lenghty custom action
Bob Arnson wrote: Benjamin Schwehn wrote: What is the recommended implementation for such a scenario? Have your custom action show UI. Ah, ok, that seems reasonable... Thank you! Ben - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users