GordoParticipantNovember 30, 2015 at 7:26 pmPost count: 11
Is there a way I can copy all files in the toolkit to the target computer?
When installing SCCM packages, I’d like to trigger Deploy-Application.exe to run from the target computer rather than from the SCCM share.
However, I can’t figure out how to get all the toolkit files to download to the target computer.
Looks like these lines from AppDeloyToolkitMain.ps1 will copy files in the “Files” or “SupportFiles” folders:
<code>[string]$dirFiles = Join-Path -Path $scriptParentPath -ChildPath 'Files' [string]$dirSupportFiles = Join-Path -Path $scriptParentPath -ChildPath 'SupportFiles' </code>
But what I really want to do is copy everything in the “Toolkit” folder down to the target computer, so I can then trigger Deploy-Application.exe from the computer rather than the SCCM share.
PelleParticipantDecember 1, 2015 at 12:54 pmPost count: 100
Haven’t worked much with Packages in CM, and would really recommend the application model. However, I’ve seen scenarios where packages have been copied over with xcopy (or equivalent). Maybe you could to this under the Advanced tab of your program with the checkbox “Run another program first”. I would have thought these would be copied over to the client cache without the need for ‘manual’ copying, but I guess not?
Or simply create another program to your package to execute the copy command would probably work as well.
- This reply was modified 2 years, 4 months ago by Pelle.
You must be logged in to reply to this topic.