Error: the filename or extension... - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

tanith
Posts: 2
Joined: Wed Aug 17, 2011 4:02 pm

Error: the filename or extension...

I have created a patch and added it to the auto updater, but I get the following error when I run the autoupdate:
Error: The filename or extension is too long.
updater.jpg
updater.jpg (42.27 KiB) Viewed 3100 times
My updates.txt file is in place and contains the following:

Code: Select all

;aiu;

[Update]
Name=Gaia 3D Viewer 2.2.0002
URL=http://www.gaia3d.co.uk/download/patch220002.msp
Size=12320768
MD5=b400bb84531abd402be8f1185ce0f108
ServerFileName=patch220002.msp
Flags=IsPatch
FilePath=[APPDIR]Gaia3D.exe
Version=2.2.0001
Description=Update to the Gaia 3D Viewer
BugFix=Fixed trenches not playing sounds.
AutoCloseApplication=[APPDIR]Gaia3D.exe|;;NoRestart
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error: the filename or extension...

Hi and welcome to Advanced Installer forums,

Can you please send us the .INI file next to the "Updater.exe" to support at advancedinstaller dot com so we can investigate it?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error: the filename or extension...

Hi,

As suspected, after looking into the .INI file it seems the Downloads Folder path is too long. Can you please shorten it for testing purposes and see the result?
If this is not the case this could be a permission issue.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tanith
Posts: 2
Joined: Wed Aug 17, 2011 4:02 pm

Re: Error: the filename or extension...

This fixed the issue, I changed it to:

DownloadsFolder=C:\updates\

Thank you

Return to “Common Problems”