Unable to install because a newer version of this product is already installed
MSI Log
=================
Action 15:16:33: FindRelatedProducts. Searching for related applications
Action start 15:16:33: FindRelatedProducts.
FindRelatedProducts: Found application: {7F0093FD-CC7D-4464-98FE-CD0EFDF55D97}
MSI (c) (80:DC) [15:16:33:579]: PROPERTY CHANGE: Adding NEWERPRODUCTFOUND property. Its value is '{7F0093FD-CC7D-4464-98FE-CD0EFDF55D97}'.
I (c) (80:DC) [15:16:34:532]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
Unable to install because a newer version of this product is already installed.
MSI (s) (78:54) [15:16:35:704]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (78:54) [15:16:35:704]: Product: OrderService -- Unable to install because a newer version of this product is already installed.
Action ended 15:16:35: ERRCA_CANCELNEWERVERSION. Return value 3.
Workaround
If you have created Setup Project through visual studio Please make sure that Visual studio Property
DetectNewerInstalledVersion Property is set to False.
Details
If this property is True(Default Setting),Visual studio changes the Product code with New Build But it keeps the upgrade Code Same.
It would Create Problem if you use the same Setup Project and make changes to it with Saving it as Different Project.
Comments
Anonymous
September 24, 2008
This post answered my question exactly, I can now install perfectly! Thanks so much, you have saved me much time!Anonymous
September 08, 2011
I would like to change the default message returned from DetectNewerInstalledVersion = true. Is this possible? (timsimonetti@gmail.com)Anonymous
January 29, 2012
Tim, you could change the VSDVERSIONMSG text in the Property table of the MSI installer through Orca. Orca: msdn.microsoft.com/.../aa370557%28v=vs.85%29.aspx