setup
-
1. While instaling the setup of an windows application, the existing version of same application should be automatically removed from the system?. Jey
I recommend you read Chris' sticky post on how to get answers to questions.
Assuming you are asking :
I am using a Setup and Deployment project and when I install new versions it stops due to an existing version already installed. I'd like to know how to change this behavior so that I can have the deployment project automatically remove the old version then install the new one.The answer is this:
Select your project, look at properties. Change the appropriate attribute. Note: You can only remove existing versions if a) the software was originally installed from a file on the hard drive -and- b) the new version is installed from the same location. I imagine there are other quirks in the process as well that limit it's effectiveness. I've only gotten this to work from within my project but never deployed. (Probably needs to Assert security attributes that I've not figured out yet.) :suss: -
I recommend you read Chris' sticky post on how to get answers to questions.
Assuming you are asking :
I am using a Setup and Deployment project and when I install new versions it stops due to an existing version already installed. I'd like to know how to change this behavior so that I can have the deployment project automatically remove the old version then install the new one.The answer is this:
Select your project, look at properties. Change the appropriate attribute. Note: You can only remove existing versions if a) the software was originally installed from a file on the hard drive -and- b) the new version is installed from the same location. I imagine there are other quirks in the process as well that limit it's effectiveness. I've only gotten this to work from within my project but never deployed. (Probably needs to Assert security attributes that I've not figured out yet.) :suss: