I have a C#.NET application having some version 1.0.0.1. I did some modifications to my application & want to release it with an upgraded version 1.0.0.2.
If the older version 1.0.0.1 is already installed in client's system & if client tries to install the newer version 1.0.0.2, then it is throwing the followin error message
Inst开发者_Python百科aller has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869.
Initially after changing the version no:, I had also changed the productCode of the new version. But did not modify the upgrage code in the set up project.
Can any one kindly let me know how to fix this error 2869.. Thanks In advance.
The first problem is your product version. Windows Installer ignores the fourth version field, so you should use only the first three fields (for example 1.0.0 and 1.0.1).
After fixing the version, try creating an installation log (/L*V parameter for msiexec.exe) to see what happens. Usually error 2869 is shown when a .NET installer class action encounters an exception or has invalid parameters (it's rarely related to a dialog).
精彩评论