Topic
  • 2 replies
  • Latest Post - ‏2013-08-05T21:39:40Z by SergioBenavides
rsturtevant1981
rsturtevant1981
1 Post

Pinned topic deploying VBscript with Software Distrubution Wizard

‏2013-06-10T12:58:01Z |

I am trying to create a custom task to deploy a vbscript using the software distribution wizard. Is there any way I can get this to work by selecing a vbscript as the package file? I found a few threads that suggested using cscript or wscript to execute the action, but I haven't been able to find anything explaining this in more detail. I tried inserting "cscript" into the command line option, but the action fails. So I'm wondering if I'm missing the syntax. Thank you

  • jdefilip
    jdefilip
    24 Posts

    Re: deploying VBscript with Software Distrubution Wizard

    ‏2013-06-12T20:20:36Z  

    Hi rsturtevant1981, you should be able to create a new package under "Mange Software Distribution" and add the vbscript and deploy it through a task.  I have deployed batch files this way in the past.

  • SergioBenavides
    SergioBenavides
    3 Posts

    Re: deploying VBscript with Software Distrubution Wizard

    ‏2013-08-05T21:39:40Z  
    • jdefilip
    • ‏2013-06-12T20:20:36Z

    Hi rsturtevant1981, you should be able to create a new package under "Mange Software Distribution" and add the vbscript and deploy it through a task.  I have deployed batch files this way in the past.

    just lay down  your script to any location in the computer  and run the following line in the "action script"

     

    waithidden cscript.exe "c:\PATH_TO_YOUR_SCRIPT\MY_SCRIPT.vbs"