sudo apt install wixlFor Conditional setup using Feature, use distro with wixl v0.106. Ubuntu 25.10 can install wixl v0.106 by default. Or build your own from https://download.gnome.org/sources/msitools/0.106/
Conditiontag was added in msitools v0.106 https://download.gnome.org/sources/msitools/0.106/v0.106 ====== - !75 Support <Condition> inside <Feature> and <Component>
wixl -D VERSION=18.5.0 -o gitlab-runner.msi wixl-gitlab-runner.wxsLaunch elevated CMD and paste modified command
msiexec /qn /i "gitlab-runner.msi" GITTOKEN=Token123 GITURL=http://github.com GITNAME=server1- Fix rewriting toml on Upgrade
CustomActionsnot working properly- replaced with modification of
config.tomlusingIniFile
- replaced with modification of
Create Property with Id="GITTOKEN", set default Value in case you don't provide launch argument when starting .msi
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Id="GitLab-Runner.Msi" Name="GitLab Runner" Manufacturer="GitLab" Version="18.14.0">
<Property Id="GITTOKEN" Value="someDefaultToken" />Pass your data to GITTOKEN property as launch argument:
- PowerShell token with spaces
msiexec /i "gitlab-runner.msi" GITTOKEN=`"Token with spaces`" GITURL=http://github.com
- CMD token with spaces
msiexec /i "gitlab-runner.msi" GITTOKEN="Token with spaces" GITURL=http://github.com
-
Do not use a closed bracket as part of the section name
TOML section wixl section name [[runners]] [runners