The first thing that comes to mind when relative paths are not found is that 
the expectation of the current working directory is incorrect. I believe that 
the WiX MSBuild tasks used by .wixproj use the location where the .wixproj 
exists as the working directory requiring that any relative paths begin in that 
directory. If you are calling light.exe yourself then you'll need to decide 
whether the working directory is what you expect.

Edwin G. Castro
Software Developer - Staff
Digital Channels
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail


> -----Original Message-----
> From: shengyixing [mailto:shengyix...@hotmail.com]
> Sent: Thursday, August 16, 2012 7:01 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Relative Path cause Light unable to find sourcefiles.
> 
> Even including all the full path of this file, there is only 180 characters.
> 
> Actually, I don't think it's a file length issue, because *absolute path works
> fine*. The issue *only happens on relative path*.
> 
> 
> 
> --
> View this message in context: http://windows-installer-xml-wix-
> toolset.687559.n2.nabble.com/Relative-Path-cause-Light-unable-to-find-
> source-files-tp7579897p7579915.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and threat
> landscape has changed and how IT managers can respond. Discussions will
> include endpoint security, mobile security and the latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to