installing software via bat file using distrubution
07/17/2018 1000 views
I'm trying to install a setup.exe via a batch file. Batch file also adds a registry key which works but the software is not installing. I can run the batch file locally on the machine and it works. This is how the batch file reads
.\setup.exe /s /v/qn (I have tried it without .\ and it didn't work either)
rem set __COMPAT_LAYER=RunAsInvoker
REGEDIT.EXE /S "%~dp0\code.reg
setup.exe is not working but it does run the code.reg file.
This is how I have distribution setup.
Zip file contains, setup.exe, setup.bat and code.reg