Virtualisation

WEM 4.7 UPDATE AVAILABLE

Wag the real - Alain Assaf blog - Fri, 07/20/2018 - 16:35
Intro Summer is time for vacations, beaches, and WEM Upgrades! Citrix has released version 4.7 of WEM. You can now download the new version here (requires Platinum licenses and login to Citrix.com). I’ve provided the release notes below. What’s new Workspace Environment Management 4.7 includes the following new features. For information about bug fixes, see Fixed […]
Categories: , Citrix, Virtualisation

Adobe Reader DC deployment with Microsoft Intune Part 1

Aaron Parker's stealthpuppy - Fri, 07/20/2018 - 12:46

Adobe Reader is of course one of the most common applications on Windows desktops and if you’re moving to a Modern Management approach you’re likely looking at how to deploy Adobe Reader DC to Windows 10 via Microsoft Intune. 

This is a challenge today because Adobe Reader DC comes as an executable, that while it can be extracted for the MSI, it includes support files that cannot be deployed via Intune. Microsoft only enables Windows desktop applications to be deployed from Intune where the installer is contained in a single file Windows Installer.

Adobe Reader DC Executable Installer

The Adobe Reader installer hasn’t changed much since as long as I’ve been writing about it (which has been way too long). What is different with Adobe Reader DC is that Adobe has moved to an evergreen model whereby they’re largely moved away from major releases and instead now deliver a continuous release cycle.

The current installer for Adobe Reader DC is a single executable that can run as is, or can be extracted for customisation typical of enterprise environments. When extracted it looks like this:

Adobe Reader DC extracted files

This just won’t work for deployment via Intune or the Windows 10 MDM channel. We need that single Windows Installer file. Better yet, we need Adobe to make Reader DC available via the Windows Store, but that’s a topic for another article.

Adobe Reader Windows Installer

Adobe does make a single file Windows Installer available for Adobe Reader DC, in various languages; however, the file was released in 2015 and unfortunately they’ve not updated it since. There has been several major releases and updates since March 2005.

Adobe Reader DC single file Windows Installer on the public FTP site

So, now we have a way to deploy the file, let’s see how to customise it and deploy via Intune.

Customising the Installer

Customisation of the Adobe Reader installer for enterprise deployment is well documented and I’ve written about previous versions several times. The same process applies but pay attention to any version specific settings.

Just like previous versions, you use the Adobe Customization Wizard to customise the installer for your needs and deploy a custom package.

Adobe Customization Wizard DC

However, we can’t customise the single file Windows Installer directly because when saving the customisations, we get this:

Adobe Customization Wizard DC – setup.ini was not found

To customise the installer, we need to use a 3 step process:

  1. Download and extract Adobe Reader DC executable installer
  2. Create a custom transform for this installer
  3. Apply the transform to the single file Windows Installer, so that the customisations are embedded into the installer. InstEd It! is a great free MSI editor to do that

I won’t go into a detailed step-by-step on how to use the Adobe Customization Wizard here because the documentation is detailed enough, but I will include a list of options I recommend you embed into the installer. There are some additional defaults and you may have specific options applicable to your environment.

OptionValue Personalization Options / EULA OptionSuppress display of End User License Agreement (EULA) Installation Options / Run InstallationSilently Installation Options / If reboot required at the end of installationSuppress reboot Shortcuts / DesktopRemove the Adobe Reader DC shortcut (no one needs that one on the desktop...) Online Services and Features / Disable product updatesDisabled (i.e. not ticked) - ensure Adobe Reader can update post-deployment Online Services and Features / Disable UpsellEnabled

As I’ve listed in the table, it’s important to keep the Adobe Updater enabled, so that once Reader is deployed via Intune, end-points can manage updates themselves. I’ll cover more on updates in the next article.

Now that you have a customised single file Windows Installer for Adobe Reader DC, you can import that into Microsoft Intune, and make it available for deployment.

Adobe Reader DC installed via Intune

Summary

In this article, I’ve taken a look at how to deploy Adobe Reader DC as a mobile application for Windows 10 devices enrolled in Microsoft Intune via MDM by creating a customised package based on a single file Windows Installer.

