Setup extract path more than 255 characters - Advanced Installer Community
inray
Posts: 1
Joined: Tue May 16, 2017 2:04 pm

Setup extract path more than 255 characters

We use the version Advanced Installer 13.8.1 on a Windows Server 2012

We make a Setup.exe with the AI. This extracts all needed files
In: C: \ Users \ Administrator \ AppData \ Roaming \ XXX \ XXX \ install \ 6BCEC0D \ PublicDocumentsFolder \ ....

Here we have the problem which may happen under certain circumstances that the whole path has more than 255 characters. Windows has a problem with the length of the characters.
An error message is generated when the setup is run.

Error message:
Error reading from File:
C: \ Users \ Administrator \ AppData \ Roaming \ XXX \ XXX \ install \ 6BCEC0D \ Public Document Folder \ ....
Verify that the file exists and that you con access it.


Is there a solution to how to deal with the character length?
Possibly. A setting ??

Best regards
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Setup extract path more than 255 characters

Hello and welcome to our forum,

Please note that this is a Windows limitation. The maximum path length accepted by Windows is 260 characters. If your installation path is over this limit, the error will be shown. The only solution is to set the path to under 260 characters. To achieve this you should go to "Builds" page and edit the "Extract location" from "Bootstrapper Options" by entering a path under the limit.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”