wix: fix the package build when not adding features
Should have used ifdef, not if. Sigh.
Differential Revision: https://phab.mercurial-scm.org/D6187
--- a/contrib/packaging/wix/mercurial.wxs Mon Apr 01 19:02:24 2019 -0700
+++ b/contrib/packaging/wix/mercurial.wxs Tue Apr 02 23:38:54 2019 -0400
@@ -129,7 +129,7 @@
<MergeRef Id='VCRuntime' />
<MergeRef Id='VCRuntimePolicy' />
</Feature>
- <?if $(var.MercurialExtraFeatures)?>
+ <?ifdef MercurialExtraFeatures?>
<?foreach EXTRAFEAT in $(var.MercurialExtraFeatures)?>
<FeatureRef Id="$(var.EXTRAFEAT)" />
<?endforeach?>