Patch is not updating files

Article:TECH25369  |  Created: 2005-09-06  |  Updated: 2005-10-11  |  Article URL http://www.symantec.com/docs/TECH25369
Article Type
Technical Solution


Issue



Why is my patch failing to update files?


Environment



All operating systems


Cause



One of the common reasons a patch does not update a file is not adhering to the Windows Installer file versioning rules. A second reason is if the file version number only changes within the fourth field, then Windows Installer ignores the fourth field. As a result, the newest file is not installed.


Solution



If the patch is failing due to versioning problems, then please click on the following link to ensure that you are meeting the requirements provided by Microsoft: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/file_versioning_rules.asp.

If your files meet the criteria to properly update a file, troubleshoot the issue by creating a log file to determine why the file is failing to update. To generate a log file, use the following command line: msiexec /p <full path to .MSP> /l*v <full path to log file>.  If you need assistance in understanding how to read the log file, then download the Windows Installer Verbose Setup Log Analyzer utility provided only by Microsoft. For more information on the utility, click on the following link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/wilogutl_exe.asp.

If the version number of the file only changes within the fourth field, then you will need to update the file version number in the third field. If you cannot modify the file version number, or you do not meet the criteria to properly replace an existing file, then you will need to create a Wisescript that will delete the file before CostInitialize in the new .MSI.

Always run Upgradesync to compare your previous .MSI file against the new .MSI file to ensure that there are no errors in the way your patch was designed. To learn more about Upgradesync, review article# 26787 Using UpgradeSync to prepare for Patching and Upgrading.


Legacy ID



3004


Article URL http://www.symantec.com/docs/TECH25369


Terms of use for this information are found in Legal Notices