This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: SpawnWaitDialog not closing - Basic MSI Project
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 22, 2009
04:35 PM
SpawnWaitDialog not closing - Basic MSI Project
Hi,
I have a Basic MSI Project, a custom dialog(StatusDialog) whose job is just to display status messages, configured as Modal=True, Keep Modeless = False.
From one of my dialogs, when the user clicks on the 'Next' button, i show this 'StatusDialog' with a CASAUTHURLVALID<>0, using SpawnWaitdialog.
Then a CustomAction (CheckCASURL) is executed which changes the property to CASAUTHURLVALID=1
The problem: The SpawnWaitDialog shows the StatusDialog alright, but the installer freezes. I think that is because the CustomAction (CheckCASURL) that is setting the Property value CASAUTHURLVALID=1 is never being executed, and hence the StatusDialog never closes.
What am I doing wrong? Does anyone know how to close this StatusDialog?
I browsed through the forums here, many people seem to have had this same issue, but no solution posted so far.
Appreciate your responses. Thanks in advance
I have a Basic MSI Project, a custom dialog(StatusDialog) whose job is just to display status messages, configured as Modal=True, Keep Modeless = False.
From one of my dialogs, when the user clicks on the 'Next' button, i show this 'StatusDialog' with a CASAUTHURLVALID<>0, using SpawnWaitdialog.
Then a CustomAction (CheckCASURL) is executed which changes the property to CASAUTHURLVALID=1
The problem: The SpawnWaitDialog shows the StatusDialog alright, but the installer freezes. I think that is because the CustomAction (CheckCASURL) that is setting the Property value CASAUTHURLVALID=1 is never being executed, and hence the StatusDialog never closes.
What am I doing wrong? Does anyone know how to close this StatusDialog?
I browsed through the forums here, many people seem to have had this same issue, but no solution posted so far.
Appreciate your responses. Thanks in advance
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 23, 2009
09:54 AM
:confused: Pleeaase somebody, view this post and answer my query :confused:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 27, 2010
03:43 PM
Just for reference, given that the original post is kinda old...
The problem is with the ordering of the control events. The DoAction should come first, and it should invoke an asynchronous immediate custom action that sets the property referenced by SpawnWaitDialog. After the DoAction should appear the SpawnWaitDialog event.
David
The problem is with the ordering of the control events. The DoAction should come first, and it should invoke an asynchronous immediate custom action that sets the property referenced by SpawnWaitDialog. After the DoAction should appear the SpawnWaitDialog event.
David
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)