[wix-users] error LGHT0001: Illegal characters in path.

Magi, Sampattakumar S Sampattakumar.Magi at in.unisys.com
Mon Apr 25 23:05:19 PDT 2016


Thanks for the quick response Farrukh.

Candle goes well but again light says same error.

:( 

 



-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Farrukh Waheed
Sent: Tuesday, April 26, 2016 11:11 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] error LGHT0001: Illegal characters in path.

Try to build your wix outside of VS/MSbuild. E.g. Open Command Prompt in
Admin mode. and issue following commands (do correct folders accordingly,
and set any environment variables before calling these.).
"%Wix%bin\Candle.exe" D:\MyProjects\TestSetup\TestSetup.wxs -out
"D:\MyProjects\TestSetup\TestSetup.wixobj"
"%Wix%bin\Light.exe"  D:\MyProjects\TestSetup\TestSetup.wixobj -out
"D:\MyProjects\TestSetup\TestSetup.msi"

for command line details, you can always type
"%Wix%bin\Candle.exe" /?
"%Wix%bin\Light.exe" /?

Hope this helps

On 26 April 2016 at 07:22, sampat magi <ssmcs060 at gmail.com> wrote:

> No luck Farrukh. Still it's same issue.
> Completely stuck at this moment. It has been working very well but not sure
> how come it got corrupted.
> Have to rely on VM to work on the WiX setup now. Until this gets resolved.
> On Apr 25, 2016 4:59 PM, "Magi, Sampattakumar S" <
> Sampattakumar.Magi at in.unisys.com> wrote:
>
> > Ok, am going to try it out.
> > Thanks a lot for response. I will let the forum know if I can get rid off
> > this error.
> >
> >
> > -----Original Message-----
> > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> Behalf
> > Of Farrukh Waheed
> > Sent: Monday, April 25, 2016 3:58 PM
> > To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> > Subject: Re: [wix-users] error LGHT0001: Illegal characters in path.
> >
> > There might be some issue with your environment on your laptop.
> > I've found 2 threads, might be useful in this context:
> >
> >    -
> >
> >
> https://social.msdn.microsoft.com/Forums/vstudio/en-US/f7c4b6f6-29b2-417a-be68-2c45e232981b/illegal-characters-in-path?forum=tfsbuild
> >    -
> >
> >
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-3-6-and-System-ArgumentException-quot-illegal-characters-in-path-quot-during-build-td6975562.html
> >
> > Just for experiment, uninstall wix 3.10 and install wix 9.x and see if it
> > works with msbuild there...
> > Hope it helps
> >
> >
> >
> > On 25 April 2016 at 14:10, Magi, Sampattakumar S <
> > Sampattakumar.Magi at in.unisys.com> wrote:
> >
> > > User :
> > >
> > > TEMP =  C:\Users\magisams\AppData\Local\Temp (Earlier it was
> > > %userprofile%appdata\local\temp, I replaced the full path manually to
> see
> > > if error goes)
> > > TMP = C:\Users\magisams\AppData\Local\Temp
> > >
> > > System  :
> > > TEMP= %SystemRoot%\TEMP
> > > TMP = %SystemRoot%\TEMP
> > >
> > >
> > > -----Original Message-----
> > > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> > Behalf
> > > Of Rob Mensching
> > > Sent: Monday, April 25, 2016 2:36 PM
> > > To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> > > Subject: Re: [wix-users] error LGHT0001: Illegal characters in path.
> > >
> > > What's your temp folder path?
> > >
> > > _____________________________________________________________
> > >  Short replies here. Complete answers over there:
> > > http://www.firegiant.com/
> > >
> > >
> > > -----Original Message-----
> > > From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
> > Behalf
> > > Of Magi, Sampattakumar S
> > > Sent: Monday, April 25, 2016 2:04 AM
> > > To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> > > Subject: Re: [wix-users] error LGHT0001: Illegal characters in path.
> > >
> > > Excerpt from the msbuild log set to diagnostic
> > >                 Windows Installer XML Toolset Linker version
> 3.10.2.2516
> > >                 Copyright (c) Outercurve Foundation. All rights
> reserved.
> > > light.exe(0,0): error LGHT0001: Illegal characters in path.
> > >                 Exception Type: System.ArgumentException
> > >                 Stack Trace:
> > >                    at System.IO.Path.CheckInvalidPathChars(String path,
> > > Boolean checkAdditional)
> > >                    at System.IO.Path.NormalizePath(String path, Boolean
> > > fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
> > >                    at System.IO.Path.GetFullPathInternal(String path)
> > >                    at System.IO.Path.GetFullPath(String path)
> > >                    at
> > > System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated()
> > >                    at
> > >
> >
> Microsoft.Tools.WindowsInstallerXml.WixBinder.set_TempFilesLocation(String
> > > value)
> > >
> > > ____________________________________________________________________
> > > 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/


More information about the wix-users mailing list