cartman
Posts: 2
Joined: Mon Apr 09, 2012 1:52 pm

Updates for application

Hi, all.

I have an installer with advanced features, such as creating sqlite database during installation, creating config files which depends of user's input, etc. I need also to create a simple installer which will just update binaries, installed by my installer with advanced features. The question is: what is the right way to do this? I tried to create just regular installer, which installing updated binaries, but it removes many of already installed files. Maybe there is a way to prevent cleaning of target installation directory? Would be very grateful for the help.

Regards.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updates for application

Hello,

A major upgrade operation implies by definition uninstalling the old version, followed by the installation of the new. If you only have a few files to upgrade, you could also look into patches.

A simple way to preserve resources during a major upgrade is to use the "Persistent User Data" wizard from the Ribbon menu -> Home tab.
This wizard will allow you to specify which files will be preserved in an upgrade or repair operation.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”