Giter Site home page Giter Site logo

Copy Paste Applications about cmpackager HOT 6 CLOSED

armss001 avatar armss001 commented on May 20, 2024
Copy Paste Applications

from cmpackager.

Comments (6)

theaquamarine avatar theaquamarine commented on May 20, 2024

from cmpackager.

armss001 avatar armss001 commented on May 20, 2024

I am running into a $null value error, But I am looking and that could be from elsewhere. I think my logic for finding the latest build was Broken.

Is there away I can use a PowerShell Script to build the detection logic? I only see built in methods.

Thanks, for the quick response

from cmpackager.

theaquamarine avatar theaquamarine commented on May 20, 2024

from cmpackager.

armss001 avatar armss001 commented on May 20, 2024

Hello, So when using the copy only the version number is not able to be detected.

Here are the Errors in the Log

3/10/2022 6:48:41 AM - ERROR: Failed to Download or find the Version for Application1
3/10/2022 6:48:42 AM -  is not a new Version - Moving to next application

from cmpackager.

rjohnson06gh avatar rjohnson06gh commented on May 20, 2024

We've done this for several applications to make a "local" autopackager application in instances where the download is behind a login and we cannot send it credentials well enough or we need to stay at a specific version. We continue to use the mechanisms built into CMPackager, but treat the network share as the "website". I've attached one example where I've stripped off our server path. We use install and uninstall batch wrappers for some installs, and this application is one of them and we put the files into the ExtraFiles location, so maybe that's where your extra config files could go.

I've attached two examples: one where it's just a local packaging example. The other does a web version check (this example is behind a login, but the version is publicly accessible), and sends a Teams notification that a new version is available for download.
Minitab-Local.txt
AfterMath-Local-WebVersionCheck.txt

from cmpackager.

armss001 avatar armss001 commented on May 20, 2024

Thanks, I was able to get it working, turns out I was setting the wrong Var.
$Version needed to be $Download.Version.

I found it in the script, but now it all works as intended just using the Copy scripting, and prefetching the version build. But now we may look to add a download anyway and pull the latest PSADT.

from cmpackager.

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.