Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Heat harvesting is URL Encoding parenthesis in “Content” filenames resulting in LGHT0103 errors. #4062

Closed
wixbot opened this Issue Jul 19, 2013 · 3 comments

Comments

Projects
None yet
1 participant
Collaborator

wixbot commented Jul 19, 2013

I am using WiX v3.8.715.0 with my solution, which utilizes project harvesting. Some of the harvested files are 'Content' type and contain parenthesis in the filenames. In the generated .WXS file, the parenthesis are URL encoded in the Source attribute for the File element. This is resulting in LGHT0103 errors. (I am using VS2010, Win7 x64).

Compile error:

    C:\Program Files (x86)\WiX Toolset v3.8\bin\Heat.exe project C:\Dev\STS\Mainline\Common\Common.csproj -configuration Release -directoryid INSTALLFOLDER -platform AnyCPU -pog Binaries -pog Symbols -pog Sources -pog Content -pog Satellites -pog Documents -projectname Common -ag -sfrag -out obj\Release\_Common.wxs
    Windows Installer XML Toolset Toolset Harvester version 3.8.715.0
    Copyright (c) Outercurve Foundation. All rights reserved.
    C:\Program Files (x86)\WiX Toolset v3.8\bin\Heat.exe project C:\Dev\STS\Mainline\DaqBoardLib\DaqBoardLib.csproj -configuration Release -directoryid INSTALLFOLDER -platform AnyCPU -pog Binaries -pog Symbols -pog Sources -pog Content -pog Satellites -pog Documents -projectname DaqBoardLib -ag -sfrag -out obj\Release\_DaqBoardLib.wxs
    Windows Installer XML Toolset Toolset Harvester version 3.8.715.0
    Copyright (c) Outercurve Foundation. All rights reserved.
    C:\Program Files (x86)\WiX Toolset v3.8\bin\Heat.exe project C:\Dev\STS\Mainline\NModbus\Modbus.csproj -configuration Release -directoryid INSTALLFOLDER -platform AnyCPU -pog Binaries -pog Symbols -pog Sources -pog Content -pog Satellites -pog Documents -projectname Modbus -ag -sfrag -out obj\Release\_Modbus.wxs
    Windows Installer XML Toolset Toolset Harvester version 3.8.715.0
    Copyright (c) Outercurve Foundation. All rights reserved.
    C:\Program Files (x86)\WiX Toolset v3.8\bin\Heat.exe project C:\Dev\STS\Mainline\SelfHostedWebApp\SelfHostedWebApp.csproj -configuration Release -directoryid INSTALLFOLDER -platform AnyCPU -pog Binaries -pog Symbols -pog Sources -pog Content -pog Satellites -pog Documents -projectname SelfHostedWebApp -ag -sfrag -out obj\Release\_SelfHostedWebApp.wxs
    Windows Installer XML Toolset Toolset Harvester version 3.8.715.0
    Copyright (c) Outercurve Foundation. All rights reserved.
    C:\Program Files (x86)\WiX Toolset v3.8\bin\Heat.exe project C:\Dev\STS\Mainline\TestBench\TestBench.csproj -configuration Release -directoryid INSTALLFOLDER -platform AnyCPU -pog Binaries -pog Symbols -pog Sources -pog Content -pog Satellites -pog Documents -projectname TestBench -ag -sfrag -out obj\Release\_TestBench.wxs
    Windows Installer XML Toolset Toolset Harvester version 3.8.715.0
    Copyright (c) Outercurve Foundation. All rights reserved.
    C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe -d"TargetNameWithVersion=StsSetup 1.2.2.1" -dAppVersion=1.2.2.1 -dProjectOutDir=..\bin\Release\ -d"DevEnvDir=c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\\" -dSolutionDir=C:\Dev\STS\Mainline\ -dSolutionExt=.sln -dSolutionFileName=SimulationTestSystem.sln -dSolutionName=SimulationTestSystem -dSolutionPath=C:\Dev\STS\Mainline\SimulationTestSystem.sln -dConfiguration=Release -dOutDir=..\bin\Release\ -dPlatform=x86 -dProjectDir=C:\Dev\STS\Mainline\StsSetup\ -dProjectExt=.wixproj -dProjectFileName=StsSetupWix.wixproj -dProjectName=StsSetupWix -dProjectPath=C:\Dev\STS\Mainline\StsSetup\StsSetupWix.wixproj -dTargetDir=C:\Dev\STS\Mainline\bin\Release\ -dTargetExt=.msi -dTargetFileName=StsSetup.msi -dTargetName=StsSetup -dTargetPath=C:\Dev\STS\Mainline\bin\Release\StsSetup.msi -dCommon.Configuration=Release -d"Common.FullConfiguration=Release|AnyCPU" -dCommon.Platform=AnyCPU -dCommon.ProjectDir=C:\Dev\STS\Mainline\Common\ -dCommon.ProjectExt=.csproj -dCommon.ProjectFileName=Common.csproj -dCommon.ProjectName=Common -dCommon.ProjectPath=C:\Dev\STS\Mainline\Common\Common.csproj -dCommon.TargetDir=C:\Dev\STS\Mainline\bin\Release\ -dCommon.TargetExt=.dll -dCommon.TargetFileName=Common.dll -dCommon.TargetName=Common -dCommon.TargetPath=C:\Dev\STS\Mainline\bin\Release\Common.dll -dDaqBoardLib.Configuration=Release -d"DaqBoardLib.FullConfiguration=Release|AnyCPU" -dDaqBoardLib.Platform=AnyCPU -dDaqBoardLib.ProjectDir=C:\Dev\STS\Mainline\DaqBoardLib\ -dDaqBoardLib.ProjectExt=.csproj -dDaqBoardLib.ProjectFileName=DaqBoardLib.csproj -dDaqBoardLib.ProjectName=DaqBoardLib -dDaqBoardLib.ProjectPath=C:\Dev\STS\Mainline\DaqBoardLib\DaqBoardLib.csproj -dDaqBoardLib.TargetDir=C:\Dev\STS\Mainline\bin\Release\ -dDaqBoardLib.TargetExt=.dll -dDaqBoardLib.TargetFileName=DaqBoardLib.dll -dDaqBoardLib.TargetName=DaqBoardLib -dDaqBoardLib.TargetPath=C:\Dev\STS\Mainline\bin\Release\DaqBoardLib.dll -dModbus.Configuration=Release -d"Modbus.FullConfiguration=Release|AnyCPU" -dModbus.Platform=AnyCPU -dModbus.ProjectDir=C:\Dev\STS\Mainline\NModbus\ -dModbus.ProjectExt=.csproj -dModbus.ProjectFileName=Modbus.csproj -dModbus.ProjectName=Modbus -dModbus.ProjectPath=C:\Dev\STS\Mainline\NModbus\Modbus.csproj -dModbus.TargetDir=C:\Dev\STS\Mainline\bin\Release\ -dModbus.TargetExt=.dll -dModbus.TargetFileName=Modbus.dll -dModbus.TargetName=Modbus -dModbus.TargetPath=C:\Dev\STS\Mainline\bin\Release\Modbus.dll -dSelfHostedWebApp.Configuration=Release -d"SelfHostedWebApp.FullConfiguration=Release|AnyCPU" -dSelfHostedWebApp.Platform=AnyCPU -dSelfHostedWebApp.ProjectDir=C:\Dev\STS\Mainline\SelfHostedWebApp\ -dSelfHostedWebApp.ProjectExt=.csproj -dSelfHostedWebApp.ProjectFileName=SelfHostedWebApp.csproj -dSelfHostedWebApp.ProjectName=SelfHostedWebApp -dSelfHostedWebApp.ProjectPath=C:\Dev\STS\Mainline\SelfHostedWebApp\SelfHostedWebApp.csproj -dSelfHostedWebApp.TargetDir=C:\Dev\STS\Mainline\bin\Release\ -dSelfHostedWebApp.TargetExt=.dll -dSelfHostedWebApp.TargetFileName=SelfHostedWebApp.dll -dSelfHostedWebApp.TargetName=SelfHostedWebApp -dSelfHostedWebApp.TargetPath=C:\Dev\STS\Mainline\bin\Release\SelfHostedWebApp.dll -dSimulationTestSystem.Configuration=Release -d"SimulationTestSystem.FullConfiguration=Release|AnyCPU" -dSimulationTestSystem.Platform=AnyCPU -dSimulationTestSystem.ProjectDir=C:\Dev\STS\Mainline\SimulationTestSystem\ -dSimulationTestSystem.ProjectExt=.csproj -dSimulationTestSystem.ProjectFileName=SimulationTestSystem.csproj -dSimulationTestSystem.ProjectName=SimulationTestSystem -dSimulationTestSystem.ProjectPath=C:\Dev\STS\Mainline\SimulationTestSystem\SimulationTestSystem.csproj -dSimulationTestSystem.TargetDir=C:\Dev\STS\Mainline\bin\Release\ -dSimulationTestSystem.TargetExt=.exe -dSimulationTestSystem.TargetFileName=SimulationTestSystem.exe -dSimulationTestSystem.TargetName=SimulationTestSystem -dSimulationTestSystem.TargetPath=C:\Dev\STS\Mainline\bin\Release\SimulationTestSystem.exe -dTestBench.Configuration=Release -d"TestBench.FullConfiguration=Release|AnyCPU" -dTestBench.Platform=AnyCPU -dTestBench.ProjectDir=C:\Dev\STS\Mainline\TestBench\ -dTestBench.ProjectExt=.csproj -dTestBench.ProjectFileName=TestBench.csproj -dTestBench.ProjectName=TestBench -dTestBench.ProjectPath=C:\Dev\STS\Mainline\TestBench\TestBench.csproj -dTestBench.TargetDir=C:\Dev\STS\Mainline\bin\Release\ -dTestBench.TargetExt=.dll -dTestBench.TargetFileName=TestBench.dll -dTestBench.TargetName=TestBench -dTestBench.TargetPath=C:\Dev\STS\Mainline\bin\Release\TestBench.dll -out obj\Release\ -arch x86 -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixNetFxExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixUIExtension.dll" Product.wxs obj\Release\Product.Generated.wxs obj\Release\_Common.wxs obj\Release\_DaqBoardLib.wxs obj\Release\_Modbus.wxs obj\Release\_SelfHostedWebApp.wxs obj\Release\_TestBench.wxs
    Windows Installer XML Toolset Compiler version 3.8.715.0
    Copyright (c) Outercurve Foundation. All rights reserved.
    Product.wxs
    Product.Generated.wxs
    _Common.wxs
    _DaqBoardLib.wxs
    _Modbus.wxs
    _SelfHostedWebApp.wxs
    _TestBench.wxs
    C:\Program Files (x86)\WiX Toolset v3.8\bin\Light.exe -out "C:\Dev\STS\Mainline\bin\Release\StsSetup 1.2.2.1.msi" -pdbout C:\Dev\STS\Mainline\bin\Release\StsSetup.wixpdb -cultures:null -dWixUILicenseRtf=License.rtf -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixNetFxExtension.dll" -ext "C:\Program Files (x86)\WiX Toolset v3.8\bin\\WixUIExtension.dll" -contentsfile obj\Release\StsSetupWix.wixproj.BindContentsFileListnull.txt -outputsfile obj\Release\StsSetupWix.wixproj.BindOutputsFileListnull.txt -builtoutputsfile obj\Release\StsSetupWix.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile C:\Dev\STS\Mainline\StsSetup\StsSetupWix.wixproj obj\Release\Product.wixobj obj\Release\Product.Generated.wixobj obj\Release\_Common.wixobj obj\Release\_DaqBoardLib.wixobj obj\Release\_Modbus.wixobj obj\Release\_SelfHostedWebApp.wixobj obj\Release\_TestBench.wixobj
    Windows Installer XML Toolset Linker version 3.8.715.0
    Copyright (c) Outercurve Foundation. All rights reserved.

