box / boxcli

A command line interface for interacting with the Box API.
https://developer.box.com
Apache License 2.0
229 stars 59 forks source link

Getting "This app can't run on your PC" for 3.0 installation file #325

Closed adam801 closed 2 years ago

adam801 commented 2 years ago

Description of the Issue

I have Box CLI 2.9 installed on my Windows machine. I'm trying to run the 3.0 installer, and get the message "This app can't run on your PC. To find a version for your PC, check with the software publisher."

image

I went to the Compatibility tab of the file, clicked the Run compatibility troubleshooter, and it set the mode to be Windows 8. I then tried to run again, and still got the same error.

image

image

My PC: Latitude 7400 Processor: Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz 2.11 GHz Installed RAM: 32 GB Windows 10 Pro Version: 21H2 OS build: 19044.1645 Experience: Windows Feature Experience Pack 120.2212.4170.0

Steps to Reproduce

  1. Download exe from github: https://github.com/box/boxcli/releases/download/v3.0.0/box-v3.0.0-x64.exe
  2. Run exe to install

Expected Behavior

Expected it to install without errors.

Error Message, Including Stack Trace

image

Screenshots

See above

Versions Used

Box CLI: Currently 2.9 image

Operating System: Windows 10 Pro Version: 21H2 OS build: 19044.1645 Experience: Windows Feature Experience Pack 120.2212.4170.0

Thanks. Adam

mwwoda commented 2 years ago

Hi @adam801

I tried installing v3.0.0 on my existing cli v2.9.0 installation and everything ran without problems. I am using a VM running Win10 Pro 64bit with version 21H2. You should not need to set any compatibility mode when installing CLI. It runs natively on Win10.

Can you provide your system type (os and cpu bit architecture)? You can find it in the System tab in the Control Panel. This problem often occurs when the installer architecture is not the same as your computer architecture. Also, try running the installer with administrator privileges, as this could solve your problem.

You can also try to install the 32-bit version or perform a clean install (delete the existing installation and then install the new version afterwards).

Thanks

mwwoda commented 2 years ago

Hi @adam801

Is this still a problem? Did any of my tips help?

adam801 commented 2 years ago

Hi @mwwoda,

The issue was on my part. I didn't realize the download was blocked because it was an exe file. Instead of my network giving me a message that I couldn't download, it created a 0kb file. I didn't notice the 0kb when I tried to install. I went off VPN and was able to download and use 3.0.

Thanks for the follow up and apologies for being a typical end user. :-)

Adam

mwwoda commented 2 years ago

I'm glad it worked!