In part 2, I’ll take a look at how Adobe Reader is updated post-deployment and discuss whether this type of deployment is the right approach. There are other options and ideally I’d like to see Adobe make Reader DC available via the Microsoft Store.

Larry Costales

This article by Aaron Parker, Adobe Reader DC deployment with Microsoft Intune Part 1 appeared first on Aaron Parker.

Categories: Community, Virtualisation

Is Speech Recognition or Dictation in Windows 10 Good Enough Yet?

Theresa Miller - Thu, 07/19/2018 - 05:30

Is Speech Recognition or Dictation in Windows 10 Good Enough Yet? In the Windows 10 Fall Creators Update (1803), a new voice recognition option turned up. There was still the older ‘Windows Speech Recognition’ which has been around for a while, but Dictation https://support.microsoft.com/en-au/help/4042244/windows-10-use-dictation seems to be a more modern implementation. I couldn’t find too […]

The post Is Speech Recognition or Dictation in Windows 10 Good Enough Yet? appeared first on 24x7ITConnection.

Simplify Troubleshooting your IT Healthcare Virtual Architecture with Goliath Technologies

Theresa Miller - Tue, 07/17/2018 - 05:30

Virtual architecture is complex to stand-up and deploy, and when it comes to the ability of your support team to fix an issue it needs to be done fast and when possible – proactively.  This is extremely important from the business user perspective in all organizations, but even more importantly in healthcare where there is […]

The post Simplify Troubleshooting your IT Healthcare Virtual Architecture with Goliath Technologies appeared first on 24x7ITConnection.

10ZiG: Citrix Ready, Synergy & H.265 (sponsored)

Citrix UK User Group - Thu, 07/12/2018 - 10:37

Citrix Ready, Synergy & H.265 10ZiG are annual exhibitors of Citrix Synergy and this year gave us the opportunity for our CTO to take some time with the Citrix Ready Team. Kevin Greenway is based here with us in the …

Read more »

The post 10ZiG: Citrix Ready, Synergy & H.265 (sponsored) appeared first on UK Citrix User Group.

Your Guide to Secure Web Browsing

Theresa Miller - Thu, 07/12/2018 - 05:30

For as long as many of us can remember we have been starting our World Wide Web journeys by typing http://. If you have not already noticed, many sites now require https:// to access them. As a refresher, recall that HTTP actually stands for hyper text transfer protocol, and when we add an S on […]

The post Your Guide to Secure Web Browsing appeared first on 24x7ITConnection.

Getting Started with VDI, here’s what you NEED to know

Theresa Miller - Tue, 07/03/2018 - 05:30

It can be confusing to consider the many options available for application and workstation virtualization especially when getting started with VDI.  VDI is yet another common virtualization technology option that would be important to take a close look at if your enterprise has any need for desktop virtualization.  If you were an early adopter of […]

The post Getting Started with VDI, here’s what you NEED to know appeared first on 24x7ITConnection.

My first post at mycugc.org!

Wag the real - Alain Assaf blog - Fri, 06/29/2018 - 12:07
I ran into an issue with WEM 4.6 and wrote about the problem and solution at mycugc.org. Please check it out. WEM 4.6 Error Thanks, Alain Advertisements
Categories: , Citrix, Virtualisation

Mental health in the IT industry

Theresa Miller - Tue, 06/19/2018 - 05:30

*** Warning: This post and the links in it contain content relating to mental health, depression and burnout. If you or someone you know needs help, contact the National Suicide Prevention Lifeline https://suicidepreventionlifeline.org/ on 1800 273 8255 ***   In the news recently, we’ve seen the high-profile deaths of some well-known names. With IT being […]

The post Mental health in the IT industry appeared first on 24x7ITConnection.

DiskLED is Now Open Source

Helge Klein - Sun, 06/17/2018 - 22:48

DiskLED is a tool I wrote a while ago that displays performance counter data using an animated system tray icon. It comes with a graphical configuration dialog that lets you choose from all performance counters available on the local system – you can monitor network throughput just as easily as hard disk activity or memory usage.

