We're trying to control which files we do NOT want to reinstall when performing a minor upgrade by using the Version attribute in the File table. From the REINSTALLMODE doc on MSDN the 'o' feature says "reinstall if the file is missing or is an older version."
What we're seeing on a minor upgrade is that when we have REINSTALL=ALL and REINSTALLMODE=vomus is that all of the files are being reinstalled even though we've only upped the version on one of the files.
I do understand that we could provide a list of features to update in the REINSTALL property, but we want to control this at a component/file level.
Is this possible, has anyone come across this problem before?
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.
Minor upgrade reinstalls ALL files
Started by
davedoc
, May 26 2010 18:33
4 replies to this topic
Posted 26 May 2010 - 22:46
So it looks like Windows installer completely ignores the Version value for text files and this should only be used for binaries. Our problem is that config (text) files are being overwritten on upgrade.
I found that I can use the msidbComponentAttributesNeverOverwrite mask in the Attributes column to have these files not be overwritten.
Does anyone have a link detailing how Windows installer determines when a text file should be upgraded/replaced? I'm guessing it has something to do with size and timestamp.
I found that I can use the msidbComponentAttributesNeverOverwrite mask in the Attributes column to have these files not be overwritten.
Does anyone have a link detailing how Windows installer determines when a text file should be upgraded/replaced? I'm guessing it has something to do with size and timestamp.
Posted 27 May 2010 - 15:11
Kathy Morey
Synergy Software Engineer
ProfitStars, a Jack Henry Company
kmorey@profitstars.com
Synergy Software Engineer
ProfitStars, a Jack Henry Company
kmorey@profitstars.com
Posted 01 June 2010 - 18:10
that all of the files are being reinstalled
As per your description of the issue, you have stated that the version is incremented for only one of the files. It seems very strange that all of the files are overwritten.
Have you generated a verbose windows installer log?
Or do you have the log to share?
Regards,
Kiran Hegde
As per your description of the issue, you have stated that the version is incremented for only one of the files. It seems very strange that all of the files are overwritten.
Have you generated a verbose windows installer log?
Or do you have the log to share?
Regards,
Kiran Hegde