PowerShell Start-Process doing only partial installation

119 Views Asked by At

I am using the below PowerShell command to install a software. The command is installing all the dependencies requried (visual c++ etc.), but not installing the actual software. Any thoughts?

Start-Process -Wait -FilePath 'C:\temp\VCDM\vCDM Client\setup.exe' -ArgumentList '/S','/v','/qn' -NoNewWindow -passthru
1

There are 1 best solutions below

0
stackprotector On

Not every software can be installed silently. And every software, that can be installed silently, may have different parameters to do it. So you cannot just use parameters that work on one software to do a silent install of another software. You have to check the documention of the software for its correct silent install options.

For the vCDM Client software, the manual is available here. Section 2.2.8.1 on page 69 is covering silent install. According to it, it does not install dependencies. So you have to do it by yourself. Further more, all available options and their usage are explained. /v expects a string that you do not provide. You should also check which parameters are mandatory and which are not.

If that is not enough to get it running, you should call their support, as it is not open source software, that everyone can debug.