Hi Shilpi,
You can set the
DetectNewerInstalledVersion Property to True in your setup project. This way, if 2.0.0.5 is installed and the user tries to install 2.0.0.4, Windows Installer will prompt a newer version is already installed and the current install session will end. The user must manually uninstall 2.0.0.5 to downgrade to previous versions.
Regards,
Jie
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg @ microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback, please tell us.
The CodeFx Project
My Blog (in Simplified Chinese)