VERSIONING
-
hi i want to rebuild my setup file with new changes on my code and have to give it to endusers. the thing i want is i don want them to uninstall the older one i want to upgrade the installed one.how to do that
with regards Balagurunathan.B
You need to make sure that the version number for all of your binaries is higher than the previous version number. If you are using an MSI installer, you also need to change the upgrade code and the product version (I think that's the field name, but I'm not 100% sure...either way, it should be the only version number in the setup project) so that the Windows Installer service recognizes that this is a different version. Keep in mind that MSI only looks at the first 3 portions of the product version when determining if the installer is newer or not.
----------------------------- In just two days, tomorrow will be yesterday. http://geekswithblogs.net/sdorman
-
You need to make sure that the version number for all of your binaries is higher than the previous version number. If you are using an MSI installer, you also need to change the upgrade code and the product version (I think that's the field name, but I'm not 100% sure...either way, it should be the only version number in the setup project) so that the Windows Installer service recognizes that this is a different version. Keep in mind that MSI only looks at the first 3 portions of the product version when determining if the installer is newer or not.
----------------------------- In just two days, tomorrow will be yesterday. http://geekswithblogs.net/sdorman
Change the version number in the installer properties and VS will remind you to change the product code. Then you might want to flick on the "Remove previous versions" property, to make the upgrade less painful.
Mark Churchill Director Dunn & Churchill