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)

Posted by: EdT 8 years ago
Red Belt
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.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