Patch is very big
Posted 10 December 2002 - 16:06
I managed to create a patch with ISD 7.04 for my application. But although I did not change very much it is 8 MB in size.
Lokking into the log I see there are some files included, which did definitly not change. All files of tw components are included. These two components use Dynamic file linking and all the files are in subfolders.
For other files I get an message:
WARNING (11): File.FileName mismatch between Upgraded ('RED543~1.RPT|Rechner - Hardwareübersicht .rpt') and Target ('REE2EC~1.RPT|Rechner - Hardwareübersicht .rpt') Images means old files may be orphaned. File Table Key: Rechner___Hardware_bersicht_
and the file is included. It also did not change.
Posted 09 January 2003 - 14:12
did you select "Use entire files in patch package"?
P.S. It's realy necessary to give the old msi to the new package ( see Stefans message )! Because the dynamic files get new internal filenames and will be recognized as different. Have a look with Orca into the msi files - see File Table, if the files have got different internal filenames.
Posted 30 January 2003 - 17:37
Is there any way to get back my original 8+3 filenames, or force Installshield to take the 8+3 filenames from the old installation package ?!!!
any help is welcome.
Posted 16 April 2003 - 20:47
|QUOTE (Johannes John @ 2003-01-09 13:12)|
|did you select "Use entire files in patch package"?|
um using entire files shouldn't be checked should it?
i'm running into the same problem as the original poster. i'm trying to patch a 100MB+ project and all I get is a huge patch file filled with files that I know for certain aren't modified. If anyone has any idea what I'm doing wrong or could make some suggestions on how I can optimize my patch, I would greatly appreciate it.
Thanks in advance for your help.
Posted 29 April 2003 - 15:47
The problem seems to be changing FileKeys.
For me this had to reasons:
1) Dynamic linking. I will never use that again.
2) Long filenames. On creation long file names may get identical. For example for mylongfile1.exe and mylongfile2.exe could both be names mylong~1.exe. When compiling InstallShield seems to change long file names to make them unique. In my case the mechanism did not create mylong~n.exe filenames with "n" greater than 4. When there are more than 4 files which would be named the same short name prefix ISD generates random names like myl653f~1.exe and these names were differente form setup to setup.
So my solution:
1) Static linking rulez!
2) I manually created the short names in the direct editor to be unique. But beware to name a file mylong~5.exe or higher. ISD will change this again.
@noquestion: I manually synced the short names to accomplish this.
Edited by bholz, 29 April 2003 - 15:48.