Adding new Feature, second build is not overwrite the files
minor upgrade we have created the feature and added the file when we take first build it's working...then comes any updates on the same file from development team we will take second build.when we are installing the existing files are not overwriting..
If anyone know, please help me to resolve the issue.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
EdT
10 years ago
Is this an MSI install?
If so, this is expected behaviour. If the key path already exists then there is no point in overwriting it. To overcome this behaviour, when you run the MSI as a "second build" then add the properties: REINSTALL=ALL REINSTALLMODE=amus to the msiexec installation command line.
Do not use these properties for a first build.
Next time write a major upgrade and you don't have to mess with all this.