Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

NEW Cmd script installer of application

Lukas Novy

Member
Messages
12
Solutions
1
Reaction score
0
Points
1
Hello, I would need to create application by cmd script. I created cmd file where I have commands - you can view it at screen below. At installation program field I have name of cmd file.
It doesn´t work. I get errror prompt - "The software could not be found on any of the servers now". Distribution point group are allright. I checked status of distribution another application.
I tested cmd file in computer locally and It worked. Where can be problem? What is correct syntax of typing script installer in sccm? I didn´t find any guide for it.
Thank you for help.
1693492298746.png
1693492553118.png


1693492317366.png1693492392371.png
 

Attachments

  • 1693492482369.png
    1693492482369.png
    32.4 KB · Views: 7
Hello, I would need to create application by cmd script. I created cmd file where I have commands - you can view it at screen below. At installation program field I have name of cmd file.
It doesn´t work. I get errror prompt - "The software could not be found on any of the servers now". Distribution point group are allright. I checked status of distribution another application.
I tested cmd file in computer locally and It worked. Where can be problem? What is correct syntax of typing script installer in sccm? I didn´t find any guide for it.
Thank you for help.
View attachment 5564
View attachment 5568


View attachment 5565View attachment 5566
you have to put the below before setup.exe coz CM installer doesnt know where the setup file is located

"%~setup.exe"
 

Forum statistics

Threads
7,135
Messages
27,868
Members
18,159
Latest member
jordysmits
Back
Top