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!

MattAbar
Posts: 3
Joined: Sun Dec 06, 2015 10:04 pm

Using Updater while keeping front-end synced to back-end

Hi all. We have a client/server product with a desktop front-end, and database back-end. We want to use the Updater, but need to make sure the front-end version is synced with the back-end database version. I see two ways of doing this:

1. Check Versions - A single central source for installs where the Updater checks the database version before updating. It may update to a different version depending on which DB version is detected.
2. Multiple Installs - Multiple sources for the installation EXE (each user would have their own), and the user is responsible for updating the new installation EXE when they update the database.

Can anybody tell me if either of those two methods would be possible or give me another suggestion?

Thanks!
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Using Updater while keeping front-end synced to back-end

Hello and welcome to our forums,

Considering your requirements you can create separate installation packages for your front and back-end apps and when creating the updates configuration file add two updates entries:
1. one for the front-end installer
2. the second for the back-end installer

Then, configure the back-end installer entry added in the updates configuration project -> "Updates" page to be a dependency of the front-end installer.

Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MattAbar
Posts: 3
Joined: Sun Dec 06, 2015 10:04 pm

Re: Using Updater while keeping front-end synced to back-end

Hi Daniel,

Thanks for the quick reply. I'm not quite understanding--where does the back-end installer store the flag that indicates it ran? We can have up to 50 different front-end users, and don't want the each running the back-end installation.

Also, it would be very time-consuming moving our back-end installation into Advanced Installer. Would prefer doing it somehow that doesn't require us to rewrite everything.

Matt.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Using Updater while keeping front-end synced to back-end

Hello Matt,

It seems I didn't fully understand your installation scenario. Can you please give us more details about this (maybe exemplify or attach some screenshots)? Maybe you can iterate a step by step working scenario.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MattAbar
Posts: 3
Joined: Sun Dec 06, 2015 10:04 pm

Re: Using Updater while keeping front-end synced to back-end

Hi Daniel,

Ok, here goes:

Client A is logged into Database A (version 1.01), running version 1.01 on the front end.
Client B is logged into Database B (version 1.01), running version 1.01 on the front end.

Client A has agreed to beta test version 1.02 where we changed an existing feature with new front-end code, and added a parameter to an existing stored procedure. We upgrade Database A to version 1.02. How do we make Advanced Installer automatically upgrade the Client A front end to version 1.02 while leaving the Client B front end on version 1.01?

Thanks again for helping with this.

Matt
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Using Updater while keeping front-end synced to back-end

Hello Matt,

Firstly, I apologize for my delayed reply.

To conditionally deploy updates only to certain clients, the only thing I can think of is to create more update configuration files which can be hosted on different location from your server (e.g. Public, ClientA, etc). Then at application runtime you call the Updater with the "-url" command switch pointing to the desired update config file.

Also, you can take a look on our "Integrate Updater In Application" articles.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”