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

Error 80: @Version attribute value is not a valid version. #4514

Closed
wixbot opened this issue Aug 23, 2014 · 2 comments
Closed

Error 80: @Version attribute value is not a valid version. #4514

wixbot opened this issue Aug 23, 2014 · 2 comments
Assignees
Milestone

Comments

@wixbot
Copy link

wixbot commented Aug 23, 2014

I am seeing a failure to of bind.packageVersion as well as bindAssemblyVersion, which seem to be related to the item id.

For example, here is the error i get compiling a bundle:

Error   80  The Bundle/@Version attribute's value, '!(bind.packageVersion.pid.Hipot.MainPackage)', is not a valid version.  Legal version values should look like 'x.x.x.x' where x is an integer from 0 to 65534.  C:\My\LIBRARIES\VS10\VI\HIPOT.1.x\VS\WiX\Hipot.Bundle\Bundle.wxs    9   1   isr.Hipot.Bundle.

This code fails:

    <PackageGroup Id='Hipot.2014'>
        <MsiPackage Id='pid.Hipot.MainPackage' InstallCondition='NOT VersionNT64' .......

<Bundle Name='!(bind.packageName.pid.Hipot.MainPackage)' 
        Version='!(bind.packageVersion.pid.Hipot.MainPackage)' ......

This code works:

        <MsiPackage Id='pidHipot.MainPackage' InstallCondition='NOT VersionNT64' .....
                    SourceFile='$(var.isr.Hipot.WiX.ProjectDir)Bin\x86\Debug\$(var.HipotProductName).Setup.msi'

<Bundle Name='!(bind.packageName.pidHipot.MainPackage)' 
        Version='!(bind.packageVersion.pidHipot.MainPackage)' ....

Effectively, the difference is in removing the '.' (period) between pid and Hipot.

Originally opened by davidhary

@wixbot
Copy link
Author

wixbot commented Aug 28, 2014

AssignedTo set to bobarnson
Release changed from v4.x to v3.x

@wixbot
Copy link
Author

wixbot commented Nov 16, 2014

I can't reproduce the problem. This works as expected:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Bundle Name="Bootstrapper1" Version="!(bind.packageVersion.Msi.Package.With.Dotted.Id)" Manufacturer="!(bind.packageName.Msi.Package.With.Dotted.Id)" UpgradeCode="a426f1ed-1044-4e1b-afd0-7971fdf58c57">
        <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />

        <Chain>
            <!-- TODO: Define the list of chained packages. -->
            <MsiPackage Id="Msi.Package.With.Dotted.Id" SourceFile="$(var.SetupProject1.TargetPath)" /> 
        </Chain>
    </Bundle>
</Wix>

Can you post a small project that shows the problem?

Originally posted by barnson
Resolution set to norepro
Status changed from Open to Resolved

@wixbot wixbot added this to the v3.x milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants