none
how do you install an application, and once it completes installs a second application - new to scripting RRS feed

  • Question

  • Morning, 

    I am new to scripting and my office has requested that 2 pieces of software (Mcafee antivirus and globalprotect vpn) be installed as part of our imaging process.  I have started the first portion but I do not know how to start the installer for the second program after the first program finishes.  also, how would I make a small box saying "installing...Mcafee/Global protect?

    here is an example of the code I'm using to try installing: 

    Function installMcafeeGlobalProtect

    Option Explicit

    dim commandLine, WshShell

    set wshshell = wscript.createobject("wscript.shell")
    wshshell.currentdirectory = "C:\temp\framepkg.exe""

       commandLine = "C:\temp\framepkg.exe"

       
       Set WshShell = CreateObject("WScript.Shell")
       Call WshShell.Run (commandLine,8,false)
       set WshShell=Nothing


    • Edited by linus coleman Monday, November 19, 2018 1:02 PM needed to correct the code
    • Moved by Bill_Stewart Thursday, March 14, 2019 11:26 PM This is not "scripts on demand"
    Monday, November 19, 2018 1:01 PM

All replies

  • Post questions about deployment in the Windows deployment forum.

    Look into using the "shell" popup object for messages.

    All of these products can be merged into your image without script. Ask in deployment forum to learn how to create full images.


    \_(ツ)_/

    Monday, November 19, 2018 2:00 PM