Have not at all tried this, and it may not work or cause all other kinds of 
issues...  But judging from 
http://msdn.microsoft.com/en-us/library/aa365247(v=VS.85).aspx , you could try 
prefixing the fully qualified path with \\?\

The Windows API has many functions that also have Unicode versions to permit an 
extended-length path for a maximum total path length of 32,767 characters. This 
type of path is composed of components separated by backslashes, each up to the 
value returned in the lpMaximumComponentLength parameter of the 
GetVolumeInformation function (this value is commonly 255 characters). To 
specify an extended-length path, use the "\\?\" prefix. For example, 
"\\?\D:\very long path".

-----Original Message-----
From: Edwin Castro [mailto:egca...@gmail.com] 
Sent: Friday, May 03, 2013 1:10 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Heat with file path longer than 260 chars report an 
error

That character limit on paths is imposed by .NET. :-(


On Fri, May 3, 2013 at 10:56 AM, Marco Tognacci <mark...@live.it> wrote:

> I have used HeatDirectory to harvest a folder with many subdirectories 
> and files, but Heat.exe report an error because the filepath of an 
> item is larger than 260 chars (with the name and the full 
> subdirectories path)Is there any way to harvest a folder with may 
> subdirectories as the single filepath is longer than 260 chars?
>
>
> ----------------------------------------------------------------------
> -------- Get 100% visibility into Java/.NET code with AppDynamics Lite 
> It's a free troubleshooting tool designed for production Get down to 
> code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



--
Edwin G. Castro
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free 
troubleshooting tool designed for production Get down to code-level detail for 
bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to