David Johns
David Johns

Reputation: 1231

How to make minor upgrade in Windows Installer always overwrite?

I tried REINSTALLMODE=amus option but it didn't work showing error message Another version of this product is already installed....

If I give INSTALLMODE=vomus option it works well. But, some files are not overwritten, not updated. Maybe it seems to be a file version related problem. Is there really no way to force WI to overwrite its files except doing major upgrade?

Upvotes: 0

Views: 332

Answers (1)

Christopher Painter
Christopher Painter

Reputation: 55620

Take a look at the MSDN topic REINSTALLMODE property. The "v" is needed by the minor upgrade, the "o" tells it to only overwrite older files and the "a" tells it to reinstall all files regardless of hash or version.

So REINSTALLMODE=vamus should be what you need. However, if the files in the installer were properly versioned this shouldn't be a problem in the first place.

Upvotes: 1

Related Questions