[wix-users] Why does UIRef has to be under Directory Fragment?

Shintaro Takechi devst119 at gmail.com
Thu Nov 5 15:41:07 PST 2020


Thanks Hoover, but Fragment does not have ID.
Yes the directory is referenced, but fragment that contains that directory
is not referenced.
With that, wouldn't the UIRef be pulled in just like Directory?
How does WiX determine which Fragment to pull in and not pull in?

On Tue, Nov 3, 2020 at 7:43 AM Hoover, Jacob <Jacob.Hoover at greenheck.com>
wrote:

> Doesn’t need to be under anything, but something needs to reference the
> fragment to “pull it in”
>
>
>
> *From:* wix-users <wix-users-bounces at lists.wixtoolset.org> *On Behalf Of *Shintaro
> Takechi via wix-users
> *Sent:* Monday, November 2, 2020 5:07 PM
> *To:* WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> *Cc:* Shintaro Takechi <devst119 at gmail.com>
> *Subject:* [wix-users] Why does UIRef has to be under Directory Fragment?
>
>
>
> Hi All,
>
> I had the rare opportunity to start making a WiX installer from scratch
> again.
> It has been a while so I stumbled upon a couple things but following is the
> biggest question I have.
>
> I am making custom dialogs and am adding an UI with InstallUISequence in it
> with the first dialog being <Show Before="ExecuteAction">.
>
> Now I thought it was all good, but the UI did not show up.
>
> Turns out that I did not place my UIRef underneath my directories fragment.
> Instead, I had its own fragment.
>
> Referring to this link (
>
> https://wixtoolset.org/documentation/manual/v3/wixui/dialog_reference/wixui_installdir.html)
> ,
> I see that UIRef is placed underneath the directory fragment.
>
> Why is this? Why do I need to call UIRef underneath directories and nowhere
> else?
>
> This may be a very basic and fundamental question, but I had to ask.
>
> Thank you.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> NOTE: This email was received from an external source. Please use caution
> when opening links or attachments in the message.
>



More information about the wix-users mailing list