- 0
Task Sequence Install software command line "C:\Program.exe" "using filles from package"
Asked by
crb
Asked by
crb
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
1st off I hope this is the correct Forum for such topic.
I have a program that has multiple steps the first task sequence installs someting to "c:\program" Directory. The second Needs to call the program from the C:\Program\program.exe against a directory with files in it within the package. For my command line I have tried
C:\program\program.exe -p %~dp0\directory\directory
C:\program\program.exe -p "%~dp0\directory\directory"
C:\program\program.exe -p \\smsserver\smspkgd$\000etcpkg\directory\directory
I have created a bat file
SETLOCAL
Set thisdir = %~dp0
C:\program\program.exe -p %thisdir%\directory\directory
Nothing ever works. Does anyone know how to from a create a program within a package that tells SCCM to run the local program from the C:Drive but get additional needed files from within the Install software task sequence that has a package Specified?
Any help or Thoughts will be tested.
Thanks, Craig Blake
Share this post
Link to post
Share on other sites