Link to home
Start Free TrialLog in
Avatar of YZlat
YZlatFlag for United States of America

asked on

The installed product does not match the installation source


I've built an application using VB.NET 2005. Then I installed it on my machine and proceeded to modify development code and recompiling the application many times, hence changing the original msi used for installation. Now I am trying to install newer version of the app on my machine and I get error message saying that frst I should uninstall the previous version. But when I tried unistalling throught Add/Remove Programs, I got an error saying that it cannot find original installation file "The installed product does not match the installation source".
How can I uninstall the older version now, when old msi is long gone?
SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In addition, I would recommend that you carefully look a your setup and deployment project, maybe delete and recreate it. Uninstallation should not require installation source; if it does, then something is wrong with the installation. This problem will definitely occur with the users when they decide to uninstall or upgrade the product, so it's important to take care of it.
Avatar of YZlat

ASKER

CodeCruiser, that's great! Thanks for the tip. Meanwhile how do I remove the one that is there already? The thing is that I renamed msi a while ago, so new one is different

vadimrapp1, how do I restore previous version of the msi?
You can use the cleanup utility mentioned in a post above to delete the existing app.
> how do I restore previous version of the msi?

from the backup, for example.