Coder Social home page Coder Social logo

Comments (29)

haacked avatar haacked commented on May 27, 2024

Hi @chaim1221. Thanks for the error report.

The installer seems broken from the download page

Could you provide somemore details? What happened when you tried to run it?

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

Hi @haacked !! I tried to open the file by double-clicking it and nothing happens at all--perhaps a swallowed exception? I can check the system error logs when I'm back in my home Windows environment.

I would try it on Windows 7/VS2013 at work, but it only supports VS2015.

from visualstudio.

haacked avatar haacked commented on May 27, 2024

I can check the system error logs when I'm back in my home Windows environment.

Yes, please do. Also, let us know information about the Operating System and specific version of VS 2015. For example, is it Community Edition, Pro, or Enterprise?

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

I can tell you it's Enterprise Preview. The operating system I believe is Windows 10 Enterprise, TechNet Preview, Build 10240 but I'll confirm when home.

from visualstudio.

shana avatar shana commented on May 27, 2024

@chaim1221 When did you install VS? If you installed it recently, chances are you already have the latest GitHub Extension installed (because VS's installer uses the vsix on the website, it will always install the latest version). If this is the case, then trying to run the vsix again won't do anything, which seems to match what you were seeing.

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

@shana Latest 2015 Enterprise Preview build. Yes, it has the option to install the GitHub 3rd Party extension but it doesn't do it automatically. The scenario here is when you don't install it during the Visual Studio install, but you want to add it afterwards.

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

When I say latest build, I mean the latest stable build on the MS website.

from visualstudio.

shana avatar shana commented on May 27, 2024

@chaim1221 Try installing from the Visual Studio Gallery in VS, see if that one works.

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

@shana I've already said that one works. See my initial report above.

I was able to install by using the MODIFY feature from the original vs_enterprise installer--perhaps that installer is different?

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

Excuse the edits :)

from visualstudio.

shana avatar shana commented on May 27, 2024

The installer from the vs enterprise is the same one that is on the website - the vs installer downloads it directly from our website. The installer in the Visual Studio online gallery is a copy of it hosted by Microsoft, and it doesn't show up in the installed programs list. You can install the extension from the gallery by going to Tools - Extensions and Updates and searching for it in the online tab.

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

I believe you. However, I still experienced the error. I don't know why.

from visualstudio.

haacked avatar haacked commented on May 27, 2024

I believe you. However, I still experienced the error. I don't know why.

I believe you too. 😄 Hopefully the Event Viewer logs will have some clue. @shana, are there other VSIXInstaller logs to look at?

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

.NET Runtime error, Event ID 1026

long-and-short-of-it: UnauthorizedAccessException (jokingly, are you root? ;) )

