NRF Connect

I have installed the NRF Connect app on my Windows 10 PC, using "Run as Administrator" and keep getting the following error message whenever I try to install any of the products using the INSTALL buttons in the NRF Connect app:

The Error says: Unable to install:  Error invoking remote method 'apps:install-downloadable-app': Error: spawn UNKNOWN

Most computer settings are managed by IT for all sorts of corporate security.  I'm sure we are behind firewalls, etc. I was advised to use run as administrator to allow it to install (the command line tools seems to have installed using this method).     I have tried uninstalling and reinstalling, and also tried rebooting several times. 

Any ideas?

Parents
  • Hi

    Some feedback. It is very interesting that you're not able to run nrfutil due to a group policy, as that is a prerequisite for all nRF Connect for desktop apps. Unfortunately there is not an option that lets you choose where the nRF Connect installer installs files. The installer installs the nRF Connect for Desktop program itself within %LOCALAPPDAT%\Programs\nrfconnect but during runtime nRF Connect for Desktop stores several things (among others the nrfutil executable to run) in the folder %APPDATA%\nrfconnect. These look similar, usually both are in the users home folder, but in slightly different locations. Because of that changing the folder where nRF Connect for Desktop is installed wouldn’t help.

    But there is one thing you can try: This is an option we don't support, so it may break other/future things, but you can at least try. When running nRF Connect for Desktop you can use the command line option --user-data-dir to specify a different directory than %APPDATA%\nrfconnect in which many of the run time files will be stored, including nrfutil. So if you point that at a location that your IT policy don't block, it might help. One way to achieve this is to edit the properties of the shortcut that is used to run nRF Connect for Desktop and at the appropriate option and folder to the “Target” field, as pictured below:

    Best regards,

    Simon

Reply
  • Hi

    Some feedback. It is very interesting that you're not able to run nrfutil due to a group policy, as that is a prerequisite for all nRF Connect for desktop apps. Unfortunately there is not an option that lets you choose where the nRF Connect installer installs files. The installer installs the nRF Connect for Desktop program itself within %LOCALAPPDAT%\Programs\nrfconnect but during runtime nRF Connect for Desktop stores several things (among others the nrfutil executable to run) in the folder %APPDATA%\nrfconnect. These look similar, usually both are in the users home folder, but in slightly different locations. Because of that changing the folder where nRF Connect for Desktop is installed wouldn’t help.

    But there is one thing you can try: This is an option we don't support, so it may break other/future things, but you can at least try. When running nRF Connect for Desktop you can use the command line option --user-data-dir to specify a different directory than %APPDATA%\nrfconnect in which many of the run time files will be stored, including nrfutil. So if you point that at a location that your IT policy don't block, it might help. One way to achieve this is to edit the properties of the shortcut that is used to run nRF Connect for Desktop and at the appropriate option and folder to the “Target” field, as pictured below:

    Best regards,

    Simon

Children
Related