Auto Updater for Web Applications - 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!

rakesh188
Posts: 6
Joined: Tue Jun 15, 2010 9:02 pm

Auto Updater for Web Applications

Can we use the auto updater with a web application. We could have a windows service or web service (Application start) check for updates and notify the user that updates are available.
The user then chooses to download and apply the updates.
If this is possible, then any example would help.
BTW you have a amazing product and it is far better than InstallAware or InstallShield.

Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Auto Updater for Web Applications

Hello,

You can use the updater to update web applications too. Advanced Installer supports installing IIS web applications, virtual directory, sites, pools from the IIS page. Our guide on updates shows how to release updates using our updater functionality.

If however you want to launch the updater.exe on a client machine from your web server, this is not possible due to security measures that all browsers implement.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
rakesh188
Posts: 6
Joined: Tue Jun 15, 2010 9:02 pm

Re: Auto Updater for Web Applications

Yes, I agree with the security concerns. But as a work around will this work
1) Create a wrapper for the updater and add it as a scheduled job during installation. The updater will only check if there is a new version available or not.
2) Maintain a table to indicate new version availability.
3) Updater checks and updates this table if there is an update available.
4) When the user log's in the application will notify him about the availability of new version.
5) The user (on the server) run's a windows application which will download and update the application and update the version no in the database.

So, Checking for new version availability will be scheduled but doing a upgrade will be initiated by the user.
Let me know if I am doing anything wrong.
Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Auto Updater for Web Applications

Hello,

This is how the Advaced Updater works. Please read the updates guide and the other two sub-tutorials underneath ("Create Updates File" and "Sample updates configuration files"). You release the update on the server, the updater on the client side picks it up (because it checks for updates regularly) and downloads+installs it.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”