schlumpf26
Posts: 2
Joined: Mon Aug 08, 2005 1:48 pm

Update deletes all other Files !?!

Hi,

I tried to create a Update. But when I install the Update all Files that were not included in the Update where deletet.

Even when I create a Patch, the Patch delete all Files that are not differend.

Is it a bug or a feature? :D

Can anybody tell me a workaround? I don`t want do send more than 100 MB if there is only 5MB differend ;)

Peter
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

If you create an upgrade the initial version will be uninstalled before the updated version is installed. So if the update is missing some files (the files that remain unchanged) they will not be present on the disk.

What you want to use if you want to deliver only 5 MB is a patch. Unfortunately I wasn't able to reproduce your problem using a patch. Please provide me with more details on what you did.

Also, for more information on patches and upgrades please visit:

http://www.advancedinstaller.com/user-g ... tches.html

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
schlumpf26
Posts: 2
Joined: Mon Aug 08, 2005 1:48 pm

Hi,

Now I tried to create the path as it was described on the page again.

The building was successfull but when I tried to install the patch I got the error:

"Der Installer hat einen unerwarten Fehler gefunden wärend der Instalation dieses Paketes. Es könnte ein Paketproblem sein. Der Error Code lautet 2356."

As the resuld of this error the application was uninsalled but not reinstalled.

so the problem is not solved :(

Peter
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

The error you have received is related to a file cabinet that was not found (this is how the error code translates).

This is probably happening because you have generated a major upgrade (clicked Yes to generate a new product code). In the case of major upgrades the recommended way is to deliver the whole MSI and not a patch between the old and the new package.

If you want to use a patch you should work with a minor upgrade (i.e. not to generate a new product code).

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”