There still seems to be a decent userbase – after all, DiskLED works on Windows 10 just as well as it did on XP. I sometimes get requests for new features or modifications. Unfortunately, I do not have the time for that. But I am more than happy to comply with Brian H’s request to make DiskLED open source.

You can find DiskLED’s source code on GitHub. Have fun!

The post DiskLED is Now Open Source appeared first on Helge Klein.

Your Guide to Cisco Live 2018 in Orlando, Florida!

Theresa Miller - Tue, 06/12/2018 - 05:30

This week is the annual Cisco Live conference, where the attendees are spending the time with their favorite Disney and Universal characters in Orlando, Florida!  Beyond the superheroes and animated characters, let’s take a look at what this conference has for technical attendees, and what opportunities the conference provides. First of all, the conference is […]

The post Your Guide to Cisco Live 2018 in Orlando, Florida! appeared first on 24x7ITConnection.

A great 21st Citrix Synergy for Liquidware (sponsored)

Citrix UK User Group - Thu, 05/31/2018 - 21:20

Citrix Synergy 2018 took place in Anaheim, California May 8-10th. I was at the first Citrix “Thinergy” in 1998 at the Swan Hotel in Orlando. The conference remains one of the most Windows desktop focused conferences in the industry. The …

Read more »

The post A great 21st Citrix Synergy for Liquidware (sponsored) appeared first on UK Citrix User Group.

Everything to the Cloud! How Uila can help with your Pre-migration Assessment

Theresa Miller - Thu, 05/31/2018 - 05:30

Whether your organization will be moving everything to the cloud or not, most organizations are looking at what it means to migrate at least some of their applications or workloads.  Interdependencies may force organizations to run in a hybrid configuration where some infrastructure is on-premises, but a majority of the workload is now running in […]

The post Everything to the Cloud! How Uila can help with your Pre-migration Assessment appeared first on 24x7ITConnection.

Inexpensive GPU Virtualization Options for Testing

Helge Klein - Fri, 05/25/2018 - 00:01
Contents

For a new chapter in my ongoing series of talks and articles about browser performance I wanted to examine how key user experience metrics like page load time are dependent on available hardware resources. I prepared a VM and started my tests with a single CPU core and 2 GB of RAM, planning to gradually add more cores, more RAM and, eventually, a GPU. As it turned out, the latter is harder than anticipated.

Virtualizing a GPU – the Options

There seem to be many different ways to equip a VM with a GPU these days, but not all of them make sense for a test environment. Nvidia Grid, specifically, is pretty expensive, given that it requires specific professional GPUs and supported server hardware, unlocked by Grid software licenses.

Another variant that I did not find suitable: GPU-enabled VMs, e.g. from AWS or Azure. The reason being not even cost (I would only have used the VM for a dozen hours or so), but flexibility (I had to be able to change the VM’s hardware configuration).

With Nvidia Grid and a cloud VM out of the way, I was left with the following options. Please note that I was looking for a simple and inexpensive solution.

  1. Client Hyper-V with RemoteFX
  2. Client Hyper-V with direct device assignment (DDA)
  3. VMware Workstation

Let’s take a look at each of these in turn.

Client Hyper-V with RemoteFX Configuration

RemoteFX GPU virtualization has been available in Windows 10 Client Hyper-V since version 1511. Some docs state that the Enterprise SKU of Windows 10 is required in the guest, but I did not find that to be correct: Pro and Enterprise gave identical results.

To enable RemoteFX GPU virtualization:

  • Host: in Hyper-V settings, enable a physical GPU for use with RemoteFX
  • Guest: in the VM’s settings, add a RemoteFX 3D Video Adapter to the VM

No need to care about GPU drivers in the VM: they are part of Hyper-V Integration Services.

Operation

With the above steps completed, you will see a virtual GPU in the VM (Microsoft RemoteFX Graphics Device – WDDM):

DXDiag seems to be quite happy with it:

Chrome not so much:

Also, there is no GPU in Task Manager:

Verdict

RemoteFX does not map (part of) the physical GPU into the VM. Instead, it virtualizes certain DirectX APIs. That may be enough for some uses cases, but Chrome is looking for something different and consequently sticks to software rendering.

