SecurityException upon Running SharePoint Web Parts Installer

Symptoms

The  Confluence Web Parts installer (Setup_WebParts.exe) halts due to this error:

========================== "See the end of this message for details on invoking  just-in-time (JIT) debugging instead of this dialog box.  \*************\* Exception Text \*************\* System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.    at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)    at System.Security.CodeAccessPermission.Demand()    at System.Drawing.IntSecurity.DemandReadFileIO(String fileName)    at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)    at System.Drawing.Image.FromFile(String filename)    at CodePlex.SharePointInstaller.InstallerForm.LoadImage(String filename)    at CodePlex.SharePointInstaller.InstallerForm.InstallerForm_Load(Object sender, EventArgs e)    at System.Windows.Forms.Form.OnLoad(EventArgs e)    at System.Windows.Forms.Form.OnCreateControl()    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)    at System.Windows.Forms.Control.CreateControl()    at System.Windows.Forms.Control.WmShowWindow(Message& m)    at System.Windows.Forms.Control.WndProc(Message& m)    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)    at System.Windows.Forms.ContainerControl.WndProc(Message& m)    at System.Windows.Forms.Form.WmShowWindow(Message& m)    at System.Windows.Forms.Form.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) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: Internet

Cause

The installer runs from another machine or across a network share, and is not being allowed to perform that function.

Resolution

Run the installer directly on the SharePoint server.

Filter by label

There are no items with the selected labels at this time.