updater.exe and "?" in download url - 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!

vdupras
Posts: 3
Joined: Fri Feb 09, 2007 5:22 pm

updater.exe and "?" in download url

We're currently setting up the auto-updater for our application, and our url scheme for the download is "http://www.oursite.com/somescript.jsp?f ... ersion.exe"

When the auto-updater downloads it, it downloads it as "Update", without any extension, thus creating an error when the updater tries to launch the installer.

Is there a workaround? Can we expect it to be fixed in a near future?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

The AI Updater gets the downloaded filename from URL. If it's not a valid filename then AI Updater uses the "Update" section (which corresponds to the name from the "Updates Configuration" project "Organization" tree) as filename. In your case it fails to launch because it does not have an extension.

We shall consider to improve this area (getting the downloaded filename from URL). I add it on our TODO list. Until then to avoid this behavior rename the "Update" section to something like this: "app_version.exe".

Let me know if you encounter any problems.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”