By the way, a good indicator that there is no “real” GPU available in the VM is that you do not need to install GPU vendor drivers.

Client Hyper-V with Direct Device Assignment (DDA) DDA Requirements

DDA maps a physical GPU into a VM. While it is documented only for Windows Server I thought it just might work with Windows 10, too.

With DDA, the VM “sees” a real GPU. Therefore vendor drivers need to be installed in the VM.

DDA only works if the host machine’s BIOS supports SR-IOV. In other words, the BIOS must support relinquishing control of the PCI Express bus to the OS. That, unfortunately, is a capability typically only found in server hardware. SR-IOV is not to be confused with VT-d, which is typically found in consumer hardware but which is not to sufficient to make DDA work.

DDA and Licensing

Even if you have a machine that meets the hardware requirements for DDA outlined above, you may run into a problem of a very different nature: Nvidia’s consumer cards cannot be used because of restrictions in the driver. Nvidia’s Grid cards, on the other hand, require software licenses in addition to the professional-grade hardware. Rachel Berry has a good overview of Nvidia Grid licensing.

AMD GPUs (purportedly) do support DDA, but I did not test that.

VMware Workstation Configuration

The first thing you may notice after installing VMware Workstation is that it does not work if Hyper-V is enabled. If you want to keep using Hyper-V your best option is to create a new boot menu entry with Hyper-V disabled. That way you can switch between Hyper-V and VMware Workstation simply by rebooting. From Stack Overflow:

C:\>bcdedit /copy {current} /d "No Hyper-V" The entry was successfully copied to {ff-23-113-824e-5c5144ea}. C:\>bcdedit /set {ff-23-113-824e-5c5144ea} hypervisorlaunchtype off The operation completed successfully.

As with RemoteFX, there is no need to care about GPU drivers in the VM: they are part of VMware Tools. This indicates that the concept is similar in nature to RemoteFX.

Operation

The virtual GPU you will see in the VM is of the type VMware SVGA 3D:

Again, DXDiag is happy:

Again, Chrome not so much:

As with RemoteFX, there is no GPU in Task Manager:

Verdict

From an application’s point of view, VMware Workstation GPU virtualization is similar to RemoteFX: potentially good enough for some use cases, but there is no “real” GPU in the VM.

Conclusion

It’s 2018. This should be easier!

GPU virtualization is most definitely not mainstream yet. Currently, server hardware with either AMD or Nvidia Grid GPUs is required. That makes testing unnecessarily difficult and expensive.

The post Inexpensive GPU Virtualization Options for Testing appeared first on Helge Klein.

Microsoft has announced a few changes to the future of the Office suite

Theresa Miller - Tue, 05/22/2018 - 05:30

Microsoft has announced a few changes to the future of the Office suite that most IT people will need to understand for the future of the environment they manage. If you’re looking after a decent sized IT environment, then you’re probably also looking after Microsoft Office, and it’s probably one of the most important apps […]

The post Microsoft has announced a few changes to the future of the Office suite appeared first on 24x7ITConnection.

Review of Additive Manufacture and Generative Design for PLM/Design at Develop 3D Live 2018

Rachel Berrys Virtually Visual blog - Wed, 05/16/2018 - 13:54

A couple of months ago, back at D3DLive! I had the pleasure of chairing the Additive Manufacturing (AM) track. This event in my opinion alongside a few others e.g. Siggraph and COFES is one of the key technology and futures events for the CAD/Graphics ecosystem. This event is also free thanks in part to major sponsors HP, Intel, AMD and Dell sponsorship.

A few years ago, at such events the 3D-printing offerings were interesting, quirky but not really mainstream manufacturing or CAD. There were 3D-printing vendors and a few niche consultancies, but it certainly wasn’t technology making keynotes or mentioned by the CAD/design software giants. This year saw the second session of the day on the keynote stage (video here) featuring a generative design demo from Bradley Rothenberg of nTopology.

With a full track dedicated to Additive Manufacture(AM) this year including the large mainstream CAD software vendors such as Dassault, Siemens PLM and Autodesk this technology really has hit the mainstream. The track was well attended with approximately half of the attendees when poled where actually involved in implementing additive manufacture and a significant proportion using it in production.