C:\Dev\STS\Mainline\StsSetup\obj\Release_TestBench.wxs(378,0): error LGHT0103: The system cannot find the file 'C:\Dev\STS\Mainline\TestBench\TestSequences\Examples\ModbusMasterTest%28Failing%29.xlsx'.
C:\Dev\STS\Mainline\StsSetup\obj\Release_TestBench.wxs(381,0): error LGHT0103: The system cannot find the file 'C:\Dev\STS\Mainline\TestBench\TestSequences\Examples\ModbusMasterTest%28Passing%29.xlsx'.
C:\Dev\STS\Mainline\StsSetup\obj\Release_TestBench.wxs(387,0): error LGHT0103: The system cannot find the file 'C:\Dev\STS\Mainline\TestBench\TestSequences\Examples\WaitForPollingTest%28Quick%29.xlsx'.
Done building project "StsSetupWix.wixproj" -- FAILED.

Build FAILED.


_TestBench.wxs snippet from v3.8.715.0 notice the %28 and %29:

                <Component Id="cmp6CDB184858D360943FCDFC6BD937DBF0" Guid="*">
                    <File Id="fil262AA26F748CE9415B1FB50218C3E229" Source="$(var.TestBench.ProjectDir)\TestSequences\Examples\ModbusMasterTest%28Failing%29.xlsx" />
                </Component>
                <Component Id="cmpD6E7A2BC8AFF63CC58D481D82BD07615" Guid="*">
                    <File Id="fil644A69FF26B641A4BED3D50EA84F5ADE" Source="$(var.TestBench.ProjectDir)\TestSequences\Examples\ModbusMasterTest%28Passing%29.xlsx" />
                </Component>

