Efficient Steps To Install XPS Viewer on Windows 10

Posted on

Efficient Steps To Install XPS Viewer on Windows 10

Efficient Steps To Install XPS Viewer on Windows 10

This tutorial aims to guide you through the process of how to Install XPS Viewer on Windows 10. XPS (XML Paper Specification) is a file format, much like PDF, designed by Microsoft for printing documents to a file. The XPS Viewer is the application that allows you to open and view these XPS files. Knowing how to Install XPS Viewer on Windows 10 is useful for handling documents in this format.

You can follow this guide to Install XPS Viewer on Windows 10 on the Orcacore website.

Step To Manually Install XPS Viewer on Windows 10

To follow this guide, you need access to your Windows client. Follow the steps outlined below:

Step 1 – XPS Viewer Installation on Windows 10

As mentioned earlier, newer versions of Windows 10 may not have the XPS Viewer installed by default. However, you can still install it manually. Here’s how:

First, open Windows Settings by pressing the Win + I keys simultaneously.

Next, navigate to the Apps section.

Open Windows 10 Apps

On the right side of the window, click on Apps and Features and then select Optional Features.

Windows 10 Optional Features

Click on Add a Feature and search for XPS Viewer. Select the checkbox next to it and click Install.

Install XPS Viewer

The installation may take a few minutes to complete.

XPS installation process Windows 10
Install XPS Viewer on Windows 10

Step 2 – How To Open an XPS File?

Once the XPS Viewer installation is complete on your Windows 10 system, right-click on an XPS file and select "Open with" followed by "XPS Viewer". Here, we’re opening a Word XPS file as an example.

Open a file with XPS viewer

The file should now open in the XPS Viewer.

XPS test fie

Conclusion

You’ve now learned how to Install XPS Viewer on Windows 10 and open an XPS file. Enjoy using it!

You might also be interested in these articles:

Connect Remote Desktop Without a Password in Windows

How To Change Mouse Speed on Windows 10

Please follow us on Facebook, Instagram, and Twitter.

FAQs

Is XPS Viewer free?

Yes. This software is available for free on Windows.

What software can open XPS?

Windows 11 and Windows 10 can open XPS files using Microsoft’s Reader app. You can use Pagemark to open XPS files on a Mac and the Pagemark XPS Viewer plug-in for Firefox and Safari web browsers. Linux users can use Pagemark’s programs to open XPS files, too.

Is XPS better than PDF?

If you want to save your publication in a format that can be easily shared and is used by many commercial printers, it’s better to choose PDF.
If you want to save your publication with even greater compression than PDF format, it’s recommended to choose XPS.

Does Windows 10 support XPS Viewer?

At the current time, new versions of Windows 10 don’t have XPS viewer installed. But if you want to use this app, you can install it on your system.

Alternative Solutions to Installing XPS Viewer on Windows 10

While the above method of using Optional Features in Windows Settings is straightforward, there are alternative approaches to achieve the same result. Here are two such methods:

1. Using DISM (Deployment Image Servicing and Management) via Command Line

DISM is a powerful command-line tool that can be used to manage Windows features, including installing optional features like XPS Viewer. This method is useful when you prefer using the command line or need to automate the installation process. This is a good option when you need to Install XPS Viewer on Windows 10 using scripts.

Explanation:

DISM allows you to modify a Windows image or a running operating system. We will use it to enable the XPS Viewer feature. You need administrator privileges to execute DISM commands.

Steps:

  1. Open Command Prompt as Administrator: Search for "cmd" in the Start menu, right-click on "Command Prompt," and select "Run as administrator."

  2. Run the DISM command: Type the following command and press Enter:

    DISM /Online /Add-Capability /CapabilityName:XPS.Viewer~~~~0.0.1.0
    • /Online specifies that you’re working on the currently running operating system.
    • /Add-Capability tells DISM to install a specific feature.
    • /CapabilityName identifies the feature to install, which is XPS.Viewer~~~~0.0.1.0 for XPS Viewer.
  3. Wait for the Installation: DISM will download and install the XPS Viewer. The progress will be displayed in the Command Prompt window.

  4. Verify Installation: Once the command completes successfully, XPS Viewer should be installed. You can verify this by searching for "XPS Viewer" in the Start menu.

Code Example:

@echo off
echo Installing XPS Viewer...
DISM /Online /Add-Capability /CapabilityName:XPS.Viewer~~~~0.0.1.0
echo XPS Viewer installation complete.
pause

This batch script automates the DISM command. Save the above code to a file named install_xps_viewer.bat and right-click on it, select "Run as administrator".

2. Using PowerShell

PowerShell provides another command-line interface for managing Windows features. It’s a more modern and flexible alternative to the traditional Command Prompt. Using Powershell can be an efficient way to Install XPS Viewer on Windows 10.

Explanation:

PowerShell cmdlets (commands) are used to interact with the operating system. We’ll use the Add-WindowsCapability cmdlet to install the XPS Viewer. Like DISM, you need administrator privileges to run these commands.

Steps:

  1. Open PowerShell as Administrator: Search for "PowerShell" in the Start menu, right-click on "Windows PowerShell," and select "Run as administrator."

  2. Run the PowerShell command: Type the following command and press Enter:

    Add-WindowsCapability -Online -Name XPS.Viewer~~~~0.0.1.0
    • Add-WindowsCapability is the cmdlet used to add Windows capabilities.
    • -Online specifies that the operation is performed on the current operating system.
    • -Name specifies the name of the capability to install, which is XPS.Viewer~~~~0.0.1.0 for XPS Viewer.
  3. Wait for the Installation: PowerShell will download and install the XPS Viewer. You might see a progress bar or other output in the PowerShell window.

  4. Verify Installation: After the command completes successfully, XPS Viewer should be installed. Search for "XPS Viewer" in the Start menu to confirm.

Code Example:

# PowerShell script to install XPS Viewer
Write-Host "Installing XPS Viewer..."
Add-WindowsCapability -Online -Name XPS.Viewer~~~~0.0.1.0
Write-Host "XPS Viewer installation complete."

Save the above code to a file named install_xps_viewer.ps1 and right-click on it, select "Run with PowerShell".

Both DISM and PowerShell provide command-line alternatives to installing the XPS Viewer through the Settings app. Choose the method that best suits your needs and comfort level. They are both helpful ways to Install XPS Viewer on Windows 10. Remember to always run these commands with administrator privileges.

Leave a Reply

Your email address will not be published. Required fields are marked *