There was in general a significant overlap between many of the sessions, this technology has now become so mainstream that rather than seeing new concepts we are seeing like mainstream CAD more of an emphasis on specific product implementations and GUIs.

The morning session was kicked off by Sophie Jones, General Manager of Added Scientific a specialist consultancy with strong academic research links who investigate future technologies. This really was futures stuff rather than the mainstream covering 3D-printing of tailored pharmaceuticals and healthcare electronics.

Kieron Salter from KWSP then talked about some of their user case studies, as a specialist consultancy they’ve been needed by some customers to bridge the gaps in understanding. In particular, some of their work in the Motorsports sector was particularly interesting as cutting-edge novel automotive design.

Jesse Blankenship from Frustum gave a nice overview of their products and their integration into Solid Edge, Siemens NX and Onshape but he also showed the developer tools and GUIs that other CAD vendors and third-parties can use to integrate generative design technologies. In the world of CAD components, Frustum look well-placed to become a key component vendor.

Andy Roberts from Desktop Metal gave a rather beautiful demonstration walking through the generative design of a part, literally watching the iteration from a few constraints to an optimised part. This highlighted how different many of these parts can be compared to traditional techniques.

The afternoon’s schedule started with a bonus session that hadn’t made the printed schedule from Johannes Mann of Volume Graphics. It was a very insightful overview of the challenges in fidelity checking additive manufacturing and simulations on such parts (including some from Airbus).

Bradley Rothenberg of nTopology reappeared to elaborate on his keynote demo and covered some of the issues for quality control and simulation for generative design that CAM/CAE have solved for conventional manufacturing techniques.

Autodesk’s Andy Harris’ talk focused on how AM was enabling new genres of parts that simply aren’t feasible via other techniques. The complexity and quality of some of the resulting parts were impressive and often incredibly beautiful.

Dassault’s session was given by a last-minute speaker substitution of David Reid; I haven’t seen David talk before and he’s a great speaker. It was great to see a session led from the Simulia side of Dassault and how their AM technology integrates with their wider products. A case study on Airbus’ choice and usage of Simulia was particularly interesting as it covered how even the most safety critical, traditional big manufacturers are taking AM seriously and successfully integrating it into their complex PLM and regulatory frameworks.

The final session of the day was probably my personal favourite, Louise Geekie from Croft AM gave a brilliant talk on metal AM but what made it for me was her theme of understanding when you shouldn’t use AM and it’s limitations – basically just because you can… should you? This covered long term considerations on production volumes, compromises on material yield for surface quality, failure rates and costs of post-production finishing. Just because a part has been designed by engineering optimisation doesn’t mean an end user finds it aesthetically appealing – the case where a motorcycle manufacturer and indeed wants the front fork to “look” solid.

Overall my key takeaways were:

·       Just because you can doesn’t mean you should, choosing AM requires an understanding of the limitations and compromises and an overall plan if volume manufacture is an issue

·       The big CAD players are involved but there’s still work to be done to harden the surrounding frameworks in particular reliable simulation, search, fidelity testing.

·       How well the surrounding products and technologies handle the types of topologies and geometries GM throws out will be interesting. In particular it’ll be interesting to watch how Siemens Syncronous Technology and direct modellers cope, and the part search engines such as Siemens Geolus too.

·       Generative manufacture is computationally heavy and the quality of your CPU and GPU is worth thinking about.

Hardware OEMS and CPU/GPU Vendors taking CAD/PLM seriously

These new technologies are all hardware and computationally demanding compared to the modelling kernels of 20 years ago. AMD were showcasing and talking about all the pro-viz, rendering and cloud graphics technologies you’d expect but it was pleasing to see their product and solution teams and those from Dell, Intel, HP etc talking about computationally intensive technologies that benefit from GPU and CPU horse power such as CAE/FEA and of course generative design. It’s been noticeable in recent years in the increasing involvement and support from hardware OEMs and GPU vendors for end-user and ISV CAD/Design events and forums such as COFES, Siemens PLM Community and Dassault’s Community of Experts; which should hopefully bode well for future platform developments in hardware for CAD/Design.

