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



  • 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



  • 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.



  • 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.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation