[wix-users] SWID Tag input string was not in a correct format error from Light

David Hary davidhary at gmail.com
Mon Aug 31 12:20:02 PDT 2015


by dotted string I mean the file name that has dots in the path name.

like this:

isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj

it looks like the trace has line numbers now.  let me know if you need to
full log.

On Mon, Aug 31, 2015 at 11:59 AM, David Hary <davidhary at gmail.com> wrote:

> will do that...
>
> On Mon, Aug 31, 2015 at 11:53 AM, David Hary <davidhary at gmail.com> wrote:
>
>> see attached
>>
>> On Mon, Aug 31, 2015 at 11:40 AM, David Hary <davidhary at gmail.com> wrote:
>>
>>> will do.
>>>
>>> On Mon, Aug 31, 2015 at 11:39 AM, David Hary <davidhary at gmail.com>
>>> wrote:
>>>
>>>> Rob,
>>>>
>>>> I did not do the wix-debug item wondering if the bug has to do with the
>>>> long dotted string. I had an issue with a long dotted string also when
>>>> using the assembly version bind command, which I solved by replacing the
>>>> long dotted string with a shorted directory id. As I recall having more
>>>> than 2 or 3 dots thew a monkey wrench at the parser. let me know if you'd
>>>> like info on that as well.
>>>>
>>>>
>>>>
>>>> On Mon, Aug 31, 2015 at 11:08 AM, David Hary <davidhary at gmail.com>
>>>> wrote:
>>>>
>>>>> Here is the item from the log:
>>>>>
>>>>> "C:\My\LIBRARIES\VS\IO\Diolan\isr.IO.Diolan.sln" (default target) (1)
>>>>> ->
>>>>> "C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj"
>>>>> (default
>>>>>  target) (11) ->
>>>>> (Link target) ->
>>>>>   light.exe : error LGHT0001: Input string was not in a correct
>>>>> format. [C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Drive
>>>>> r.Console.WiX\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj]
>>>>>
>>>>>     0 Warning(s)
>>>>>     1 Error(s)
>>>>>
>>>>> please let me know if you need more info.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Aug 31, 2015 at 10:22 AM, David Hary <davidhary at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> I too used a directory down the folder tree. I show TARGETDIR in the
>>>>>> example rather than the lower directory, which is idiosyncratic. Both
>>>>>> failed with the same error. Because the install otherwise works, the
>>>>>> directory id is likely kosher. I'll try to figure out how to get the log
>>>>>> per Rob's clues.
>>>>>>
>>>>>> On Mon, Aug 31, 2015 at 10:00 AM, Phill Hogland <
>>>>>> phill.hogland at rimage.com> wrote:
>>>>>>
>>>>>>> I'm curious as to what TARGETDIR is set too, in the example posted.
>>>>>>> The posted code looks similar to what works for me, but I use a DirectoryId
>>>>>>> that is lower in my Folder tree.
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
>>>>>>> Behalf Of Rob Mensching
>>>>>>> Sent: Monday, August 31, 2015 11:57 AM
>>>>>>> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
>>>>>>> Subject: Re: [wix-users] SWID Tag input string was not in a correct
>>>>>>> format error from Light
>>>>>>>
>>>>>>> Yeah, we'd like to get this bug fixed as quickly as possible to make
>>>>>>> WiX v3.10 deadline. Problem is we don't repro this issue at FireGiant, so
>>>>>>> your data should help make it clear.
>>>>>>>
>>>>>>> _______________________________________________________________
>>>>>>>  FireGiant  |  Dedicated support for the WiX toolset  |
>>>>>>> http://www.firegiant.com/
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
>>>>>>> Behalf Of David Hary
>>>>>>> Sent: Monday, August 31, 2015 9:26 AM
>>>>>>> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
>>>>>>> Subject: Re: [wix-users] SWID Tag input string was not in a correct
>>>>>>> format error from Light
>>>>>>>
>>>>>>> sure, Rob, your wish is my command -- I'll try to figure out how to
>>>>>>> do that
>>>>>>> -- the least one could do to pay the dues that you are owed!
>>>>>>>
>>>>>>> On Mon, Aug 31, 2015 at 9:05 AM, Rob Mensching <rob at firegiant.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> > Can you build from the command with msbuild with logging on? There
>>>>>>> > will be a much longer error message that will help figure out the
>>>>>>> > issue. If you can copy down the wix-debug.zip and extract the files
>>>>>>> > next to where you installed, that'd be even more help tracking
>>>>>>> down the issue.
>>>>>>> >
>>>>>>> > _______________________________________________________________
>>>>>>> >  FireGiant  |  Dedicated support for the WiX toolset  |
>>>>>>> > http://www.firegiant.com/
>>>>>>> >
>>>>>>> > -----Original Message-----
>>>>>>> > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
>>>>>>> > Behalf Of David Hary
>>>>>>> > Sent: Saturday, August 29, 2015 11:39 AM
>>>>>>> > To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org
>>>>>>> >
>>>>>>> > Subject: Re: [wix-users] SWID Tag input string was not in a correct
>>>>>>> > format error from Light
>>>>>>> >
>>>>>>> > Correct: Product.
>>>>>>> >
>>>>>>> > This is what I get in the Error List panel.
>>>>>>> >
>>>>>>> > Severity Code Description Project File Line Error Input string was
>>>>>>> not
>>>>>>> > in a correct format.
>>>>>>> > isr.IO.Diolan.Handler.Driver.Console.WiX light.exe 0
>>>>>>> >
>>>>>>> > Also, the tab works fine in the bootstrap project.
>>>>>>> >
>>>>>>> >
>>>>>>> > On Sat, Aug 29, 2015 at 11:34 AM, Rob Mensching <rob at firegiant.com>
>>>>>>> wrote:
>>>>>>> >
>>>>>>> > > Can you provide more context? Did you mean Product instead of
>>>>>>> Project?
>>>>>>> > > Can you provide the full error and other messages around the
>>>>>>> error?
>>>>>>> > >
>>>>>>> > > _______________________________________________________________
>>>>>>> > >  FireGiant  |  Dedicated support for the WiX toolset  |
>>>>>>> > > http://www.firegiant.com/
>>>>>>> > >
>>>>>>> > > -----Original Message-----
>>>>>>> > > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org]
>>>>>>> On
>>>>>>> > > Behalf Of David Hary
>>>>>>> > > Sent: Saturday, August 29, 2015 11:20 AM
>>>>>>> > > To: WiX Toolset Users Mailing List <
>>>>>>> wix-users at lists.wixtoolset.org>
>>>>>>> > > Subject: [wix-users] SWID Tag input string was not in a correct
>>>>>>> > > format error from Light
>>>>>>> > >
>>>>>>> > > With 3.10.0.2026 and this code in <Project>:
>>>>>>> > >
>>>>>>> > > <swid:Tag Regid='acme.com' InstallDirectory='TARGETDIR'/>
>>>>>>> > >
>>>>>>> > > Light reports an error: Input string was not in a correct format.
>>>>>>> > >
>>>>>>> > > Is there a file where I could find the offending string?
>>>>>>> > >
>>>>>>> > >
>>>>>>> ____________________________________________________________________
>>>>>>> > > WiX Toolset Users Mailing List provided by FireGiant
>>>>>>> > > http://www.firegiant.com/
>>>>>>> > >
>>>>>>> > >
>>>>>>> ____________________________________________________________________
>>>>>>> > > WiX Toolset Users Mailing List provided by FireGiant
>>>>>>> > > http://www.firegiant.com/
>>>>>>> > >
>>>>>>> >
>>>>>>> >
>>>>>>> ____________________________________________________________________
>>>>>>> > WiX Toolset Users Mailing List provided by FireGiant
>>>>>>> > http://www.firegiant.com/
>>>>>>> >
>>>>>>> >
>>>>>>> ____________________________________________________________________
>>>>>>> > WiX Toolset Users Mailing List provided by FireGiant
>>>>>>> > http://www.firegiant.com/
>>>>>>> >
>>>>>>>
>>>>>>> ____________________________________________________________________
>>>>>>> WiX Toolset Users Mailing List provided by FireGiant
>>>>>>> http://www.firegiant.com/
>>>>>>>
>>>>>>> ____________________________________________________________________
>>>>>>> WiX Toolset Users Mailing List provided by FireGiant
>>>>>>> http://www.firegiant.com/
>>>>>>>
>>>>>>> ____________________________________________________________________
>>>>>>> WiX Toolset Users Mailing List provided by FireGiant
>>>>>>> http://www.firegiant.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
    11>Target "Link: (TargetId:598)" in file "C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets" from project "C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj" (target "CompileAndLink" depends on it):
       Building target "Link" completely.
       Input file "obj\x64\Debug\pthC804DD54061705F812B1A515EF244FDE\ProductMenuFolder.wixobj" is newer than output file "C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\bin\x64\Debug\Diolan.Handler.Driver.Console.2015.Setup.wixpdb".
       Task "CreateProperty" (TaskId:403)
         Task Parameter:Value=C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\bin\x64\Debug\Diolan.Handler.Driver.Console.2015.Setup.wixpdb (TaskId:403)
         Output Property: PdbOutputFile=C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\bin\x64\Debug\Diolan.Handler.Driver.Console.2015.Setup.wixpdb (TaskId:403)
       Done executing task "CreateProperty". (TaskId:403)
       Using "Light" task from assembly "C:\Program Files (x86)\WiX Toolset v3.10\bin\\WixTasks.dll".
       Task "Light" (TaskId:404)
         Task Parameter:
             ObjectFiles=
                 obj\x64\Debug\pthC804DD54061705F812B1A515EF244FDE\ProductMenuFolder.wixobj
                         Link=Shared\ProductMenuFolder.wxs
                         ObjectPath=obj\x64\Debug\pthC804DD54061705F812B1A515EF244FDE\
                 obj\x64\Debug\pthC804DD54061705F812B1A515EF244FDE\ProductProgramFolder.wixobj
                         Link=Shared\ProductProgramFolder.wxs
                         ObjectPath=obj\x64\Debug\pthC804DD54061705F812B1A515EF244FDE\
                 obj\x64\Debug\pth1FCF7B264B6864594BA7594599DDD998\CheckFramework40.wixobj
                         Link=Shared\CheckFramework40.wxs
                         ObjectPath=obj\x64\Debug\pth1FCF7B264B6864594BA7594599DDD998\
                 obj\x64\Debug\pth5D63474A4C3DFB3C06F5A200C4054774\MsiPublishAssemblies.wixobj
                         Link=Shared\MsiPublishAssemblies.wxs
                         ObjectPath=obj\x64\Debug\pth5D63474A4C3DFB3C06F5A200C4054774\
                 obj\x64\Debug\pthA07E08789EDC988AB44F43719831C5ED\IntegratedScientificResourcesInfo.wixobj
                         Link=Shared\IntegratedScientificResourcesInfo.wxs
                         ObjectPath=obj\x64\Debug\pthA07E08789EDC988AB44F43719831C5ED\
                 obj\x64\Debug\DirectoryTree.wixobj
                         ObjectPath=obj\x64\Debug\
                 obj\x64\Debug\MyAssembly.wixobj
                         ObjectPath=obj\x64\Debug\
                 obj\x64\Debug\Product.wixobj
                         ObjectPath=obj\x64\Debug\
                 obj\x64\Debug\pth5E8A066FD26E92CD8FA93DDD3CE62F48\Microsoft.ExceptionMessageBox.2014.wixobj
                         ObjectPath=obj\x64\Debug\pth5E8A066FD26E92CD8FA93DDD3CE62F48\ (TaskId:404)
         Task Parameter:BindContentsFile=obj\x64\Debug\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj.BindContentsFileListnull.txt (TaskId:404)
         Task Parameter:BindOutputsFile=obj\x64\Debug\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj.BindOutputsFileListnull.txt (TaskId:404)
         Task Parameter:BindBuiltOutputsFile=obj\x64\Debug\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj.BindBuiltOutputsFileListnull.txt (TaskId:404)
         Task Parameter:Cultures=null (TaskId:404)
         Task Parameter:ExtensionDirectory=C:\Program Files (x86)\WiX Toolset v3.10\bin\ (TaskId:404)
         Task Parameter:
             Extensions=
                 C:\Program Files (x86)\WiX Toolset v3.10\bin\WixTagExtension.dll
                         HintPath=C:\Program Files (x86)\WiX Toolset v3.10\bin\\WixTagExtension.dll
                         Name=WixTagExtension
                         OriginalItemSpec=WixTagExtension
                 C:\Program Files (x86)\WiX Toolset v3.10\bin\WixUtilExtension.dll
                         HintPath=C:\Program Files (x86)\WiX Toolset v3.10\bin\\WixUtilExtension.dll
                         Name=WixUtilExtension
                         OriginalItemSpec=WixUtilExtension
                 C:\Program Files (x86)\WiX Toolset v3.10\bin\WixUIExtension.dll
                         HintPath=C:\Program Files (x86)\WiX Toolset v3.10\bin\\WixUIExtension.dll
                         Name=WixUIExtension
                         OriginalItemSpec=WixUIExtension
                 C:\Program Files (x86)\WiX Toolset v3.10\bin\WixNetFxExtension.dll
                         HintPath=C:\Program Files (x86)\WiX Toolset v3.10\bin\\WixNetFxExtension.dll
                         Name=WixNetFxExtension
                         OriginalItemSpec=WixNetFxExtension (TaskId:404)
         Task Parameter:OutputFile=C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\bin\x64\Debug\Diolan.Handler.Driver.Console.2015.Setup.msi (TaskId:404)
         Task Parameter:PdbOutputFile=C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\bin\x64\Debug\Diolan.Handler.Driver.Console.2015.Setup.wixpdb (TaskId:404)
         Task Parameter:ToolPath=C:\Program Files (x86)\WiX Toolset v3.10\bin\ (TaskId:404)
         Task Parameter:WixProjectFile=C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj (TaskId:404)
         Command: (TaskId:404)
         C:\Program Files (x86)\WiX Toolset v3.10\bin\Light.exe -out C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\bin\x64\Debug\Diolan.Handler.Driver.Console.2015.Setup.msi -pdbout C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\bin\x64\Debug\Diolan.Handler.Driver.Console.2015.Setup.wixpdb -cultures:null -ext "C:\Program Files (x86)\WiX Toolset v3.10\bin\\WixTagExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.10\bin\\WixUtilExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.10\bin\\WixUIExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.10\bin\\WixNetFxExtension.dll" -contentsfile obj\x64\Debug\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj.BindContentsFileListnull.txt -outputsfile obj\x64\Debug\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj.BindOutputsFileListnull.txt -builtoutputsfile obj\x64\Debug\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile C:\My\LIBRARIES\VS\IO\Diolan\WiX\Handler.Driver.Console.WiX\isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj obj\x64\Debug\pthC804DD54061705F812B1A515EF244FDE\ProductMenuFolder.wixobj obj\x64\Debug\pthC804DD54061705F812B1A515EF244FDE\ProductProgramFolder.wixobj obj\x64\Debug\pth1FCF7B264B6864594BA7594599DDD998\CheckFramework40.wixobj obj\x64\Debug\pth5D63474A4C3DFB3C06F5A200C4054774\MsiPublishAssemblies.wixobj obj\x64\Debug\pthA07E08789EDC988AB44F43719831C5ED\IntegratedScientificResourcesInfo.wixobj obj\x64\Debug\DirectoryTree.wixobj obj\x64\Debug\MyAssembly.wixobj obj\x64\Debug\Product.wixobj obj\x64\Debug\pth5E8A066FD26E92CD8FA93DDD3CE62F48\Microsoft.ExceptionMessageBox.2014.wixobj (TaskId:404)
         Windows Installer XML Toolset Linker version 3.10.0.2026 (TaskId:404)
         Copyright (c) Outercurve Foundation. All rights reserved. (TaskId:404)
          (TaskId:404)
    11>light.exe : error LGHT0001: Input string was not in a correct format.
          (TaskId:404)
         Exception Type: System.FormatException (TaskId:404)
          (TaskId:404)
         Stack Trace: (TaskId:404)
            at System.Version.VersionResult.SetFailure(ParseFailureKind failure, String argument) (TaskId:404)
            at System.Version.TryParseComponent(String component, String componentName, VersionResult& result, Int32& parsedComponent) (TaskId:404)
            at System.Version.TryParseVersion(String version, VersionResult& result) (TaskId:404)
            at System.Version.Parse(String input) (TaskId:404)
            at System.Version..ctor(String version) (TaskId:404)
            at Microsoft.Tools.WindowsInstallerXml.Extensions.TagBinder.CreateFourPartVersion(String versionString) in C:\agent\_work\eca3d12b\wix3\src\ext\TagExtension\wixext\TagBinder.cs:line 201 (TaskId:404)
            at Microsoft.Tools.WindowsInstallerXml.Extensions.TagBinder.CreateProductTagFiles(Output output) in C:\agent\_work\eca3d12b\wix3\src\ext\TagExtension\wixext\TagBinder.cs:line 127 (TaskId:404)
            at Microsoft.Tools.WindowsInstallerXml.Extensions.TagBinder.DatabaseInitialize(Output output) in C:\agent\_work\eca3d12b\wix3\src\ext\TagExtension\wixext\TagBinder.cs:line 72 (TaskId:404)
            at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase(Output output, String databaseFile) in C:\agent\_work\eca3d12b\wix3\src\tools\wix\Binder.cs:line 1684 (TaskId:404)
            at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output, String file) in C:\agent\_work\eca3d12b\wix3\src\tools\wix\Binder.cs:line 658 (TaskId:404)
            at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args) in C:\agent\_work\eca3d12b\wix3\src\tools\light\light.cs:line 462 (TaskId:404)
         The command exited with code 1. (TaskId:404)
       Done executing task "Light" -- FAILED. (TaskId:404)
    11>Done building target "Link" in project "isr.IO.Diolan.Handler.Driver.Console.WiX.wixproj" -- FAILED.: (TargetId:598)

	
	


More information about the wix-users mailing list