Prev Previous Post   Next Post Next
Old 13th December 2013, 23:19   #1
Senior Member
Join Date: Feb 2005
Location: London
Posts: 218

I read here that when calling kernel32::CopyFile, you can extend the UNICODE path length beyond MAX_PATH characters to 32,767 wide characters by prepending '\\?\' to the path.

Would there be any reason not to prepend '\\?\' to a path, I thought, and I tested kernel32::CopyFile with a ridiculously long install path.

It didn't work, because the MAX_PATH of 256 characters is defined in NSIS. I wonder, shouldn't the UNICODE NSIS version extend the install path length limit?
bnicer is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump