I noticed something:
  
 KMI.IntelliDrive.ServicesHost.vshost.exe.config <-- Light error
 KMI.IntelliDrive.ServicesHost.exe.config <-- PS ls

 They aren't the same filename (vshost part is missing in the directory 
listing).
 
> Date: Fri, 23 Aug 2013 16:21:18 -0400
> From: doug.bod...@kantarmedia.com
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] LGHT0103 error where path is shorter than 255    
> characters and file is present.
> 
> I'm seeing a LGHT0103 error. The files are simply reported as not found;
> but they're there. If you look at the light.exe command I ran below - I
> grabbed the command text from a Visual Studio build log, and then ran
> the ls command in powershell immediately after to demonstrate that the
> file is there.
> 
>  
> 
> Does not seem to be related to the path length or have the "cannot find
> file with type" message in a similar behavior I saw reported.
> 
>  
> 
> Powershell session w/ light.exe reproducing the error, and ls
> demonstrating the file is there:
> 
>  
> 
>  
> 
> PS
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup> light.exe -out
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup\bin\Release\en-US\IntelliDriv
> eServiceHostWixSetup.msi -pdbout
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup\bin\Release\en-US\IntelliDriv
> eServiceHostWixSetup.wixpdb -cultures:en-US -ext "C:\Program Files
> (x86)\WiX Toolset v3.7\bin\\WixNetFxExtension.dll" -loc
> UI\WixUI_en-us.wxl -contentsfile
> obj\Release\IntelliDriveServiceHostWixSetup.wixproj.BindContentsFileList
> en-US.txt -outputsfile
> obj\Release\IntelliDriveServiceHostWixSetup.wixproj.BindOutputsFileListe
> n-US.txt -builtoutputsfile
> obj\Release\IntelliDriveServiceHostWixSetup.wixproj.BindBuiltOutputsFile
> Listen-US.txt -wixprojectfile
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup\IntelliDriveServiceHostWixSet
> up.wixproj obj\Release\CommonConfigContent.wixobj
> obj\Release\Product.wixobj obj\Release\ServiceHostContent.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\CancelDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\Common.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\EnvironmentSelectionDial
> og.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\ErrorDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\ExitDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\FatalErrorDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\FilesInUseDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\PrimarySecondarySelectio
> nDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\ProgressDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\ServiceInstallerUI.wixob
> j obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\UserExitDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\WelcomeDialog.wixobj
> obj\Release\WindowsService.wixobj obj\Release\Product.Generated.wixobj
> 
> Windows Installer Xml Linker version 3.7.1224.0
> 
> Copyright (C) Outercurve Foundation. All rights reserved.
> 
>  
> 
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup\ServiceHostContent.wxs(67) :
> error LGHT0103 : The system cannot find the file
> 'D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\I
> ntelliDrive\Services
> Domain\KMI.IntelliDrive.ServicesHost\bin\Release\\KMI.IntelliDrive.Servi
> cesHost.vshost.exe.config'.
> 
>  
> 
> PS
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup> ls
> 'D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\I
> ntelliDrive\Services
> Domain\KMI.IntelliDrive.ServicesHost\bin\Release\\KMI.IntelliDrive.Servi
> cesHost.exe.config'
> 
>  
> 
>  
> 
>     Directory:
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\Services Domain\KMI.IntelliDrive.ServicesHost\bin\Release
> 
>  
> 
>  
> 
> Mode                LastWriteTime     Length Name
> 
> 
> ----                -------------     ------ ----
> 
> 
> -a---         8/21/2013   1:40 PM       5480
> KMI.IntelliDrive.ServicesHost.exe.config
> See? The file is there. Local disk, so transient network problems are
> not the cause.
> 
>  
> 
> And here's the relevant bit of XML from the .wxs file containing the
> component/file reference. It's a pretty simple bit of XML:
> 
>  
> 
> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
> 
>     <Fragment>
> 
>         <DirectoryRef Id="INSTALLDIR">
> 
>             <Directory Id="Config" Name="Config" />
> 
>         </DirectoryRef>
> 
>     </Fragment>
> 
>     <Fragment>
> 
>             <Component
> Id="KMI.IntelliDrive.ServicesHost.vshost.exe.config"
> Directory="INSTALLDIR" Guid="*">
> 
>                 <File
> Id="KMI.IntelliDrive.ServicesHost.vshost.exe.config" KeyPath="yes"
> Source="$(var.KMI.IntelliDrive.ServicesHost.TargetDir)\KMI.IntelliDrive.
> ServicesHost.vshost.exe.config" />
> 
>             </Component>
> 
>  
> 
> ...
> 
>  
> 
> There are three files out of a few dozen that seem to cause the trouble
> from time to time. I cannot see any pattern that might be causing the
> problem. Can someone tell me what to do to gather more information? It
> seems almost as though I'd need to run light.exe in a debugger to figure
> this one out.
> 
>  
> 
> Also, this does not seem to be the path length issue. Path length is
> around 200 characters, not near the 255 character limit. So I am not
> inclined to see it as this one: http://sourceforge.net/p/wix/bugs/2445/
> 
>  
> 
> Thanks,
> 
> Doug
> 
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and 
> AppDynamics. Performance Central is your source for news, insights, 
> analysis and resources for efficient Application Performance Management. 
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to