Patch Deployment - Newbie Question
-
I created a C# Windows Application. I used a Setup Project to Deploy the intial software to my users. I now have patchs and minor enhancements that I want to Deploy. What is the easiest way to do this? I have updated the Assembly info for my project and my setup project. I modified the setup project to not uninstall previous version. This appears to work just fine, but when I view my Add/Remove programs window I show multiple installs of the software. Any help would be greatly appreciated! Scott K
-
I created a C# Windows Application. I used a Setup Project to Deploy the intial software to my users. I now have patchs and minor enhancements that I want to Deploy. What is the easiest way to do this? I have updated the Assembly info for my project and my setup project. I modified the setup project to not uninstall previous version. This appears to work just fine, but when I view my Add/Remove programs window I show multiple installs of the software. Any help would be greatly appreciated! Scott K
Go to the properties of Setup Project and the set value true of "RemovePreviousVersion". And also change the version property. After setting these properties build the project and then install on your client machine. You have only on instance in Add/Remove programs.
-
Go to the properties of Setup Project and the set value true of "RemovePreviousVersion". And also change the version property. After setting these properties build the project and then install on your client machine. You have only on instance in Add/Remove programs.
Yes, I understand that by setting this property to true it will remove the version I just installed. Here is the issue: When I set this property to true it uninstalls my DB and replaces it with an empty one. My users loose their data. Is there a way for me to exclude this file?
-
Yes, I understand that by setting this property to true it will remove the version I just installed. Here is the issue: When I set this property to true it uninstalls my DB and replaces it with an empty one. My users loose their data. Is there a way for me to exclude this file?
Use the simple way but this is not technical ;) Remove the database from setup project. Database place on other location. Make new connection string for that, then bulid and deploy.
-
Use the simple way but this is not technical ;) Remove the database from setup project. Database place on other location. Make new connection string for that, then bulid and deploy.
What is my alternative than doing that? I have a lot of installs of the software out there? sk
-
What is my alternative than doing that? I have a lot of installs of the software out there? sk
There is no alternative - do as MSF suggested, remove the DB from your update distribution. This is a common newbie error, you need to think through your deployment method better. You should ALWAYS have at least 2 deployments, install and update.
Never underestimate the power of human stupidity RAH