NEWCmd script installer of application

Lukas Novy

Lukas Novy

Member
10
0
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.png 1693492392371.png

Attachments

  • 1693492482369.png
    1693492482369.png
    32.4 KB · Views: 1
AhmedLS

AhmedLS

Well-Known Member
157
13
18
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 5565 View 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
5,758
Messages
22,446
Members
12,613
Latest member
foxtrot1787