AVGをアンインストールしようとするとエラーが発生してしまう
AVG Anti-Virus Free Editionがインストールされている環境でこれを選択して、アンインストールボタンを押すとエラーが発生してしまい、アンインストールができない。右クリック→アンインストールや右クリック→プロパティでも同様。
このとき表示される例外に関する情報は以下のとおり:
System.ArgumentException: パスに無効な文字が含まれています。 場所 System.IO.Path.CheckInvalidPathChars(String path) 場所 System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) 場所 System.IO.Path.NormalizePath(String path, Boolean fullCheck) 場所 System.IO.Path.GetFullPathInternal(String path) 場所 System.IO.Path.GetFullPath(String path) 場所 System.Drawing.Icon.ExtractAssociatedIcon(String filePath, Int32 index) 場所 System.Drawing.Icon.ExtractAssociatedIcon(String filePath) 場所 AppliStation.Util.GUIUtils.ExtractIcon(Form form, String lpszExeFileNameAndIndex) 場所 c:\work\AppliStation\AppliStation\AppliStation.Util\GUIUtils.cs:行 32 場所 AppliStation.Util.GUIUtils.GetIconForPackage(InstalledPackage pkg) 場所 c:\work\AppliStation\AppliStation\AppliStation.Util\GUIUtils.cs:行 60 場所 AppliStation.PackageUninstallConfirmForm.set_UninstallPackage(InstalledPackage value) 場所 c:\work\AppliStation\AppliStation\PackageUninstallConfirmForm.cs:行 25 場所 AppliStation.PackageListViewForm.UninstallToolStripButtonClick(Object sender, EventArgs e) 場所 c:\work\AppliStation\AppliStation\PackageListViewForm.cs:行 534 場所 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) 場所 System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) 場所 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) 場所 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) 場所 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) 場所 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) 場所 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) 場所 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) 場所 System.Windows.Forms.Control.WndProc(Message& m) 場所 System.Windows.Forms.ScrollableControl.WndProc(Message& m) 場所 System.Windows.Forms.ToolStrip.WndProc(Message& m) 場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 場所 System.IO.Path.CheckInvalidPathChars(String path) 場所 System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) 場所 System.IO.Path.NormalizePath(String path, Boolean fullCheck) 場所 System.IO.Path.GetFullPathInternal(String path) 場所 System.IO.Path.GetFullPath(String path) 場所 System.Drawing.Icon.ExtractAssociatedIcon(String filePath, Int32 index) 場所 System.Drawing.Icon.ExtractAssociatedIcon(String filePath) 場所 AppliStation.Util.GUIUtils.ExtractIcon(Form form, String lpszExeFileNameAndIndex) 場所 c:\work\AppliStation\AppliStation\AppliStation.Util\GUIUtils.cs:行 32 場所 AppliStation.Util.GUIUtils.GetIconForPackage(InstalledPackage pkg) 場所 c:\work\AppliStation\AppliStation\AppliStation.Util\GUIUtils.cs:行 60 場所 AppliStation.PackageUninstallConfirmForm.set_UninstallPackage(InstalledPackage value) 場所 c:\work\AppliStation\AppliStation\PackageUninstallConfirmForm.cs:行 25 場所 AppliStation.PackageListViewForm.UninstallToolStripButtonClick(Object sender, EventArgs e) 場所 c:\work\AppliStation\AppliStation\PackageListViewForm.cs:行 534 場所 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) 場所 System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) 場所 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) 場所 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) 場所 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) 場所 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) 場所 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) 場所 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) 場所 System.Windows.Forms.Control.WndProc(Message& m) 場所 System.Windows.Forms.ScrollableControl.WndProc(Message& m) 場所 System.Windows.Forms.ToolStrip.WndProc(Message& m) 場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
AVG Anti-Virus Free Editionがインストールされている環境でこれを選択して、アンインストールボタンを押すとエラーが発生してしまい、アンインストールができない。右クリック→アンインストールや右クリック→プロパティでも同様。
このとき表示される例外に関する情報は以下のとおり: