General discussion

  • Creator
    Topic
  • #2192309

    Bat file Question

    Locked

    by cttechguy72 ·

    We use a third party application at my company and I need to run an update on every workstation. This is not a microsoft product so I cant use GP and this company does not provide an .msi file.

    I was thinking about adding this to the logon.bat script but I tested the install and the license agreement has to be accepted in order for the program to execute. IS there a switch I can add to a batch file to automatically say yes to the license agreement?

All Comments

  • Author
    Replies
    • #3270883

      Reply To: Bat file Question

      by tpopoff ·

      In reply to Bat file Question

      most installers have either a /q (quiet) or /s (silent) have you tried one of those at the tail end of the installer line of the batch file?

    • #3268773

      Reply To: Bat file Question

      by robo_dev ·

      In reply to Bat file Question

      pipe

      use the pipe symbol (|) to send a y (for yes) or n (for no) to the command on the same line.

      e.g. echo y|chkdsk c: /f /x

    • #3270822

      Reply To: Bat file Question

      by jcroson ·

      In reply to Bat file Question

      I’ve successfully used kixtart to install non-msi packages through a logon script.

      See kixscripts.com for examples. http://www.adminscripteditor.com/scriptlibrary/browse.asp for application installations.

Viewing 2 reply threads