For some projects I'm working on, I'd like to move my deployments from ps1 scripts to an msi (built at the end of a pipeline). I decided then to follow the "Wix way" and also take the opportunity to learn it. I went to the official website, and decided to use the latest version (the 3.x is more commonly used, but since 4 it is just been released, I thought it was better to start from there).
I looked online for some getting started to learn the basics, and it looks like nothing exists. Then I tried to follow the official guide to at least have the classic "hello world" MSI, using this example (took from here):
<Wix
xmlns="http://wixtoolset.org/schemas/v4/wxs"
xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
<Bundle
Name="FirstSample"
Version="0.0.1.1"
UpgradeCode="fc56ffde-f642-4086-b22a-306ba0732b12"
Compressed="no"
SplashScreenSourceFile="splashscreen.bmp">
<BootstrapperApplication>
<bal:WixStandardBootstrapperApplication
LicenseUrl=""
Theme="hyperlinkLicense" />
</BootstrapperApplication>
<Chain>
<PackageGroupRef Id="BundlePackages" />
</Chain>
</Bundle>
The moment I try to build it, with
wix build .\SampleFirst.wxs
The result is:
error WIX0200: The BootstrapperApplication element contains an unhandled extension element 'WixStandardBootstrapperApplication'. Please ensure that the extension for elements in the 'http://wixtoolset.org/schemas/v4/wxs/bal' namespace has been provided.
I have two questions:
- Do you think this is the right approach to learning Wix?
- If yes, what was wrong with the sample wsx I got from the official website?
Thanks