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!

    How to load .EXE/JARs into ProGet With Upack

    Scheduled Pinned Locked Moved Support
    artifactsprogetpackagesnetmsbuildmicrosoftcontinuous-integration
    2 Posts 2 Posters 16 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 am attempting to load build artifacts that are create with Bamboo. In this particular case, I am taking an setup.exe file and trying to upload it into ProGet. Here's what I did:

      1. I create a simple upack.json file, which contained only the name and version of the file

      2. I entered the upack command as follows:

      upack C:\location_of_upack_json_file C:\my_setup.exe --targetDirectory=C:\mytargetDir\build_artifacts

      Nothing worked. Here are some of the things that happened:

      1. FileNotFound exception for the path of the setup.exe file
      2. Permission error exceptions (even when I executed up upack with admin privileges).

      So my question is this. What is the exact syntax that I need to use upack to upload and download my build artifacts. The ProGet documentation is not exactly concise on this issue. Please advise.

      Product: ProGet
      Version: 4.7.12

      1 Reply Last reply Reply Quote 0
      • benB Offline
        ben inedo-engineer
        last edited by

        Hello Charles,

        upack pack expects a directory, not an individual file, so the command should be:

        upack pack C:\location_of_upack_json_file C:\directory_containing_my_setup_exe --targetDirectory=C:\mytargetDir\build_artifacts
        
        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