I'm trying to run a .exe which has the following command afterwards "test.exe /mode silent ".
Create a simple script/batch file that contains your command line install.
Thereafter two SCCM deployment options:
1) Create SCCM Application which targets and runs your script.
2) Create SCCM Package which target your script or contain the command line within the program settings.
- Applications give more options when setting up. They require detection methods set to determine if a particular file, folder, Windows Guid, or Registry key exists. If the condition is met the application either runs or doesn't depending on your settings. Reporting is decent within SCCM Monitoring, Deployment Node.
- Packages are easier and less time consuming to setup, however reporting is not great, you only see if install was a success or failed.
Personally, I prefer Applications for software deployments, mainly for reporting and tracking status. However there are some instances where packages are extremely beneficial as well.
There is plenty of material online with demos on how to create both and the benefits of such.