vcredist
vcredist copied to clipboard
Feature Request: Save to Generic UNC and Install from UNC Path.
It would be good if we could save the redists to a UNC file path root and then install/update any/all necessary redists within that UNC folder root.
Is that possible with the current tools by forcing any of the import functions and the install function?
Thanks in advance.
You should be able to use a UNC path with Save-VcRedist, e.g.:
Save-VcRedist -Path \\server\share\vcredist
Thanks for the reply - that allows me to download the installers to the unc....
How would I go about installing the Redists in \server\share?
If I try
$VcRedists = Get-VcList -Architecture x64
Install-VcRedist -VcList $VcRedists -Path \\server\share
I get
WARNING: Parameter 'Path' is obsolete. This parameter is not longer supported. The Path property must be on the object passed to -VcList
I've tried exporting the .json and pointing the -Path at that with no joy.
Thanks in advance!
$VcRedists = Get-VcList -Architecture x64 | Save-VcRedist -Path \\server\share
Install-VcRedist -VcList $VcRedists
Will this command try to resave the Redists each time a client runs the command? I just want the clients to install the redists that I have saved to the server share.
No, Save-VcRedist won't redownload the file if it's already in the share, but it updates the output from Get-VcList with the path to each installer.
Amazing, thank you.