I have an application which has MSI installer of Minor Upgrade type.
It has functionality to upgrade itself using msiexec.exe /i Setup.msi REINSTALL=ALL REINSTALLMODE=vomus /q, which happens inside the Windows Service associated with this application.
I install the version X of it on machine using it's MSI file.
Later, I upgrade it to version X+1 using application's upgrade functionality.
Everything works perfect here. All binary files, registry entries, Add/Remove Program entries are fine and they all show version X+1.
After sometime, I go to Control Panel -> Add/Remove Program and click to Repair my application.
When the repair process is completed, I see some things of my application has reverted itself to version X.
The binary files in install location inside Program Files show all the files of version X+1, but the Add/Remove Program entries, registry entries show version X.
Can anyone help me, how to resolve this problem.
Thank you in advanced.
Edited by saurabh2688, 04 August 2016 - 04:14.