2015-07-22 4 views
1

Compte tenu paquet suivant:Pourquoi ma variable temps de liaison échoue-t-elle après la migration de WiX v3 vers v4?

<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> 

v3 J'ai eu aucun problème de construction du boostrapper, avec la sortie récente v4 (4.0.2926.0) J'obtiens l'erreur suivante:

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.

+0

Où avez-vous téléchargé v4.0.2926.0. La version de la version disponible au téléchargement que je vois est v4.0.2719.0. http://wixtoolset.org/releases/v4-0-2719-0/ –

+0

@KiranHegde http://wixtoolset.org/releases/, http://wixtoolset.org/releases/v4-0-2926-0/ –

Répondre

2

Il est probablement un bug dans WiX v4. WiX v4.0 est encore en développement actif et est pré-bêta. S'il vous plaît déposer un bug au http://wixtoolset.org/issues/ afin que nous ne le perdons pas.

+0

A signalé un problème @ http://wixtoolset.org/issues/4830/ –