Unable to install on Windows 10

Forum / NoMachine for Windows / Unable to install on Windows 10

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29832
    wlgrd
    Participant

    I’m currently testing different versions of NoMachine, and got stuck at the same issue as this thread https://forums.nomachine.com/topic/installer-fails-on-windows-10

    I first installed ‘nomachine-enterprise-desktop_6.12.3_7.exe’ which was working. Then uninstalled, didn’t restart the computer, and tried installing nomachine_6.12.3_7.exe. I now get the runtime error all the time, regardless of installs and restarts.

     

    The last lines from my Setup log:

    2020-10-07 15:01:48.569   Dest filename: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\NoMachine\NoMachine Service.lnk

    2020-10-07 15:01:48.569   Creating the icon.

    2020-10-07 15:01:48.596   Successfully created the icon.

    2020-10-07 15:01:48.666   — Icon entry —

    2020-10-07 15:01:48.666   Dest filename: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\NoMachine\NoMachine.lnk

    2020-10-07 15:01:48.667   Creating the icon.

    2020-10-07 15:01:48.691   Successfully created the icon.

    2020-10-07 15:01:48.750   Installation process succeeded.

    2020-10-07 15:01:48.755   NX> 700 Function configureServerLauncherDirectory called

    2020-10-07 15:01:48.763   Need to restart Windows? No

    2020-10-07 15:01:48.777   Extracting temporary file: C:\Users\chw1\AppData\Local\Temp\is-CCRLN.tmp\NoMachine.cer

    2020-10-07 15:01:48.778   NX> 700 Running: cmd.exe /c “certutil -f -addstore “TrustedPublisher” “C:\Users\chw1\AppData\Local\Temp\is-CCRLN.tmp\NoMachine.cer””

    2020-10-07 15:01:48.857   NX> 700 Result: OK (0)

    2020-10-07 15:01:48.859   Extracting temporary file: C:\Users\chw1\AppData\Local\Temp\is-CCRLN.tmp\NoMachine-20161102.cer

    2020-10-07 15:01:48.860   NX> 700 Running: cmd.exe /c “certutil -f -addstore “TrustedPublisher” “C:\Users\chw1\AppData\Local\Temp\is-CCRLN.tmp\NoMachine-20161102.cer””

    2020-10-07 15:01:48.933   NX> 700 Result: OK (0)

    2020-10-07 15:01:48.935   Extracting temporary file: C:\Users\<user>\AppData\Local\Temp\is-CCRLN.tmp\NoMachine-20171103.cer

    2020-10-07 15:01:48.936   NX> 700 Running: cmd.exe /c “certutil -f -addstore “TrustedPublisher” “C:\Users\<user>\AppData\Local\Temp\is-CCRLN.tmp\NoMachine-20171103.cer””

    2020-10-07 15:01:49.013   NX> 700 Result: OK (0)

    2020-10-07 15:01:49.015   Extracting temporary file: C:\Users\<user>AppData\Local\Temp\is-CCRLN.tmp\NoMachine-20180413.cer

    2020-10-07 15:01:49.016   NX> 700 Running: cmd.exe /c “certutil -f -addstore “TrustedPublisher” “C:\Users\<user>\AppData\Local\Temp\is-CCRLN.tmp\NoMachine-20180413.cer””

    2020-10-07 15:01:49.104   NX> 700 Result: OK (0)

    2020-10-07 15:01:49.106   Extracting temporary file: C:\Users\<user>\AppData\Local\Temp\is-CCRLN.tmp\NoMachine-20181025.cer

    2020-10-07 15:01:49.107   NX> 700 Running: cmd.exe /c “certutil -f -addstore “TrustedPublisher” “C:\Users\<user>\AppData\Local\Temp\is-CCRLN.tmp\NoMachine-20181025.cer””

    2020-10-07 15:01:49.192   NX> 700 Result: OK (0)

    2020-10-07 15:01:49.198   NX> 700 Running: cmd /c “”C:\Program Files (x86)\NoMachine\bin\nxdisplay.exe” –checkport 4022 > “C:\Users\<user>\AppData\Local\Temp\is-CCRLN.tmp\port.txt””

    2020-10-07 15:01:49.329   NX> 700 Result: OK (1)

    2020-10-07 15:01:49.329   NX> 700 Result: 1

     

    2020-10-07 15:01:49.334   NX> 700 Updated key ‘ Port 4022’ in C:\Program Files (x86)\NoMachine\etc\sshd_config

    2020-10-07 15:01:49.334   NX> 700 Running: C:\Program Files (x86)\NoMachine\bin\nxservice64.exe –fwruleadd –name “NoMachine SSH Server” –group “NoMachine” –desc “NoMachine SSH Server” –app “C:\Program Files (x86)\NoMachine\bin\nxsshd.exe” –protocol tcp

    2020-10-07 15:01:49.426   NX> 700 Result: OK (0)

    2020-10-07 15:01:49.426   NX> 700 Running: C:\Program Files (x86)\NoMachine\bin\nxservice64.exe –fwruleadd –name “NoMachine SSH Server” –group “NoMachine” –desc “NoMachine SSH Server” –app “C:\Program Files (x86)\NoMachine\bin\nxsshd.exe” –protocol udp

    2020-10-07 15:01:49.493   NX> 700 Result: OK (0)

    2020-10-07 15:01:49.493   NX> 700 Function updateNodesDb called

    2020-10-07 15:01:49.493   Exception message:

    2020-10-07 15:01:49.493   Message box (OK):

    Runtime Error (at 179:480):

     

    Cannot open file “C:\Program Files (x86)\NoMachine\etc\nodes.db”. The system cannot find the file specified.

     

     

    #29834
    Britgirl
    Keymaster

    If there was an image attached, please submit it again. Thanks.

    #29836
    wlgrd
    Participant

    There was, but it was just showing the gui of the latest error message from the log

    Runtime Error (at 179:480):

    Cannot open file “C:\Program Files (x86)\NoMachine\etc\nodes.db”. The system cannot find the file specified

     

    #29839
    zaq
    Participant

    Hello wlgrd,

    Could you:

    1) Open cmd as Administrator – open Menu Start and just write cmd, then choose ‘Run as administrator’.

    2) Run this commands:

    dir "C:\Program Files (x86)\NoMachine\etc"

    icacls "C:\Program Files (x86)\NoMachine\etc\nodes.db"

    3) Send the whole log file and outputs from the commands to forum[at]nomachine[dot]com please?

    #29842
    wlgrd
    Participant

    No reason to set/read permissions on a file that doesn’t exist.

    I worked around it by creating an empty file nodes.db during installation so it would find the file at the end of the install. Now it works perfectly again.

    Will send you the log file when back at said computer again for brevity’s sake. Maybe you can find the root cause for it.

    #29967
    Britgirl
    Keymaster

    Send them to forum[at]nomachine[dot]com. They might be useful 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

This topic was marked as solved, you can't post.