Hi,
could someone please tell me if the following would work:
Some files in my installer project don't have version info.
One thing we could do is to say: "always overwrite".
However, this means that if later, someone installs an earlier version of the product (product allows side-by-side installation), these old components will overwrite the ones that were already installed by the later version.
The desired behavior in our case would be to only overwrite if the version is newer, but since no version info is available for these components, that doesn't work.
Another option is the use a companion file, but then if that companion parent file didn't change, but the component itself did, that won't work either.
So: what if we set the version info for these components to the following parameter:
[|ProductVersion]
and for each new release that ProductVersion parameter is incremented.
I believe we would then get the desired behavior, right?
--> For these version-less files, they would get their version from this parameter. So, if a newer version of the product installer is run, the existing files would be overwritten. And, if an older version of the installer is run, the files would also have that older version number and would not overwrite the newer ones already on the computer. Is this correct?