Application: VSIXInstaller.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UnauthorizedAccessException
Stack:
   at System.IO.__Error.WinIOError(Int32, System.String)
   at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)
   at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess)
   at VSIXInstaller.Logger..ctor(System.String)
   at VSIXInstaller.Logger.InitializeLogger(System.String)
   at VSIXInstaller.Logger.get_Instance()
   at VSIXInstaller.Logger.WriteLine(System.String)
   at VSIXInstaller.App.InitializationExceptionHandler(System.Exception)
   at VSIXInstaller.App.OnStartup(System.Windows.StartupEventArgs)
   at System.Windows.Application.<_ctor>b__0(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run(System.Windows.Window)
   at VSIXInstaller.App.Main()

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

I haven't tried to run the .vsix as admin but it shouldn't be necessary.

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

Yeah, it works as admin. Quick workaround: Tell folks to run it as admin. Most people trying to run this extension will know how to do that.

from visualstudio.

shana avatar shana commented on May 27, 2024

The vsix installer asks for elevated permissions when it runs. Have you changed the configuration for elevation on Windows, by any chance (I don't know if it's possible to do that on Windows 10, just trying to figure out why it fails for you)

/cc @prasethu @clboles @mtbandolier - Do you have an idea why the vsix installer would be failing on Windows 10?

from visualstudio.

haacked avatar haacked commented on May 27, 2024

Yeah, it works as admin.

Ok, it sounds like you have it working. We can close this issue out while we follow up with the VS team to see if there's issues with Win10 and VSIX.

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

Yes, I believe I changed the UAC to be less restrictive. Probably a Windows 10 thing, then. Thanks for looking at it.

Sent by Outlookhttp://taps.io/outlookmobile for Android

On Wed, Aug 5, 2015 at 9:44 AM -0700, "Phil Haack" <[email protected]mailto:[email protected]> wrote:

Yeah, it works as admin.

Ok, it sounds like you have it working. We can close this issue out while we follow up with the VS team to see if there's issues with Win10 and VSIX.


Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-128066673.

from visualstudio.

codymullins avatar codymullins commented on May 27, 2024

I can confirm, I'm having the same issue with Windows 10 Pro. VSIX installers give me an unauthorized access exception, but I am able to use the extension manager in Visual Studio successfully.

from visualstudio.

andre-artus avatar andre-artus commented on May 27, 2024

I had the same/similar issue with another extension. Installing as admin worked.

ligershark/side-waffle#302

from visualstudio.

davemvp avatar davemvp commented on May 27, 2024

I am also following ligershark/side-waffle#302 and came across this thread. I tested on two machines. One worked without admin privileges and the other didn't. On the computer that required elevated privileges I have SQL Server 2014 and IIS installed. The computer that didn't require elevated privileges had neither of these applications / features.

from visualstudio.

andre-artus avatar andre-artus commented on May 27, 2024

I had SQL 2014 installed previously, but had 2016 installed at the time the
issue arose.
I also have IIS installed.

On Sat, Sep 5, 2015 at 12:40 AM, davemvp [email protected] wrote:

I am also following ligershark/side-waffle#302
ligershark/side-waffle#302 and came across
this thread. I tested on two machines. One worked without admin privileges
and the other didn't. On the computer that required elevated privileges I
have SQL Server 2014 and IIS installed. The computer that didn't require
elevated privileges had neither of these applications / features.


Reply to this email directly or view it on GitHub
#28 (comment).

from visualstudio.

shana avatar shana commented on May 27, 2024

Just fyi, for anyone stumbling onto this, this looks to be a bug with the vsix installer, which happens when the vsix requires elevated permissions but for some reason the elevated permissions prompt is never shown (perhaps because the user changed the UAC settings to be less strict). MS is investigating the issue. If this hits you, try installing the vsix with admin privileges.

from visualstudio.

sayedihashimi avatar sayedihashimi commented on May 27, 2024

@haacked

Ok, it sounds like you have it working. We can close this issue out while we follow up with the VS team to see if there's issues with Win10 and VSIX

This is impacting some community work as well (i.e. SideWaffle/WebEssentials). If we close this out how are community members supposed to get updates to this issue?

from visualstudio.

shana avatar shana commented on May 27, 2024

@sayedihashimi This is not a bug that we have any control of, nor will MS update this issue if/when they fix it. This is not the right place to follow up on a windows bug. The best place is probably MS's feedback/bug reporting tool.

from visualstudio.

sayedihashimi avatar sayedihashimi commented on May 27, 2024

@shana sorry I just realized this is the github org and not VisualStudio. I'll followup with the VS team by email and will post an update to ligershark/side-waffle#302 if I get any.

from visualstudio.

chaim1221 avatar chaim1221 commented on May 27, 2024

Starting to feel a little bad about this, apparently it is high in Google results or something. Again, this is a Windows 10 problem and the workaround is:

Run the .vsix file as administrator

@shana: Feel free to delete this bug if it's impacting work on other stuff...

from visualstudio.

shana avatar shana commented on May 27, 2024

@chaim1221 Nah, it's 🆒, it's useful information :-)

from visualstudio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.