aveen
Posts: 9
Joined: Thu Jun 11, 2015 12:53 pm

Prevent file cancel during upgrade install

Hi.
I have an access database application. This is composed by two files: Front End (which I would like to upgrade) and Back End (which is users archives)
When I go to installl new version (only Front End) the installation provide to uninstall both the files (Front End and Back End) and then installing only the Front End which is the file I need to upgrade.
How to prevent the uninstall of Back End in this case?
Thanks
pfletch101
Posts: 24
Joined: Sat Aug 18, 2012 9:19 pm

Re: Prevent file cancel during upgrade install

There is no reason for your upgrade installer even to know that the back end file exists, nor should the uninstall old version/install new version sequence normally be necessary for a database application. Your upgrade installer should simply overwrite the front end and any other files which may have changed, add any new files, and make appropriate changes to the Registry and/or any configuration files. The exception to this is, of course, when an update involves a change the back end database structure, but this has to be handled by some sort of conversion process for the old back end file.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prevent file cancel during upgrade install

Hello,

Also, as another approach you can take a look on our "Prevent Repair or Uninstall" how to which could be useful for you.

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

Return to “Common Problems”