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

Add GNOME msitools (wixl) to macOS and Ubuntu #3857

Closed
3 of 9 tasks
codefromthecrypt opened this issue Aug 4, 2021 · 3 comments
Closed
3 of 9 tasks

Add GNOME msitools (wixl) to macOS and Ubuntu #3857

codefromthecrypt opened this issue Aug 4, 2021 · 3 comments

Comments

@codefromthecrypt
Copy link

Tool name

wixl

Tool license

LGPL 2.1

Add or update?

  • Add
  • Update

Desired version

0.101

Approximate size

460k

Brief description of tool

wixtoolset is pre-installed on Windows2019 right now, and includes candle.exe and light.exe used to process an XML file with extension .wxs into a Microsoft Installer (.msi). GNOME msitools includes a command that combines candle and light called wixl.

URL for tool's homepage

https://wiki.gnome.org/msitools

Provide a basic test case to validate the tool's functionality.

echo abc > test.txt
cat > test.wxs <<'EOS'
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
   <Product Id="*" UpgradeCode="C2F340C4-30CF-44EE-95F9-8D3F6E9A4345"
            Name="Test" Version="1.0.0" Manufacturer="BigCo" Language="1033">
      <Package InstallerVersion="200" Compressed="yes" Comments="Windows Installer Package"/>
      <Media Id="1" Cabinet="product.cab" EmbedCab="yes"/>
      <Directory Id="TARGETDIR" Name="SourceDir">
         <Directory Id="ProgramFilesFolder">
            <Directory Id="INSTALLDIR" Name="test">
               <Component Id="ApplicationFiles" Guid="6F6D20A8-B31D-4BAB-85CE-F3E54567F3B8">
                  <File Id="ApplicationFile1" Source="test.txt"/>
               </Component>
            </Directory>
         </Directory>
      </Directory>
      <Feature Id="DefaultFeature" Level="1">
         <ComponentRef Id="ApplicationFiles"/>
      </Feature>
   </Product>
</Wix>
EOS
wixl test.wxs
test -f test.msi

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • Windows Server 2016
  • Windows Server 2019

Can this tool be installed during the build?

In homebrew, `wixl` is inside the [msitools package](https://github.com/Homebrew/homebrew-core/blob/master/Formula/msitools.rb), while on ubuntu, `wixl` is in a package called `wixl`.

Tool installation time in runtime

<1m

Are you willing to submit a PR?

prefer help

@codefromthecrypt
Copy link
Author

we should also add msiinfo, which is in the msitools package of ubuntu

@MaksimZhukov
Copy link
Contributor

Hello @codefromthecrypt,
Thank you for the feature request. We would like to track popularity of it so we will keep the issue open for now.

@MaksimZhukov
Copy link
Contributor

Hello @codefromthecrypt.
We would not like to bake this tool to the images due to its popularity and fast installation. Please, install it in runtime with the following code:

Ubuntu:

sudo apt-get update
sudo apt-get install wixl

macOS

brew install msitools

I am closing the issue. Feel free to contact us if you have any questions. Thanks.

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

No branches or pull requests

3 participants