PDA

View Full Version : Minor upgrade problem



palanisamy
07-18-2012, 04:06 AM
Hi,

My project type i s BasicMSI project.

My application version is 1.0.25, it conatins 15 dll and 5 exe file components,

During minor upgrade from 1.0.25 to 1.0.26, i need to delete one dll and one exe file, If i delete the component minor upgrade not working fine and remaing files are not updated,

Please help how to remove files during minor upgrade?

Reureu
07-18-2012, 07:37 AM
That's a classic!
A minor upgrade is not supposed to remove files.

In theory, you would need to use a major upgrade for such a scenario.
In practice, you might be able to handle that by adding one entry in the RemoveFile table.

RobertDickau
07-18-2012, 05:58 PM
Quite right: please see the topic "Changing the Product Code" for changes that require a major upgrade.

InstallShield's update validation (described in help topic "Validating Upgrades, Patches, and QuickPatch Packages") will automate some of this: Val0006 catches the removed-component case, for example. The corrective measures described at the bottom of the Val0006 topic describe other options, such as using the RemoveFile table.