[wix-users] v4: Using the WixUI extension
Sean Hall
r.sean.hall at gmail.com
Fri Jul 1 09:25:26 PDT 2022
The person that created the discussion that led to that issue seemed to
have gotten it working.
ui:WixUI is only in preview.1, the v3 method of UIRef was still in place
for preview.0. You're not going to be able to mix and match extensions and
the core toolset between different builds right now. I don't know what's
supposed to happen in that scenario, but it silently ignoring extensions
that couldn't be loaded is possible.
On Fri, Jul 1, 2022 at 11:10 AM Frederik Carlier <
frederik.carlier at keysight.com> wrote:
> Hi Sean,
>
> I think that's part of the problem, but I had assumed that passing -ext
> [path to extension .dll] would also work, instead of going through wix
> extension add.
> At least,
> https://github.com/wixtoolset/wix4/blob/223606fcd02e6d15e065d1e108e17c8848d35f9f/src/ext/Bal/test/WixToolsetTest.Bal/BalExtensionFixture.cs#L193
> gave me that impression.
> Is that supposed to work?
>
> I also tried with the latest preview.1 builds but that didn't work for me
> either.
>
> Do you know of people using wix v4 + the WixUI extension?
>
> Frederik.
>
> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Sean Hall via wix-users
> Sent: Friday, July 1, 2022 5:44 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Sean Hall <r.sean.hall at gmail.com>
> Subject: Re: [wix-users] v4: Using the WixUI extension
>
> CAUTION: This message originates from an external sender.
>
> I assume you're running into
>
> https://urldefense.com/v3/__https://github.com/wixtoolset/issues/issues/6536__;!!I5pVk4LIGAfnvw!huJNcTxkjSfL-LIpMM5ZJCWMmP8L2J2NNSmxmXGZFamdmjxtz3enuGj9QcvjFmUt1TGwm6UgUbcWb6wKEyfoENHmNxiGaOVLYK0$
>
> On Fri, Jul 1, 2022 at 10:30 AM Frederik Carlier via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
>
> > Hello,
> >
> > I'm continuing my wix v4 preview journey. I'm able to build a .msi
> > package, and would now like to add the minimal Wix UI to my installer.
> >
> > My .wxs file looks like this:
> >
> > <Wix
> > xmlns=
> https://urldefense.com/v3/__http://wixtoolset.org/schemas/v4/wxs__;!!I5pVk4LIGAfnvw!huJNcTxkjSfL-LIpMM5ZJCWMmP8L2J2NNSmxmXGZFamdmjxtz3enuGj9QcvjFmUt1TGwm6UgUbcWb6wKEyfoENHmNxiGr9edgUw$
> xmlns:ui=
> https://urldefense.com/v3/__http://wixtoolset.org/schemas/v4/wxs/ui__;!!I5pVk4LIGAfnvw!huJNcTxkjSfL-LIpMM5ZJCWMmP8L2J2NNSmxmXGZFamdmjxtz3enuGj9QcvjFmUt1TGwm6UgUbcWb6wKEyfoENHmNxiGiLINHic$
> >
> > <Package Name="..." Manufacturer="..." Version="$(var.Version)"
> > UpgradeCode="...">
> > [...]
> > <ui:WixUI Id="WixUI_Minimal" />
> > </Package>
> > </Wix>
> >
> > I always get the following error message when trying to compile with wix:
> > error WIX0200: The Package element contains an unhandled extension
> > element 'WixUI'. Please ensure that the extension for elements in the '
> >
> https://urldefense.com/v3/__http://wixtoolset.org/schemas/v4/wxs/ui__;!!I5pVk4LIGAfnvw!huJNcTxkjSfL-LIpMM5ZJCWMmP8L2J2NNSmxmXGZFamdmjxtz3enuGj9QcvjFmUt1TGwm6UgUbcWb6wKEyfoENHmNxiGiLINHic$
> ' namespace has been provided.
> >
> > I have tried the following:
> >
> > * Installing the WixUI extension via wix extension add
> > * Passing the path to the WixToolset.UI.wixext.dll library via the
> > -ext argument
> > * Passing the path to the WixToolset.UI.wixext.nupkg NuGet package
> via
> > the -ext argument
> >
> > Anything else I can try?
> >
> > Frederik.
> >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > https://urldefense.com/v3/__http://www.firegiant.com/__;!!I5pVk4LIGAfn
> > vw!huJNcTxkjSfL-LIpMM5ZJCWMmP8L2J2NNSmxmXGZFamdmjxtz3enuGj9QcvjFmUt1TG
> > wm6UgUbcWb6wKEyfoENHmNxiGM4kAvHA$
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> https://urldefense.com/v3/__http://www.firegiant.com/__;!!I5pVk4LIGAfnvw!huJNcTxkjSfL-LIpMM5ZJCWMmP8L2J2NNSmxmXGZFamdmjxtz3enuGj9QcvjFmUt1TGwm6UgUbcWb6wKEyfoENHmNxiGM4kAvHA$
>
More information about the wix-users
mailing list