Create own job type?
Submitted by mato on 1 October, 2008 - 08:54.
Hello!
I'm running Altiris Deployment Solution 6.9 and has made an own cmd-script to distribute software to our servers cause the built in "Distribute Software" doesn't meet all my demands! Is there any way to build an own job type. I would like to get a GUI box where I can have Checkboxes, dropdown menus and inputfields that sends parameters to my own batch-file.
//Mattias




RE: Create own job type?
Hi Mattias,
If you want Altiris integration, what you will need to do is use an Altiris SDK to develop your own software add-on for DS. This is a subscription service and I don't know much about it.
http://carboncopy.com/upload/ds-altirisdeveloperpr...
What you want to do however sounds actually very simple to implement with Visual Studio and not having to use an SDK at all. Creating a form using c# in Visual Studio to the way you would like it, passing the information to your cmd script. Then running the program using "Run Script".
Workflow would be like this.
Vbs runs and sends token information to YourApp.exe
Select your settings using yourapp
YourApp.exe sends that data to your cmd script.
The great thing about running it from Altiris in script form is that you can use the tokens created by DS like computer name, mac address and anything else you want.
See the bottom of this article on how to use custom tokens:
http://juice.altiris.com/article/3692/how-we-impro...
This KB article will give you what tokens are available:
https://kb.altiris.com/display/1/kb/articleContent...
Good Luck!
Josh