LGHT0001: Version string portion was too short or too long. (3.9 stable) #4589

Closed
wixbot opened this Issue Nov 7, 2014 · 9 comments

Comments

Projects
None yet
2 participants
Collaborator

wixbot commented Nov 7, 2014

When testing the 3.9 stable release, I am encountering a new issue that is not happening in my production environment using the 3.8 stable release. Building a Burn project, I receive the error: "LGHT0001: Version string portion was too short or too long." The entry in the error list only points to the burn project, line 0 column 1. After running through and commenting out lines until the build succeeded, I identified an MSI that is delivered to me which has an invalid ProductVersion property of "1.0.0.0.001" (5 sections instead of 4).

I'm certainly not against the validation. Unfortunately for me, modifying the original MSI would break the digital signature and is not acceptable, nor is rebuilding the MSI by my team.

Could there be an attribute added to the MsiPackage to provide an alternate version number?
Could Light provide a little more information about which package caused the failure?

Any other suggestions?

Thanks.

Originally opened by mschmits

Collaborator

wixbot commented Nov 8, 2014

Please copy the .pdb files from https://wix.codeplex.com/downloads/get/925663 next to your WiX binaries and paste the full stack trace here. That should tell us whether a workaround is possible.

Originally posted by barnson

Collaborator

wixbot commented Nov 10, 2014

I hope I'm doing something wrong. I'm not seeing a stack trace in the VS windows or in an external file in the project outputs. I've copied the PDBs from the link provided in with the existing 3.9 install, verified I have light.pdb next to light.exe, opened VS and rebuilt the project. Should I be looking somewhere I'm not currently examining for the desired stack trace?

The relevant section of the output window:

