System.NullReferenceException while uninstalling the 4.1 GHI SDK-s

Uninstalling the GHI SDK bundle with Setup.exe I received the following error:

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at InstallApp.MainForm.ReadSDKPathInReg()
at InstallApp.MainForm.RunReadMe(Boolean fromPackage, String file, Boolean optional, Int32 step)
at InstallApp.MainForm.Execute_CmdInstall()
at InstallApp.MainForm.page_welcome_next_bt_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

Setup
Assembly Version: 1.0.4.0
Win32 Version: 1.0.4.0
CodeBase: file:///D:/!SOFTWARE/GADGETEER-GHI/GHI%20NETMF%20v4.1%20and%20.NET%20Gadgeteer%20Package/Setup.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

it should be the same…but I usually uninstall via the “Uninstall Programs” control panel and have never had an issue. You might try it from there.

Yes, this is what i did too.
Speed SDK and all other GHI SDK were still installed.

I really sent this for the ‘gurus’, maybe it means something to them … :slight_smile:
If they see something usefull, it’s good, if not, well, just throw it out.