I am using InstallAware version 12.22.0.2012
i am running into an issue where a select few unversioned files (xml & gif) are removed after an upgrade. You see a line that looks like this in the log:
Code: Select all
MSI (s) (54:1C) [09:50:21:428]: File: C:\Program Files (x86)\Company\Product\Example.xml; Overwrite; Won't patch; Existing file is unversioned and unmodified - no source file hash provided to compare
The issue does not happen all the time, only when certain applications are running while the upgrade is happening. These applications are components of the product getting upgraded so if they are in use, they should be replaced on reboot. When it works, you see something to this effect:
Code: Select all
Info 1902.Scheduling reboot operation: Renaming file C:\Program Files (x86)\Company\Product\xxxx.tmp to C:\Program Files (x86)\Company\Product\Example.xml. Must reboot to complete operation.
When it works, MainEngineThread returns 3010 as expected.
When it does not MainEngineThread returns 0.
What would cause the replace file-in-use functionality to not work as expected in one case but correctly in the other?!?
I have submitted to Francesco via email sample logs for both a good and bad installs.
I appreciate your help.