Been concocting a deployment script for a software, which needs to install Visual C++ 2013 Redistributable, in silent mode, from a moving source (aka, the folder might be on a key, on a server, locally, etc.), as Admin.
For all my other executables (MSI mostly), using "%~dp0" before the file name (like this: "%~dp0Antidote9.msi", followed by arguments like /quiet, /q, etc., works fine.
But for VC Redist, it doesn't accept my arguments.
Here is my full command:
start /wait "%~dp0vcredist_x64.exe" /install /quiet /norestart
It pulls the file fine, but then says that my arguments are invalid, even though if I remove the %~dp0 it works fine, and I got the arguments from doing vcredist_x64.exe /?.
Is there something I'm doing wrong or that I need to modify for my arguments to be working ?
Thanks in advance!