I am trying to deploy an app with a batch file but the batch terminates in 1 second while launching a new process where the install really starts, as a result the detection method fails, the software installs and the status is Failed in the software center.
Any trick I could use?
I thought about using sleep, but since the installation has to download files it really takes different times on different machines.
I tried start /wait but the command prompt closes and the installer starts a new process
My install batch file contains:
start /wait cmd /c "\\server\ExactClient\Wsetup.exe" /DOMAIN:EXACT /USER:EX\USER1 /PW:wsaxqew12 /S:2 /W:https://update.exactsoftware.com /R:415Exit /b 0