deploymentwixwindows-installerversioningmajor-upgrade

How can I deploy an upgrade of my product which contains a file with version lower than the already deployed file?


I have a msi component which deploys a file MyFile.dll. I have a test machine in which my product already deployed MyFile.dll, which has version 09.99.99.99.

Now I'm writing a major upgrade which will deploy a new version of MyFile.dll with version 05.23.76.123. After execution on the test machine, MyFilee.dll is removed... I need to change or repair to correctly deploy it.

How can I force the deployment of MyFile.dll regardless of its injected version number?

PS: This is happening on our test machines only. The product we delivered to our users has files with version numbers consistent with release history.


Solution

  • There are several ways in Windows Installer to do this but they all have their complications. IMO I would just rebuild the same source code as the old DLL but with a newer higher version and keep it simple.