- Build wixl binary using
Dockerfile.wixl
- Copy the wixl binary from the container or use the container with a volume to build your MSI
- Make sure software.exe is present on disk in the CWD.
- Use the generated wixl binary to build the wxs template.
wixl -v software.wxs.template -o software.msi
- Make sure
osslsigncode
is installed. - You need a PFX code signing certificate (non-EV)
- Use the following the command line to sign both the EXE and MSI files
osslsigncode sign -pkcs12 codesigning.pfx -in software_unsigned.exe -out software_signed.exe -pass "<password>"
osslsigncode sign -pkcs12 codesigning.pfx -in software_unsigned.msi -out software_signed.msi -pass "<password>"
You can also use Limelighter to sign the binaries using a self-signed code signing certificate.
Customize the template according to wix configuration. Please remember, wixl does not support all features of the WXS configurations, knowing which configurations are supported is a trip down the wixl source code.
You can also find a compiled wixl ELF here generated using the provided dockerfile.