Visual Studio 2010 Setup project.
How I can remove all previous versions before installing the new one in that case:
- User could install the old version either 'Only for me' or 'For all Users'
- The new version can be installed too: 'Only for me' or 'For all Users' Now it installs in parallel.
I can restrict the new version installation to install ME only or FORALLUSERS.
But I need the new version must remove any installed (ME/FORALLUSERS) before installation.
What need to correct in MSI?
Windows Installer can only remove previous versions of the same time. Per-Machine removes previous Per-Machine and Per-User removes previous Per-User (same user profile). Mix and match is not possible.
Major Upgrades