_TestBench.wxs snippet from v3.7.1224.0 which does not exhibit any errors. Notice the parenthesis are preserved:

                <Component Id="cmp2281CE82F46EB956E8707D99DE087DB7" Guid="*">
                    <File Id="filCD63A340EAB047954274B11554B1F6F3" Source="$(var.TestBench.ProjectDir)\TestSequences\Examples\ModbusMasterTest(Failing).xlsx" />
                </Component>
                <Component Id="cmp50CECBB62EC91B8BA7691C1C098B6C15" Guid="*">
                    <File Id="fil6DB2555FA018878846E30BEF1A761153" Source="$(var.TestBench.ProjectDir)\TestSequences\Examples\ModbusMasterTest(Passing).xlsx" />
                </Component>

Originally opened by latencymachine from http://sourceforge.net/p/wix/bugs/3346/

Collaborator

wixbot commented Aug 22, 2013

We should understand if this is a regression.

Originally posted by robmen
Area changed from v3.8 to

Collaborator

wixbot commented Aug 22, 2013

Originally changed by bmurri
AssignedTo set to wixsupport

Collaborator

wixbot commented Sep 19, 2013

Commit 8c882316efc5

Originally posted by bmurri
Resolution set to fixed
Status changed from Open to Resolved

@wixbot wixbot added the bug label Dec 20, 2015

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

@wixbot wixbot closed this Dec 20, 2015

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