Fixing installation issues with the .appinstaller zight for windows.

Roger Pineda
Roger Pineda
  • Updated

"Cannot open app package"

If you see the below error when installing the Zight for Windows application, then it is related to the App Installer issue.

f99fc55c-51c9-4c6b-acdb-a2c5548d0b8f.png

 

What is an app installer?

App Installer is an application provided by Microsoft that comes bundled with Windows. It facilitates the seamless installation of MSIX files and MSIXBundles, offering users a convenient way to install applications.

We've chosen the MSIX bundled format for distributing the Zight Windows application. This modern format, recommended by Microsoft, enhances the user experience, particularly with regard to automatic updates.

Reference: Microsoft's documentation on App Installer

What does this error mean?

Microsoft frequently updates the App Installer to address security concerns. With a recent Windows OS update from December 23rd, older versions of the App Installer protocol were disabled.

Encountering this error indicates that your system is still using an outdated version of the App Installer application. Consequently, attempting to install Zight using an older App Installer version will fail. It's important to note that this problem is not unique to Zight; rather, Microsoft is enforcing a security measure.

How do I fix this?

To resolve this issue, ensure that you have installed all the latest Windows OS updates. This process should automatically update the App Installer to the most recent version.

Alternatively, you can update the App Installer application using one of the following methods:

  1. Microsoft Store: Search for "App Installer" in the Microsoft Store and install the latest update.

  2. Direct Download: Download the latest version of the App Installer directly from the Microsoft website here.

  3. Command Line: Utilize Winget, the Windows package manager, to update the App Installer via the command prompt: winget upgrade Microsoft. AppInstaller

 

"App installation failed with error message: The appinstaller URI ... is already being used by another package and cannot be applied to package Zight_se9kawmxh69x8 until the association is removed. (0x80004005)"

What does this error mean?

Usually a corrupted installation—that's when uninstall didn't correctly remove registry data.

 

1. Be sure there is no zight app installed

2. If you still get the error, open PowerShell as an admin and run the following:

# List packages associated with Zight
Get-AppxPackage | Where-Object { $_.InstallLocation -like "*Zight*" } | ForEach-Object {
Write-Host "Removing package:" $_.Name
Remove-AppxPackage -Package $_.PackageFullName
}

# Also try removing AppxProvisionedPackage (for all users)
Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -like "*Zight*" } | ForEach-Object {
Write-Host "Removing provisioned package:" $_.DisplayName
Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName
}

Related to

Was this article helpful?

1 out of 14 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.