CPP_programmer
CPP_programmer

Reputation: 21

Use of customized Wix ProgressDlg doesn't trigger install sequence

I have a strange problem with Wix installer. I can modify the entire InstallUISequence, I can insert custom dialogs and make them work without problems. But then I needed to customize ProgressDlg, so I made a copy of wxs file, changed everything in my code I was avare of. I'm able to show it, but it gets no events, simply because actual install sequence never starts. The only thing I can do then is to cancel it, which works, as Cancel button has its own event published.

When I look to a code of predefined UIs from Wix I can't find any trigger or anything which could help. Could anyone tell me what I made wrong here?

Upvotes: 0

Views: 88

Answers (1)

CPP_programmer
CPP_programmer

Reputation: 21

I finally solved it. I had to set a "Modeless" property to "yes" in my Progress dialog element. If this property is not set to "Modeless", it waits for user input. Example:

<Dialog Id="ProgressDlg"
        Width="370"
        Height="270"
        Title="Progress dialog"
        Modeless="yes">

Upvotes: 2

Related Questions