Hi there,
as far as I understand it, the "always overwrite" option for files in Installshield works by setting the Version field to a very high value.
On the other hand, Windows Installer documentation (File table, column Version) says:
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Always overwrite
Started by
Matthias1967
, Aug 06 2009 07:36
4 replies to this topic
Posted 06 August 2009 - 07:36
QUOTE |
Version This field is the version string for a versioned file. This field is blank for non-versioned files. The file version entered into this field must be identical to the version of the file included with the installation package. |
So where can problems arise if I do write a "fancy" version into the File table, as InstallShield obviously does?
Best regards,
Matthias
Posted 07 August 2009 - 00:52
I never knew install shield had an option to always overwrite.
I would open the built MSI up with ORCA to double check what install shield puts in this field just to be sure.
I would open the built MSI up with ORCA to double check what install shield puts in this field just to be sure.
Posted 19 August 2009 - 16:04
Hello luke,
InstallShield 12 has this option. I am not sure with which version it was introduced.
In the resulting MSI package, the file version for this file is set to 65535.0.0.0.
I am actually wondering whether this trick may cause side effects (because Windows Installer documentation says you should not do this).
Regards
Matthias
InstallShield 12 has this option. I am not sure with which version it was introduced.
In the resulting MSI package, the file version for this file is set to 65535.0.0.0.
I am actually wondering whether this trick may cause side effects (because Windows Installer documentation says you should not do this).
Regards
Matthias
Posted 19 August 2009 - 21:08
Since the installed version is always "too old" you might get repair problems.
Stefan Krüger
InstallSite.org twitter facebook
Posted 30 August 2009 - 02:51
I think in certain circumstances it is o.k. to do so. I had to install a couple of files that had a version lower than the currently installed version because our developers needed to fallback to a previous version while correcting some reported errors. This was the only way I could force those files to be installed over files with a higher version. We haven not noticed any undesired effects.
Tim
Tim