Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstalling Xamarin on Windows

I want to remove previous Xamarin from my machine and install a new version (Xamarin Visual Studio 3.9.236), But when I try to install the new version I'm getting this error:

The older version of Xamarin cannot be removed. Contact your technical support group.

Any Idea?

PS: I went through this article but I still have the same problem.

like image 471
Sirwan Afifi Avatar asked Feb 15 '15 06:02

Sirwan Afifi


People also ask

Is Microsoft discontinuing Xamarin?

Xamarin support will end on May 1, 2024 for all Xamarin SDKs.

Does Xamarin run on Windows?

Xamarin. Forms no longer supports Windows 8.1, Windows Phone 8.1, or Windows 10 Mobile, but Xamarin. Forms applications do run on the Windows 10 desktop. There is also preview support for the Mac, WPF, GTK#, and Tizen platforms.

Is Microsoft replacing Xamarin?

Forms. . NET Multi-platform App UI (MAUI) is a multi-platform technology for developing mobile (iOS and Android) and desktop (Windows and Mac) applications.


1 Answers

I figured out where the problem was! First I enabled msi logging for the MSI installer file:

msiexec /i Xamarin.VisualStudio_3.9.289.msi /l*v c:\Users\%USERNAME%\Documents\xamarin-vs-msi.log

And searched for Return Value 3 (The Action failed):

MSI (s) (F8:64) [08:31:41:884]: Unexpected or missing value (name: 'PackageName', value: '') in key 'HKLM\Software\Classes\Installer\Products\371D35B64B9A7994980A677C62256FDE\SourceList'

As you can see the problem is a entry key in my registry I deleted it then MSI installer successfully installed:

'HKLM\Software\Classes\Installer\Products\371D35B64B9A7994980A677C62256FDE\SourceList'
like image 59
Sirwan Afifi Avatar answered Oct 14 '22 06:10

Sirwan Afifi