Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • Last Modified:

MSI scenario

I want a quick and dirty .msi that will simply overwrite all files in the app directory every time it's run.  
Am I right to set
RemovePreviousVersion = False  (just overwrite.  don't uninstall anything)
DetectNewerInstalledVersion = False  

My experience is that each of the deployment project properties are very simple when looked at individually (thus the limited documentation) but become complicated under different deployment/versioning scenarios.  For my purpose here I'm not concerned with the version - I just want to overwrite the DLL's every time the .MSI is run.
1 Solution
actually i think you need to set removepreviousversion = true. if you up the version of the MSI it will load ontop of your last version. but the last version needs to be removed in order for the newer one to install. this is assuming you are using the same package that you installed last time. setting this value to true will have the installer remove the previous version when the new MSI is run.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now