PDA

View Full Version : Overwrite any existing file option missing for new files in patch project



dvheusden
07-02-2004, 04:45 AM
Ok, I've been dealing with this issue for quite some time now, and we have a workaround in place for the current Express version (4.0) we work with, but somehow Installshield does not understand that small update patches can also include new files, which should be patchable with a new small update patch!

Please Installshield, tell me how to modify the pcp file, the program or whatever so that I can do the following:
1. Create small update patch that contains new versions of existing files and choose the 'Overwrite any existing file' option. Also include in this file a new file that does not yet exist on the system.
2. Apply the patch.
3. Create a new small update patch, again one that contains new versions of existing files and choose the 'Overwrite any existing file' option, but also include the new file introduced in 1 again, but now a modified version of it.
3. Apply the patch.
Result: the files with the 'Overwrite any existing file' option are patched, but the new file that was introduced with the 1st patch remains the same, and should have become the 2nd patch version.

Looking at the MS criteria for small update patches, it should have worked:
The following scenario illustrates when a small update patch is best.

Your company ships version 1.0 of Myproduct.msi.Shortly thereafter, you ship a QFE patch for Myproduct.msi called QFE1. This does not change the ProductCode property or the ProductVersion property.

Later, you author a second QFE patch for Myproduct.msi called QFE2. This second patch must target Myproduct.msi version 1.0. This second patch must not target both Myproduct.msi version 1.0 and Myproduct.msi version 1.0 + QFE1. When QFE2 is applied it should remove QFE1.
---------------

Bottemline: the only feature that we need to have is to be able to have the same 'Overwrite any existing file' option also for new files!

dvheusden
07-12-2004, 10:59 AM
Or all you all on a holiday?

Mike Marino
07-15-2004, 08:49 PM
What version of InstallShield Express are you currently working with. We introduced the QuickPatch project type in Express 5.0 to have the ability to create small simple patches that do exactly what you are asking.

Express 4.x and 3.x do not nativley support Patching, only Major Upgrades (for those not familiar with MSI terminology, a Major Upgrade is a Install that removes previous versions of itself.)