Afterthoughts

A few weeks ago Al Dean from Develop3D wrote an article (bordering on a rant) about how poorly positioned a lot of the information around generative design (topology optimisation) and it’s link to additive manufacture is. I think many reading, simply thought – yes!

After reading it – I came to the conclusion that many think generative design and additive manufacture are inextricably linked. Whilst they can be used in conjunction there are vast numbers of use cases where the use of only one of the technologies is appropriate.

Generative design in my mind is computationally optimising a design to some physical constraints – it could be mass of material, or physical forces (stress/strain) and could include additional constraints – must have a connector like this in this area, must be this long or even must be tapered and constructed so it can be moulded (include appropriate tapers etc – so falls out the mold).

Additive manufacture is essentially 3-D printing, often metals. Adding material rather than the traditional machining mentality of CAD (Booleans often described as target and tool) – removing stuff from a block of metal by machining.

My feeling is generative design far greater potential for reducing costs and optimising parts for traditional manufacturing techniques e.g. 3/5-axis G-code like considerations, machining, injection molding than has been highlighted. Whilst AM as a prototyping workflow for those techniques is less mature than it could be as the focus has been on these weird and wonderful organic parts you couldn’t make before without AM/3-D Printing.

Microsoft Build’s hidden IT Pro announcements

Theresa Miller - Tue, 05/15/2018 - 05:30

Microsoft Build is the annual gathering of the software developer community who are focused on the Microsoft platform, held recently. An event to rival Microsoft Ignite, it also is a chance for Microsoft to make some big product announcements. For this reason, it’s worth it for IT Pros to also look at the event coverage […]

The post Microsoft Build’s hidden IT Pro announcements appeared first on 24x7ITConnection.

Three New vSphere 6.7 Features That Make the Upgrade Worth It

Theresa Miller - Thu, 05/10/2018 - 05:30

VMware has a long history of innovation, with many waiting with baited breath for new vSphere releases. From Storage vMotion to the VCSA, there has been so many interesting features released over the years. Each release alone is packed full of new features that can sometimes be hard to sort through, which is why I […]

The post Three New vSphere 6.7 Features That Make the Upgrade Worth It appeared first on 24x7ITConnection.

Citrix Synergy 2018 Keynote Highlights just for you!

Theresa Miller - Tue, 05/08/2018 - 06:15

This morning we all work up to a mild earthquake to get the day started before the event today.  Thankfully just a mild rumble that quickly passed.  The energy at Citrix Synergy 2018 brings promise of a great event, and some new products to look forward to.  At the keynote there were many things uncovered, […]

The post Citrix Synergy 2018 Keynote Highlights just for you! appeared first on 24x7ITConnection.

Download, Install, Import Visual C++ Redistributables with VcRedist

Aaron Parker's stealthpuppy - Mon, 05/07/2018 - 21:32

Last year I wrote a PowerShell script that can download, install or import the Visual C++ Redistributables into MDT or ConfigMgr. Long-term maintenance of the full feature set in a single script is a little unwieldy so I’ve re-written the script and created a PowerShell module – VcRedist.

Refactoring the script into a module has been a great little project for creating my first PowerShell function and publishing it to the PowerShell Gallery.

Why VcRedist?

At this point, I’m sure you’re saying to yourself – “Aaron, haven’t you just created Chocolatey?”. In a way yes, this module does exactly what you can do with Chocolatey – install the Visual C++ Redistributables directly to the local machine. Although you can download and install all of the supported (and unsupported) Redistributables, the primary aim of the module is to provide a fast way to download and import the Redistributables into the Microsoft Deployment Toolkit or System Center Configuration Manager for operating system deployments.

Module

The VcRedist module is published to the PowerShell Gallery, which means that it’s simple to install the module and starting importing with a few lines of PowerShell. For example, here’s how you could install the module, download all of the supported Redistributables and import them into an MDT deployment share:

Install-Module -Name VcRedist Import-Module VcRedist $VcList = Get-VcList | Get-VcRedist -Path "C:\Temp\VcRedist" Import-VcMdtApp -VcList $VcList -Path "C:\Temp\VcRedist" -MdtPath "\\server\share\Reference"

