I've got an installer that installs and starts an Windows Service. With the application are some config files, where two files have an operation of "Do not overwrite existing file" with condition 1. This is because the user can change the values in these files, and should not be replaced when a new version is installed. For this to work i've chosen the "Install new version first and then uninstall old version".
When the service is started during the setup and reads one of the config files it contains the contents as supplied in the installer files instead of the values that are modified by the user. After restarting the service manually it contains the values as changed by the user.
So it seems that instead of skipping the file's enterily during setup, it first makes a backup of the modified file, than replaces it with the on supplied with the installer, starts the service, and later copies the user modified version back.
How is this possible?
FOLLOW US
Get the latest news in Application Packaging