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

Bind-time variable failing after migrating from WiX v3 to v4? #4830

Closed
wixbot opened this issue Jul 22, 2015 · 2 comments · Fixed by wixtoolset/Core#65
Closed

Bind-time variable failing after migrating from WiX v3 to v4? #4830

wixbot opened this issue Jul 22, 2015 · 2 comments · Fixed by wixtoolset/Core#65

Comments

@wixbot
Copy link

wixbot commented Jul 22, 2015

Given following bundle:

<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
     xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"
     xmlns:fire="http://wixtoolset.org/schemas/v4/wxs/firewall"
     xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
  <Bundle Name="!(bind.packageName.Setup)"
          Version="!(bind.packageVersion.Setup)"
          Manufacturer="!(bind.packageManufacturer.Setup)"
          UpgradeCode="$(var.UpgradeCode)">
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
      <bal:WixStandardBootstrapperApplication LicenseUrl=""
                                              SuppressOptionsUI="no"
                                              ShowVersion="yes"
                                              SuppressRepair="yes" />
    </BootstrapperApplicationRef>
    <Chain>
      <MsiPackage Id="Setup"
                  Compressed="yes"
                  Name="$(var.ProductName)"
                  SourceFile="foo.exe"
                  DisplayInternalUI="yes"
                  Vital="yes" />
    </Chain>
  </Bundle>
</Wix>

With v3 I had no issues building the boostrapper, with the recent v4 release (4.0.2926.0) I am getting following error:

4>Bootstrapper\Bundle.wxs(14,0): error LGHT0298: Unresolved bind-time variable !(bind.packageVersion.Setup).
4>light.exe(0,0): error LGHT0001: Input string was not in a correct format.
4>Done building project "Bootstrapper.wixproj" -- FAILED.

Originally opened by andreas

@wixbot
Copy link
Author

wixbot commented Aug 4, 2015

Release changed from v4.x to v4.0

@wixbot wixbot added this to the v4.0 milestone Dec 20, 2015
@rahulg1001
Copy link

Any update on this issue? I am also facing this problem

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

Successfully merging a pull request may close this issue.

2 participants