Jump to content
You must now use your email address to sign in [click for more info] ×

Cannot run any apps after installing Affinity 2- cannot access device error


Recommended Posts

  • Staff

Sorry to hear that you're having issues.

Can you try opening PowerShell as an Admin and run the following command: Add-AppxPackage -Path "https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx"

Let me know how you get on.

Link to comment
Share on other sites

Ran Powershell as you requested and the command appeared to complete correctly "Deployment in progress" appeared on the screen. However, none of the Affinity apps will run (same error) nor can I add the runtime library (same error as above)

Link to comment
Share on other sites

  • Staff

Thanks for trying. Can you try restarting your machine and try again? if that fails, can you go into EventViewer and see if you have anything listed there relating to this issue:

Application and Services Logs > Microsoft > Windows > AppxDeployment-Server > Microsoft-Windows-AppXDeploymentServer/Operational

Link to comment
Share on other sites

Updated and restarted machine, apps still will not load. Opened Event Viewer, and there are a lot of messages about this install, many identical.

AppX Deployment operation failed for package Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe with error 0x80073D02. The specific error text for this failure is: error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.DesktopAppInstaller_1.18.2691.0_x64__8wekyb3d8bbwe.

Finished servicing package SerifEuropeLtd.AffinityDesigner2_2.0.0.1640_x64__3cqzy0nppv2rt. Setting the package state to enabled returned with 0x0.

Finished servicing package SerifEuropeLtd.AffinityPublisher2_2.0.0.1640_x64__3cqzy0nppv2rt. Setting the package state to enabled returned with 0x0.

Finished servicing package SerifEuropeLtd.AffinityPhoto2_2.0.0.1640_x64__3cqzy0nppv2rt. Setting the package state to enabled returned with 0x0.

I have attached 256 events in the log beginning with me installing the apps

affinityinstall.evtx

Link to comment
Share on other sites

7 minutes ago, Leigh said:

Ok, thanks for trying. What's strange is that Microsoft Desktop App Installer would have been used to install V2. According to this thread on SuperUser someone had the same issue but using Powershell fixed it. What version of Windows are you on?

Version 22H2 (OS Build 19045.2251). I know I HAVE the installer- it's just not running in the background. All 3 Affinities installed after all. The error comes when I try to instal the C++ runtime, but per that Powershell command you gave me I've installed it. The Affinity apps themselves are throwing a permissions error. Diti you get the log I sent?

Link to comment
Share on other sites

19 hours ago, Leigh said:

I didn't spot anything obvious in the log file unfortunately. I will have to speak with our developers to see if they have any idea what's causing the issues. Will get back to you ASAP.

Just as a belt-and-suspenders approach, I decided to try to install the VC++ runtime again from the command line using Powershell (the 

Add-AppxPackage Microsoft.VCLibs.x64.14.00.appx command)

. I got this error:

Add-AppxPackage : Cannot find path 'C:\Users\jay-d\Microsoft.VCLibs.x64.14.00.appx' because it does not exist.
At line:1 char:1
+ Add-AppxPackage Microsoft.VCLibs.x64.14.00.appx
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\jay-d\....x64.14.00.appx:String) [Add-AppxPackage], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

 

Now I'm really confused

Link to comment
Share on other sites

  • Staff
2 hours ago, James Webb said:

Just as a belt-and-suspenders approach, I decided to try to install the VC++ runtime again from the command line using Powershell (the 

Add-AppxPackage Microsoft.VCLibs.x64.14.00.appx command)

. I got this error:

Add-AppxPackage : Cannot find path 'C:\Users\jay-d\Microsoft.VCLibs.x64.14.00.appx' because it does not exist.
At line:1 char:1
+ Add-AppxPackage Microsoft.VCLibs.x64.14.00.appx
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\jay-d\....x64.14.00.appx:String) [Add-AppxPackage], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

 

Now I'm really confused

Can you try this command instead: Add-AppxPackage -Path "https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx"

Link to comment
Share on other sites

Sorry, I figured that out on my own, and the package seems to install. Is there some way to verify that?

I have also rebooted into safe mode, shut down completely, uninstalled and reinstalled all three Affinity apps, all to no avail. I did a capture during the install, it is attached. Do I have the correct AppInstaller?

affinity err3.png

Link to comment
Share on other sites

2 hours ago, Leigh said:

You could also try this suggestion here: 

 

There are no "three dots" next to my entries in Apps & Features- just Repair and install (*SORRY, MOVE and UNINSTALL). I cannot find the Apps|Installed Apps|Affinity 2 on my machine- I'm on Win10, he's on 11, maybe that's it, but it doesn't help me. I do agree with the 'gamazon' guy though- this is the worst install I've seen in a long time.

Link to comment
Share on other sites

OK- found, by poking around, the Reset and Repair options. Rest all three apps, repaired all 3 apps. If I try to run them from the start menu, a white line appears under the entry, then nothing happens. If I try to run them in Admin mode, I get the permissions error. Why oh why did ya'll not just use a regular Windows install? This is a freaking nightmare!

Link to comment
Share on other sites

Sounds as there might be some package storage corruption on your disk.

Right click your start menu and open "Windows Terminal" (or "Powershell" or "Command Prompt") with Administrator permissions/elevated.

Then try to run this command:

sfc /scannow

If it repaired issues, rerun it. If it found no issues, do the same with the next command:

dism /Online /Cleanup-Image /RestoreHealth

Repeat it until it reports no issues (or unfixable issues). If you get the later, there are other options to try, but this would definitely be a potential reason here.

Link to comment
Share on other sites

10 minutes ago, Smaxx said:

Sounds as there might be some package storage corruption on your disk.

Right click your start menu and open "Windows Terminal" (or "Powershell" or "Command Prompt") with Administrator permissions/elevated.

Then try to run this command:

sfc /scannow

If it repaired issues, rerun it. If it found no issues, do the same with the next command:

dism /Online /Cleanup-Image /RestoreHealth

Repeat it until it reports no issues (or unfixable issues). If you get the later, there are other options to try, but this would definitely be a potential reason here.

Yes, I run both of those weekly. Just ran them again, no errors found with either one.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.