Vcredist9/11/2023 The PowerShell Code used by me for the integration with MDT, can be found at my GitHub repository: įirst grab the VcRedist-Install.ps1 from my GitHub repository, adjust the variables according to your needs and execute the script: VcRedist-Install.ps1 This post will only describe one possible way of how to include the VcRedist module into your MDT workflow. This post assumes that you already have a working MDT setup up and running and are familiar with the concept of Reference and Master Images. Recently I switched to the VcRedist PowerShell Module by Aaron Parker to achieve this task and with this blog post I’m going to show you how to do this yourself. So if you have two prerequisites with the same name one of them will get overwritten when extracted and the installer will not work correctly.If you are using the Microsoft Deployment Toolkit (MDT) to build your Reference Images and Citrix Master Images, you are most certainly trying to include the Microsoft Visual C++ Redistributables for Visual Studio into your Reference Images. This is mandatory because the setup package built extracts the prerequisites into a single folder by default, In the Setup Files tab of each prerequisite. What Is VERY important, if you place both packages in the same Advanced Installer project, rename one of them or set them different extraction folders for 2005 I used this command line: /q:a /c:"VCREDI~2.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" "Īs this installer is actually a self extraction EXE which does not executes the MSI, you have to call the MSI specifically from the command line for 2012 I used the simple command line: /install /quiet I recently worked a lot with the redistributables for VC++ 20, so I can tell you the command lines used for them, maybe they work for your versions too.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |