Comments (6)
from cmpackager.
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.
from cmpackager.
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.
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.
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)
- Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.
- Feature Request: Break x86 and x64 software source folders into separate folders HOT 1
- Dell Command | Monitor - HTTPHeaders
- Enhancement: Automatic cleanup of old versions HOT 1
- How do you delete previous applications and put the applications in a subfolder in SCCM/Applications/Subfolder?
- Feature request - custom path in the recipe HOT 1
- Requirements By Site
- Error processing Notepad++.xml HOT 1
- Create additional application deployments (available/required) HOT 1
- Issue with AdobeReader.xml
- Issue with AdobeReader Recipe HOT 1
- Singlerecipe parameter not working HOT 1
- Feature Request - Supply the path to the MSI and icon
- Some Recipes not downloading the Application (Deployment Type) HOT 2
- recipe not working for October/Monthly patch for common apps HOT 4
- `-RecipePath` doesn't handle trailing backslashes
- Deprecated cmdlet needs to be updated
- Adobe Reader Recipe needs update HOT 2
- Supersedence for out-of-order releases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmpackager.