Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    ProGet upgrade installer fails because of access denied

    Scheduled Pinned Locked Moved Support
    proget
    3 Posts 1 Posters 2 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      I had version 2.2.11 of ProGet installed. I grabbed the upgrade installer (without SQL Express) for 2.2.13 and ran it. The installer failed with an access denied on C:\Program Files\ProGet\WebApp\Resources\Scripts.

      Further attempts to run it are now failing because of a FileNotFoundException. From the stack trace in the event log, it sounds like it's trying to grab info about the current installation, but the previous installation attempt had already deleted a load of the files.

      This isn't a problem for me anymore since I just uninstalled it via Add or Remove Programs, and grabbed the full version with SQL Express, but I figured you guys might want to know about this.

      Here's the stack trace for the FileNotFoundException:

      Application: ProGet.Setup.exe
      Framework Version: v4.0.30319
      Description: The process was terminated due to an unhandled exception.
      Exception Info: System.IO.FileNotFoundException
      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, System.IO.FileShare, Int32, System.IO.FileOptions, System.String, Boolean)
         at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32)
         at System.Xml.XmlUrlResolver.GetEntity(System.Uri, System.String, System.Type)
         at System.Xml.XmlTextReaderImpl.FinishInitUriString()
         at System.Xml.XmlReaderSettings.CreateReader(System.String, System.Xml.XmlParserContext)
         at System.Xml.Linq.XDocument.Load(System.String, System.Xml.Linq.LoadOptions)
         at Inedo.ProGet.Setup.ProGetInstallerOptions.ReadServiceInfo(System.Version)
         at Inedo.ProGet.Setup.ProGetInstallerOptions.ReadCurrentInstallation(System.Version)
         at Inedo.Installer.InstallerApplication.Run[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.String[])
         at Inedo.ProGet.Setup.App.Main(System.String[])
      

      Product: ProGet
      Version: 2.2.13

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Thanks for the report - you're right about what happened (looking for uninstaller.exe I believe). It's interesting that you got the access denied error, did you run the installer as an Admin? It's supposed to prompt for elevation when you run it - if it didn't do that, I could see this happening.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          I didn't run it as an admin, but I think it popped up the UAC prompt. Also, it managed to delete most of the contents of the proget directory in program files.

          Unfortunately, that's all the info I've got. Hope it helps you out.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation