Search code examples
windows-installerinstallationinstallshield

Dialog added in installshield wizard doesn't show up : error 1314 specified path 0 is unavailable


I created a new installshield project from scratch. I added a new dialog to be shown in the installation wizard at User Interface -> Dialogs path. My dialog simply has a text box in which I have to take a web service URL from the user.

Then at Behavior and Logic -> Custom Actions and Sequences path I added the dialog under Sequnces -> Installation -> User Interface. My Dialog is placed right after SetupCompletedError, SetupInterrupted and SetupCompleteSuccess dialogs.

When I run the installer to test it I get following error message box:

error 1314 the specified path 0 is unavailable

enter image description here

If I remove my dialog I am able to see the welcome screen and few default wizard steps. The moment I add my dialog I get the above error. Can someone tell me if I'm missing something really basic step here?


Solution

  • FWIW, you probably want to create a dialog using the interior dialog template and then wire it into the wizard loop by changing the control events on the back and next buttons of the previous, the new and the next dialog. Only InstallWelcome should have an entry in the Install UI Sequence table. The way you are doing it now wouldn't visually fit into the flow of the rest of your installer. It would be displayed before InstallWelcome and you wouldn't have any way of going "back" to update the input.

    Also be sure to test your uninstall / maintenance (change and repair) scenarios to make sure it looks and behaves correctly there also.