ndaniels
Posts: 145
Score: 26 Joined: 2/24/2006 From: The Republic of Elbonia Status: offline
|
I have never used SMS for software distribution, so I don't know how much help I'll be in that arena; however, from a batch file perspective, you may run an application from a network share. Using your example... "\\server\share\share\software.exe" /switch /switch /switch parameter=item\item\ parameter=\item\ Be aware that the batch file will run in the directory in which it resides, unless it is being launched from a UNC path (or otherwise specified by the "Start In" field of a Shortcut). If run from a UNC path, the CMD command interpreter will typically default to the Windows directory for execution. This means that if "software.exe" is dependent upon other files, it will somehow need to know that they are in "\\server\share\share\" and not "C:\Windows" (or wherever the batch file is actually being run from "locally"). Again, I don't really know much about how SMS works, but... Another point to keep in mind is that you'll want the share to have the correct file level and share level permissions for the batch file to execute it. Be sure that whatever account SMS uses to launch the batch file and/or application has access to everything it needs (on the destination computer and any servers where software will be pulled from).
|