17>------ Rebuild All started: Project: MyProduct.Configuration.Complete, Configuration: Debug x86 ------
17> if not exist "D:\TFS\ThisRelease\Packaging\Bootstrappers\Installers" ( md "D:\TFS\ThisRelease\Packaging\Bootstrappers\Installers" )
17> C:\Program Files (x86)\WiX Toolset v3.9\bin\candle.exe -dDebug -dReleaseVersion=99.99.99.99 -d"WixSdkLocation=C:\Program Files (x86)\WiX Toolset v3.9\SDK" -dReleaseDocuments=D:\TFS\ThisRelease\Packaging\Bootstrappers..\MyProduct4.0\Documentation -d"PackagesDropLocation=C:\Build Directory\MSI-Staging\Packages" -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE" -dSolutionDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\ -dSolutionExt=.sln -dSolutionFileName=Bootstrappers.sln -dSolutionName=Bootstrappers -dSolutionPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\Bootstrappers.sln -dConfiguration=Debug -dOutDir=bin\Debug\ -dPlatform=x86 -dProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.Configuration.Complete\ -dProjectExt=.wixproj -dProjectFileName=MyProduct.Configuration.Complete.wixproj -dProjectName=MyProduct.Configuration.Complete -dProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.Configuration.Complete\MyProduct.Configuration.Complete.wixproj -dTargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.Configuration.Complete\bin\Debug\ -dTargetExt=.exe -dTargetFileName=MyProduct.Configuration.Complete.exe -dTargetName=MyProduct.Configuration.Complete -dTargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.Configuration.Complete\bin\Debug\MyProduct.Configuration.Complete.exe -dDataInstalls-MyCustomer.Configuration=Debug -d"DataInstalls-MyCustomer.FullConfiguration=Debug|x86" -dDataInstalls-MyCustomer.Platform=x86 -dDataInstalls-MyCustomer.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\DataInstalls-MyCustomer\ -dDataInstalls-MyCustomer.ProjectExt=.wixproj -dDataInstalls-MyCustomer.ProjectFileName=DataInstalls-MyCustomer.wixproj -dDataInstalls-MyCustomer.ProjectName=DataInstalls-MyCustomer -dDataInstalls-MyCustomer.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\DataInstalls-MyCustomer\DataInstalls-MyCustomer.wixproj -dDataInstalls-MyCustomer.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\DataInstalls-MyCustomer\bin\Debug\ -dDataInstalls-MyCustomer.TargetExt=.wixlib -dDataInstalls-MyCustomer.TargetFileName=DataInstalls-MyCustomer.wixlib -dDataInstalls-MyCustomer.TargetName=DataInstalls-MyCustomer -dDataInstalls-MyCustomer.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\DataInstalls-MyCustomer\bin\Debug\DataInstalls-MyCustomer.wixlib -dMyProductCoreInstalls-MyCustomerE.Configuration=Debug -d"MyProductCoreInstalls-MyCustomerE.FullConfiguration=Debug|x86" -dMyProductCoreInstalls-MyCustomerE.Platform=x86 -dMyProductCoreInstalls-MyCustomerE.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProductCoreInstalls-MyCustomer\ -dMyProductCoreInstalls-MyCustomerE.ProjectExt=.wixproj -dMyProductCoreInstalls-MyCustomerE.ProjectFileName=MyProductCoreInstalls-MyCustomerE.wixproj -dMyProductCoreInstalls-MyCustomerE.ProjectName=MyProductCoreInstalls-MyCustomerE -dMyProductCoreInstalls-MyCustomerE.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProductCoreInstalls-MyCustomer\MyProductCoreInstalls-MyCustomerE.wixproj -dMyProductCoreInstalls-MyCustomerE.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProductCoreInstalls-MyCustomer\bin\Debug\ -dMyProductCoreInstalls-MyCustomerE.TargetExt=.wixlib -dMyProductCoreInstalls-MyCustomerE.TargetFileName=MyProductCoreInstalls-MyCustomer.wixlib -dMyProductCoreInstalls-MyCustomerE.TargetName=MyProductCoreInstalls-MyCustomer -dMyProductCoreInstalls-MyCustomerE.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProductCoreInstalls-MyCustomer\bin\Debug\MyProductCoreInstalls-MyCustomer.wixlib -dAdobeReader.Configuration=Debug -d"AdobeReader.FullConfiguration=Debug|x86" -dAdobeReader.Platform=x86 -dAdobeReader.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\AdobeReader\ -dAdobeReader.ProjectExt=.wixproj -dAdobeReader.ProjectFileName=AdobeReader.wixproj -dAdobeReader.ProjectName=AdobeReader -dAdobeReader.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\AdobeReader\AdobeReader.wixproj -dAdobeReader.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\AdobeReader\bin\Debug\ -dAdobeReader.TargetExt=.wixlib -dAdobeReader.TargetFileName=AdobeReader.wixlib -dAdobeReader.TargetName=AdobeReader -dAdobeReader.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\AdobeReader\bin\Debug\AdobeReader.wixlib -dExternalProject.Configuration=Debug -d"ExternalProject.FullConfiguration=Debug|x86" -dExternalProject.Platform=x86 -dExternalProject.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ExternalProject\ -dExternalProject.ProjectExt=.wixproj -dExternalProject.ProjectFileName=ExternalProject.wixproj -dExternalProject.ProjectName=ExternalProject -dExternalProject.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ExternalProject\ExternalProject.wixproj -dExternalProject.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ExternalProject\bin\Debug\ -dExternalProject.TargetExt=.wixlib -dExternalProject.TargetFileName=ExternalProject.wixlib -dExternalProject.TargetName=ExternalProject -dExternalProject.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ExternalProject\bin\Debug\ExternalProject.wixlib -dCustomerExtension.Configuration=Debug -d"CustomerExtension.FullConfiguration=Debug|x86" -dCustomerExtension.Platform=x86 -dCustomerExtension.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\CustomerExtension\ -dCustomerExtension.ProjectExt=.wixproj -dCustomerExtension.ProjectFileName=CustomerExtension.wixproj -dCustomerExtension.ProjectName=CustomerExtension -dCustomerExtension.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\CustomerExtension\CustomerExtension.wixproj -dCustomerExtension.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\CustomerExtension\bin\Debug\ -dCustomerExtension.TargetExt=.wixlib -dCustomerExtension.TargetFileName=CustomerExtension.wixlib -dCustomerExtension.TargetName=CustomerExtension -dCustomerExtension.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\CustomerExtension\bin\Debug\CustomerExtension.wixlib -dDotNetFramework.Configuration=Debug -d"DotNetFramework.FullConfiguration=Debug|x86" -dDotNetFramework.Platform=x86 -dDotNetFramework.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DotNetFramework\ -dDotNetFramework.ProjectExt=.wixproj -dDotNetFramework.ProjectFileName=DotNetFramework.wixproj -dDotNetFramework.ProjectName=DotNetFramework -dDotNetFramework.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DotNetFramework\DotNetFramework.wixproj -dDotNetFramework.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DotNetFramework\bin\Debug\ -dDotNetFramework.TargetExt=.wixlib -dDotNetFramework.TargetFileName=DotNetFramework.wixlib -dDotNetFramework.TargetName=DotNetFramework -dDotNetFramework.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DotNetFramework\bin\Debug\DotNetFramework.wixlib -dOtherProject.Configuration=Debug -d"OtherProject.FullConfiguration=Debug|x86" -dOtherProject.Platform=x86 -dOtherProject.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\OtherProject\ -dOtherProject.ProjectExt=.wixproj -dOtherProject.ProjectFileName=OtherProject.wixproj -dOtherProject.ProjectName=OtherProject -dOtherProject.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\OtherProject\OtherProject.wixproj -dOtherProject.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\OtherProject\bin\Debug\ -dOtherProject.TargetExt=.wixlib -dOtherProject.TargetFileName=OtherProject.wixlib -dOtherProject.TargetName=OtherProject -dOtherProject.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\OtherProject\bin\Debug\OtherProject.wixlib -dDataInstalls.Configuration=Debug -d"DataInstalls.FullConfiguration=Debug|x86" -dDataInstalls.Platform=x86 -dDataInstalls.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DataInstalls\ -dDataInstalls.ProjectExt=.wixproj -dDataInstalls.ProjectFileName=DataInstalls.wixproj -dDataInstalls.ProjectName=DataInstalls -dDataInstalls.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DataInstalls\DataInstalls.wixproj -dDataInstalls.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DataInstalls\bin\Debug\ -dDataInstalls.TargetExt=.wixlib -dDataInstalls.TargetFileName=DataInstalls.wixlib -dDataInstalls.TargetName=DataInstalls -dDataInstalls.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DataInstalls\bin\Debug\DataInstalls.wixlib -dServiceData.Configuration=Debug -d"ServiceData.FullConfiguration=Debug|x86" -dServiceData.Platform=x86 -dServiceData.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ServiceData\ -dServiceData.ProjectExt=.wixproj -dServiceData.ProjectFileName=ServiceData.wixproj -dServiceData.ProjectName=ServiceData -dServiceData.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ServiceData\ServiceData.wixproj -dServiceData.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ServiceData\bin\Debug\ -dServiceData.TargetExt=.wixlib -dServiceData.TargetFileName=ServiceData.wixlib -dServiceData.TargetName=ServiceData -dServiceData.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ServiceData\bin\Debug\ServiceData.wixlib -dMyProductCoreInstalls.Configuration=Debug -d"MyProductCoreInstalls.FullConfiguration=Debug|x86" -dMyProductCoreInstalls.Platform=x86 -dMyProductCoreInstalls.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\MyProductCoreInstalls\ -dMyProductCoreInstalls.ProjectExt=.wixproj -dMyProductCoreInstalls.ProjectFileName=MyProductCoreInstalls.wixproj -dMyProductCoreInstalls.ProjectName=MyProductCoreInstalls -dMyProductCoreInstalls.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\MyProductCoreInstalls\MyProductCoreInstalls.wixproj -dMyProductCoreInstalls.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\MyProductCoreInstalls\bin\Debug\ -dMyProductCoreInstalls.TargetExt=.wixlib -dMyProductCoreInstalls.TargetFileName=MyProductCoreInstalls.wixlib -dMyProductCoreInstalls.TargetName=MyProductCoreInstalls -dMyProductCoreInstalls.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\MyProductCoreInstalls\bin\Debug\MyProductCoreInstalls.wixlib -dJavaRuntimeEngine.Configuration=Debug -d"JavaRuntimeEngine.FullConfiguration=Debug|x86" -dJavaRuntimeEngine.Platform=x86 -dJavaRuntimeEngine.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\JavaRuntimeEngine\ -dJavaRuntimeEngine.ProjectExt=.wixproj -dJavaRuntimeEngine.ProjectFileName=JavaRuntimeEngine.wixproj -dJavaRuntimeEngine.ProjectName=JavaRuntimeEngine -dJavaRuntimeEngine.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\JavaRuntimeEngine\JavaRuntimeEngine.wixproj -dJavaRuntimeEngine.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\JavaRuntimeEngine\bin\Debug\ -dJavaRuntimeEngine.TargetExt=.wixlib -dJavaRuntimeEngine.TargetFileName=JavaRuntimeEngine.wixlib -dJavaRuntimeEngine.TargetName=JavaRuntimeEngine -dJavaRuntimeEngine.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\JavaRuntimeEngine\bin\Debug\JavaRuntimeEngine.wixlib -dMessaging.Configuration=Debug -d"Messaging.FullConfiguration=Debug|x86" -dMessaging.Platform=x86 -dMessaging.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\Messaging\ -dMessaging.ProjectExt=.wixproj -dMessaging.ProjectFileName=Messaging.wixproj -dMessaging.ProjectName=Messaging -dMessaging.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\Messaging\Messaging.wixproj -dMessaging.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\Messaging\bin\Debug\ -dMessaging.TargetExt=.wixlib -dMessaging.TargetFileName=Messaging.wixlib -dMessaging.TargetName=Messaging -dMessaging.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\Messaging\bin\Debug\Messaging.wixlib -dReleaseArtifacts.Configuration=Debug -d"ReleaseArtifacts.FullConfiguration=Debug|x86" -dReleaseArtifacts.Platform=x86 -dReleaseArtifacts.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ReleaseArtifacts\ -dReleaseArtifacts.ProjectExt=.wixproj -dReleaseArtifacts.ProjectFileName=ReleaseArtifacts.wixproj -dReleaseArtifacts.ProjectName=ReleaseArtifacts -dReleaseArtifacts.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ReleaseArtifacts\ReleaseArtifacts.wixproj -dReleaseArtifacts.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ReleaseArtifacts\bin\Debug\ -dReleaseArtifacts.TargetExt=.wixlib -dReleaseArtifacts.TargetFileName=ReleaseArtifacts.wixlib -dReleaseArtifacts.TargetName=ReleaseArtifacts -dReleaseArtifacts.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ReleaseArtifacts\bin\Debug\ReleaseArtifacts.wixlib -dSyncFramework.Configuration=Debug -d"SyncFramework.FullConfiguration=Debug|x86" -dSyncFramework.Platform=x86 -dSyncFramework.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\SyncFramework\ -dSyncFramework.ProjectExt=.wixproj -dSyncFramework.ProjectFileName=SyncFramework.wixproj -dSyncFramework.ProjectName=SyncFramework -dSyncFramework.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\SyncFramework\SyncFramework.wixproj -dSyncFramework.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\SyncFramework\bin\Debug\ -dSyncFramework.TargetExt=.wixlib -dSyncFramework.TargetFileName=SyncFramework.wixlib -dSyncFramework.TargetName=SyncFramework -dSyncFramework.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\SyncFramework\bin\Debug\SyncFramework.wixlib -dWindowsInstaller.Configuration=Debug -d"WindowsInstaller.FullConfiguration=Debug|x86" -dWindowsInstaller.Platform=x86 -dWindowsInstaller.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\WindowsInstaller\ -dWindowsInstaller.ProjectExt=.wixproj -dWindowsInstaller.ProjectFileName=WindowsInstaller.wixproj -dWindowsInstaller.ProjectName=WindowsInstaller -dWindowsInstaller.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\WindowsInstaller\WindowsInstaller.wixproj -dWindowsInstaller.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\WindowsInstaller\bin\Debug\ -dWindowsInstaller.TargetExt=.wixlib -dWindowsInstaller.TargetFileName=WindowsInstaller.wixlib -dWindowsInstaller.TargetName=WindowsInstaller -dWindowsInstaller.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\WindowsInstaller\bin\Debug\WindowsInstaller.wixlib -dMyProduct.BootstrapApplication.Configuration=Debug -d"MyProduct.BootstrapApplication.FullConfiguration=Debug|AnyCPU" -dMyProduct.BootstrapApplication.Platform=AnyCPU -dMyProduct.BootstrapApplication.ProjectDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.BootstrapApplication\ -dMyProduct.BootstrapApplication.ProjectExt=.csproj -dMyProduct.BootstrapApplication.ProjectFileName=MyProduct.BootstrapApplication.csproj -dMyProduct.BootstrapApplication.ProjectName=MyProduct.BootstrapApplication -dMyProduct.BootstrapApplication.ProjectPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.BootstrapApplication\MyProduct.BootstrapApplication.csproj -dMyProduct.BootstrapApplication.TargetDir=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.BootstrapApplication\bin\Debug\ -dMyProduct.BootstrapApplication.TargetExt=.dll -dMyProduct.BootstrapApplication.TargetFileName=MyProduct.BootstrapApplication.dll -dMyProduct.BootstrapApplication.TargetName=MyProduct.BootstrapApplication -dMyProduct.BootstrapApplication.TargetPath=D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.BootstrapApplication\bin\Debug\MyProduct.BootstrapApplication.dll -out obj\Debug\ -arch x86 -ext "C:\Program Files (x86)\WiX Toolset v3.9\bin\WixUtilExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.9\bin\WixBalExtension.dll" ConfigurationCompleteBundle.wxs
17> C:\Program Files (x86)\WiX Toolset v3.9\bin\Light.exe -out D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.Configuration.Complete\bin\Debug\MyProduct.Configuration.Complete.exe -pdbout D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.Configuration.Complete\bin\Debug\MyProduct.Configuration.Complete.wixpdb -ext "C:\Program Files (x86)\WiX Toolset v3.9\bin\WixUtilExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.9\bin\WixBalExtension.dll" -contentsfile obj\Debug\MyProduct.Configuration.Complete.wixproj.BindContentsFileList.txt -outputsfile obj\Debug\MyProduct.Configuration.Complete.wixproj.BindOutputsFileList.txt -builtoutputsfile obj\Debug\MyProduct.Configuration.Complete.wixproj.BindBuiltOutputsFileList.txt -wixprojectfile D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProduct.Configuration.Complete\MyProduct.Configuration.Complete.wixproj obj\Debug\ConfigurationCompleteBundle.wixobj D:\TFS\ThisRelease\Packaging\Bootstrappers\DataInstalls-MyCustomer\bin\Debug\DataInstalls-MyCustomer.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\MyProductCoreInstalls-MyCustomer\bin\Debug\MyProductCoreInstalls-MyCustomer.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\AdobeReader\bin\Debug\AdobeReader.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ExternalProject\bin\Debug\ExternalProject.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\CustomerExtension\bin\Debug\CustomerExtension.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DotNetFramework\bin\Debug\DotNetFramework.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\OtherProject\bin\Debug\OtherProject.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\DataInstalls\bin\Debug\DataInstalls.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ServiceData\bin\Debug\ServiceData.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\MyProductCoreInstalls\bin\Debug\MyProductCoreInstalls.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\JavaRuntimeEngine\bin\Debug\JavaRuntimeEngine.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\Messaging\bin\Debug\Messaging.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\ReleaseArtifacts\bin\Debug\ReleaseArtifacts.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\SyncFramework\bin\Debug\SyncFramework.wixlib D:\TFS\ThisRelease\Packaging\Bootstrappers\PackageGroups\WindowsInstaller\bin\Debug\WindowsInstaller.wixlib
17>light.exe(0,0): error LGHT0001: Version string portion was too short or too long.
17>Done building project "MyProduct.Configuration.Complete.wixproj" -- FAILED.
17>
========== Rebuild All: 16 succeeded, 1 failed, 0 skipped ==========

