I need to launch an MSI depending on the version installed on the target machine. To elaborate:
- MSI shouldnt install if its version is less than the currently installed version.
- Otherwise it should do REINSTALL using REINSTALLMODE=omus.
I know that this can be done by wrapping the MSI within a bootstrapper application or using cmd to launch MSI. But could this intelligence be implemented within the MSI itself, so that it appropriately launches itself when I double-click it?
Will LaunchCondition or CustomAction help to achieve this?
I am using Visual Studio Setup Project to build my MSI. Will using WIX help to achieve this?
Thanks, -Kunal