This results in each of the Visual C++ Redistributables imported as a separate application with all necessary properties including Version, silent command line, Uninstall Key and 32-bit or 64-bot operating system support.

Visual C++ Redistributables imported into an MDT share with VcRedist

The same approach can be used to import the Redistributables into a ConfigMgr site:

Install-Module VcRedist Import-Module VcRedist $VcList = Get-VcList | Get-VcRedist -Path "C:\Temp\VcRedist" Import-VcCmApp -VcList $VcList -Path "C:\Temp\VcRedist" -CMPath "\\server\share\VcRedist" -SMSSiteCode LAB

Just like MDT, each Redistributable is imported into ConfigMgr; however, Import-VcCmApp copies the Redistributables to a share for distribution and creates and application with a single deployment for each one.

Visual C++ Redistributables imported into ConfigMgr with VcRedist

Of course, the module can download and install the Redistributables to the local machine:

Install-Module VcRedist Import-Module VcRedist $VcList = Get-VcList | Get-VcRedist -Path "C:\Temp\VcRedist" $VcList | Install-VcRedist -Path C:\Temp\VcRedist

By default, this installs all of the supported Redistributables:

Visual C++ Redistributables installed locally with VcRedist

Note that the 2015 and 2017 Redistributables are the same version, so the end result will include only the 2017 versions.

Functions

This module includes the following functions:

Get-VcList

This function reads the Visual C++ Redistributables listed in an internal manifest or an external XML file into an array that can be passed to other VcRedist functions. Running Get-VcList will return the supported list of Visual C++ Redistributables. The function can read an external XML file that defines a custom list of Visual C++ Redistributables.

Export-VcXml

Run Export-VcXml to export the internal Visual C++ Redistributables manifest to an external XML file. Use -Path to define the path to the external XML file that the manifest will be saved to. By default Export-VcXml will export only the supported Visual C++ Redistributables.

Get-VcRedist

To download the Visual C++ Redistributables to a local folder, use Get-VcRedist. This will read the array of Visual C++ Redistributables returned from Get-VcList and download each one to a local folder specified in -Path. Visual C++ Redistributables can be filtered for release and processor architecture.

Install-VcRedist

To install the Visual C++ Redistributables on the local machine, use Install-VcRedist. This function again accepts the array of Visual C++ Redistributables passed from Get-VcList and installs the Visual C++ Redistributables downloaded to a local path with Get-VcRedist. Visual C++ Redistributables can be filtered for release and processor architecture.

Import-VcMdtApp

To install the Visual C++ Redistributables as a part of a reference image or for use with a deployment solution based on the Microsoft Deployment Toolkit, Import-VcMdtApp will import each of the Visual C++ Redistributables as a separate application that includes silent command lines, platform support and the UninstallKey for detecting whether the Visual C++ Redistributable is already installed. Visual C++ Redistributables can be filtered for release and processor architecture.

Each Redistributables will be imported into the deployment share with application properties for a successful deployment.

Import-VcCMApp

To install the Visual C++ Redistributables with System Center Configuration Manager, Import-VcCmApp will import each of the Visual C++ Redistributables as a separate application that includes the application and a single deployment type. Visual C++ Redistributables can be filtered for release and processor architecture.

Tested On

Tested on Windows 10 and Windows Server 2016 with PowerShell 5.1. Install-VcRedist and Import-VcMdtApp require Windows and the MDT Workbench. Get-VcList, Export-VcXml and Get-VcRedist do work on PowerShell Core; however, most testing is completed on Windows PowerShell.

To Do

Right now, I have a few tasks for updating the module, including:

  • Additional testing / Pester tests
  • Add -Bundle to Import-VcMdtApp to create an Application Bundle and simplify installing the Redistributables
  • Documentation updates

For full details and further updates, keep an eye on the repository and test out the module via the PowerShell Gallery.

Image credit:

Alexey Ruban

This article by Aaron Parker, Download, Install, Import Visual C++ Redistributables with VcRedist appeared first on Aaron Parker.

Categories: Community, Virtualisation

Pages

Subscribe to Spellings.net aggregator - Virtualisation