none
Need to script the install of prerequisites before exe install RRS feed

  • Question

  • I have 2 simple batch files, one which installs some prerequisites and the other installs the program (.exe)

    Is there a way to combine the two with a switch that will wait for the prerequisites to install before commencing with the program?

    I can run the batch files in order manually which is fine but I need a way of automating it using Group Policy

    Thanks in advance

    Monday, August 13, 2018 2:56 PM

Answers

  • You can use start /wait

    Usage

    start /wait "Windows title" command-line

    Example:

    start /wait "This is an example" setup.exe -s

    • Marked as answer by Deano82 Tuesday, August 14, 2018 12:34 PM
    Monday, August 13, 2018 4:30 PM

All replies