Originally posted by mschmits

Collaborator

wixbot commented Nov 10, 2014

Hmm...I think it's the VS output window. Try running at the command line. For example, here's my typical MSBuild alias:

MSBuild /consoleloggerparameters:Verbosity=minimal /fileLogger /fileloggerparameters:Verbosity=diagnostic /ignoreprojectextensions:.sln /maxcpucount /nodeReuse:False /detailedsummary

Originally posted by barnson

Collaborator

wixbot commented Nov 11, 2014

I tried the checkbox for verbose output in the project property in VS, but that didn't help. Just a note in case that saves anyone else some trouble/time.

Building from the command line with your parameters generated a msbuild.log file with the stack trace! Thanks for providing that hint. Now, for the hopefully helpful stack trace:

08:43:58.163     4>light.exe : error LGHT0001: Version string portion was too short or too long. [D:\TFS\ThisRelease\Packaging\Bootstrappers\Product.Customer.Complete\Product.Customer.Complete.wixproj]
08:43:58.163     4> (TaskId:95)
                     Exception Type: System.ArgumentException (TaskId:95)
                      (TaskId:95)
                     Stack Trace: (TaskId:95)
                        at System.Version.VersionResult.SetFailure(ParseFailureKind failure, String argument) (TaskId:95)
                        at System.Version.TryParseVersion(String version, VersionResult& result) (TaskId:95)
                        at System.Version.Parse(String input) (TaskId:95)
                        at System.Version..ctor(String version) (TaskId:95)
                        at Microsoft.Tools.WindowsInstallerXml.Common.IsValidModuleOrBundleVersion(String version) in c:\src\wix39\src\tools\wix\Common.cs:line 327 (TaskId:95)
                        at Microsoft.Tools.WindowsInstallerXml.ChainPackageInfo.ResolveMsiPackage(BinderFileManager fileManager, Dictionary`2 allPayloads, Dictionary`2 containers, YesNoType suppressLooseFilePayloadGeneration, YesNoType enableFeatureSelection, YesNoType forcePerMachine, Output bundle) in c:\src\wix39\src\tools\wix\ChainPackageInfo.cs:line 610 (TaskId:95)
                        at Microsoft.Tools.WindowsInstallerXml.ChainPackageInfo..ctor(Row chainPackageRow, Table wixGroupTable, Dictionary`2 allPayloads, Dictionary`2 containers, BinderFileManager fileManager, BinderCore core, Output bundle) in c:\src\wix39\src\tools\wix\ChainPackageInfo.cs:line 207 (TaskId:95)
                        at Microsoft.Tools.WindowsInstallerXml.Binder.BindBundle(Output bundle, String bundleFile) in c:\src\wix39\src\tools\wix\Binder.cs:line 3411 (TaskId:95)
                        at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String file) in c:\src\wix39\src\tools\wix\Binder.cs:line 616 (TaskId:95)
                        at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) in c:\src\wix39\src\tools\light\light.cs:line 462 (TaskId:95)
                     The command exited with code 1. (TaskId:95)
                   Done executing task "Light" -- FAILED. (TaskId:95)

