Hi Agusti,
If you generate a verbose log when applying the patch using the following command:
Code: Select all
msiexec /p patch.msp /L*V C:\patch.log
and search for the name of the Temp file in the log (in this case, "PTF6DA.tmp"), you will notice a line such as the following:
Code: Select all
MSI (s) (88:00) [08:49:57:323]: Redirecting file copy of 'C:\Program Files\Your Company\Your Application\some_file.dll' to 'C:\Config.Msi\PTF6DA.tmp'. A subsequent patch will update the intermediate file, and then copy over the original.
This specifies the file (in the above example "some_file.dll") that could not be updated by the patch.
This Windows Installer error message (1328) may be due to the following:
a) the file is damaged (corrupted)
b) the file is different than the one installed by the original package (it has been modified)
c) the permissions on the file are incorrect
d) the file is in use by another program
e) there is a big difference in file size between the old and new version of the file (several MB)
Possible resolutions for this error:
1. See if one of the above situations applies.
2. Select the option "Include whole files only" in the Patch Details page. However, the patch size will be much bigger.
3. Use a newer version of the MsiMsp tool, preferably the one that comes with the Vista SDKs.
Hope this helps.
Regards,
Ionut
FOLLOW US
Get the latest news in Application Packaging