TRX
Posts: 1
Joined: Thu Mar 15, 2007 9:11 am
Location: Poland, Warsaw
Contact:  Website

Problem with upgrades - some files are deleted, not upgraded

Thu Mar 15, 2007 9:29 am

Hello.

I have problems with msi installer created by Advanced Installer (even the newest version of it).

When I uninstall older version of my program and install new version - everything works fine.
But if I upgrade installed old version of my program to a new version, some files are deleted instead of upgraded and installed new version of my program works incorrectly.
If I run msi installer of a new version again and do reprair installation, these deleted files are installed and my program works correctly.

List of deleted files:
TrxRecConfig.dll
konsola2updater.exe
konsola2updater.ini

Edit: problem solved
Hi,

This behavior is cause by a Windows Installer bug which sometimes
manifests during an upgrade. Here is a workaround:

Go to the "Files and Folders" view, and select one of the files that
doesn't get installed on an upgrade. From its context menu choose the
"Properties" option.

In the displayed dialog select the "Version" tab. Choose the "Overwrite
with this" option. In the field you should enter a version that you are
sure is greater than the version of the file that is already present on
the target computer (this approach will work even
if the target file is not versioned in which case you can enter any
version number).

In order to be sure that this criteria is always met you could specify
the maximum allowed version: 65535.65535.65535.65535

Repeat the above procedure for all of the files. Please let me know how
this works.

Regards,
Ciprian

Return to “Common Problems”