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] How do I specify Storage.PackagesRootPath in configuration?



  • Moin!

    I am currently in the process of trying to automate a ProGet 2025.16 installation on Windows.

    However, I cannot figure out where I need to set the "Storage.PackagesRootPath" value in order for ProGet to load it into configuration
    I have tried using

    • the "C:\ProgramData\Inedo\SharedConfig\ProGet.config" file for

      • service configuration (changing the file and restarting the service
      • installation configuration (changing the file and re-installing)
    • the "C:\Program Files\ProGet\Service\web.config" file for
      - service configuration (changing the file and restarting the service)

    • the "C:\Program Files\ProGet\Service\ProGet.Service.exe.config" file for
      - service configuration (changing the file and restarting the service)

    Also, I have tried using the keys "ProGetConfig.Storage.PackagesRootPath" / "Storage.PackagesRootPath" and "PackagesRootPath"

    Where do I need to specify the path in order for ProGet to recognize it and to use it in its own behaviour? I would really like to avoid having to write into the database manually.

    Did I miss something obvious?


  • inedo-engineer

    Hi @jonathan-werder_8656 ,

    You can set this value under Admin > Advanced Settings.

    Thanks,
    Steve



  • @stevedennis moin and thanks for the reply!

    I know I can set it manually using the Web UI.
    However, I want to set it programatically for an automated install and the ProGet documentation (along with the UI under "Admin > Advanced Settings") specifies that the configuration files can be used for this.

    How do I need to set values in which configuration file in order to set the PackagesRootPath option?


  • inedo-engineer

    Hi @jonathan-werder_8656 ,

    Thanks for clarifying! I'll be honest, I had no idea where you were getting configuration files in the first place... and I forgot that was ever a thing. Sorry about that.

    Anyway, I don't think that this has worked in years, and it's most definitely not something we'd recommend today. We'll try to track it down and remove it in the docs / help text.

    For your use case (automated installation) just use pgutil settings to set that value.

    Thanks,
    Steve


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation