when setup has been Bulid and my first version is: 1.0.0.0
but when i create next version like:2.0.0.0
in client machine ask for update and previous version should uninstall and new version will be install.
like happened in any antivirus or any software.
plz send any sample code.
thanks in advanced