Originally posted by mschmits

Collaborator

wixbot commented Nov 11, 2014

Thanks. Unfortunately, I don't think there's a workaround...I can't say I've ever seen someone trying to use a five-part version number, hence the exception instead of useful error. MSI ignores the fourth (and any other) version parts so upgrades won't work well.

Originally posted by barnson

Collaborator

wixbot commented Nov 11, 2014

Thanks for trying, I appreciate the support. The 5 place version number was a first for me too. Digging in the MSI, there is evidence to suggest that the version of InstallShield that may have generated the package does not prevent this from happening. ;)

Even if I'm stuck without a workaround, I hope we can get a little more information out from Light so there isn't a hunt for the responsible package should this impact anyone else.

Thanks again for trying to find a workaround!

Originally posted by mschmits

Collaborator

wixbot commented Nov 13, 2014

Best-effort recovery of MSI three-part version numbers with a warning if there's anything beyond.

AssignedTo set to bobarnson
Release changed from v3.9 to v3.10

Collaborator

wixbot commented Jan 31, 2015

wixtoolset/wix3#195

Originally posted by barnson

Collaborator

wixbot commented Jan 31, 2015

Originally changed by barnson
Resolution set to fixed
Status changed from Open to Resolved

@wixbot wixbot added bug linker labels Dec 20, 2015

barnson was assigned by wixbot Dec 20, 2015

wixbot added this to the v3.10 milestone Dec 20, 2015

wixbot closed this Dec 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment