Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install WixToolset.Util.winext #13

Open
emanueljg opened this issue Nov 2, 2023 · 4 comments
Open

Can't install WixToolset.Util.winext #13

emanueljg opened this issue Nov 2, 2023 · 4 comments

Comments

@emanueljg
Copy link

emanueljg commented Nov 2, 2023

I am writing a GitHub Actions to create an MSI on each release. Here's my approach so far:

      - name: Install prerequisite packages (Windows)
        if: matrix.os == 'windows-latest'
        uses: crazy-max/ghaction-chocolatey@v3
        with:
          args: "install swig microsoft-build-tools dotnet"

      - name: Build .msi
        if: matrix.os == 'windows-latest'
        run: |
          # install wix
          dotnet tool install --global wix --version 4.0.2
          wix extension add -g WixToolset.UI.winext
          # run script
          source $VENV
          poetry run poe mkmsi

I added the wix extension part after getting an error that the extension WixToolset.UI.wixext could not be found, but I can't seem to install it:
msibuild2
It appears it fails silently, without stderr. What's up?

@jpakkane
Copy link
Owner

jpakkane commented Nov 2, 2023

The command that works for me is wix extension add WixToolset.UI.wixext, though I have only used it on my own machine and not Github Actions.

@emanueljg
Copy link
Author

The command that works for me is wix extension add WixToolset.UI.wixext, though I have only used it on my own machine and not Github Actions.

Couldn't get that command to work either, same weird error. I tried installing wixl instead as the readme said msitools was supported as well, but when running it, it told me I still needed wix4.

@jpakkane
Copy link
Owner

jpakkane commented Nov 4, 2023

The docs are out of date. Msitools is equivalent to WiX 3.

If you want to use either WiX 3 or Msitools, you can check out an older commit of the code that still supports those (before any of the WiX 4 work).

@laggykiller
Copy link

Make sure the versions match

dotnet tool install --global wix --version 4.0.4
wix extension add WixToolset.UI.wixext/4.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants