lightning-app icon indicating copy to clipboard operation
lightning-app copied to clipboard

Windows 10 32bit Installation

Open velgard1 opened this issue 5 years ago • 6 comments

Hi,

when I try to run the installer I get an error message. In the past it said wrong version of Windows and last time it specified 64bit needed. You simply have to run the installer to reproduce it. At least I would expect the installer to run normally and get issues only when I try to run the software... As said the installer simply will not run.

First I only want to know if it should work and if any issues are known which could lead to this behaviour. If required I can provide aditional information (at the moment I run a Intel Compute Stick with 2GB RAM, 1TB HDD & 32GB Flash, have a powerline network connection and Bitcoin Core v17.01).

Thanks in davance Armin

velgard1 avatar May 14 '19 16:05 velgard1

@velgard1 I've been running just about every version of the lightning-app on windows 10 which is 64-bit but I've never had this issue. So after reading your post I downloaded the latest version 0.5.1-alpha, ran the installer and it had no problem. Probably your issue is a local issue with the Compute Stick? Try the app on a laptop or desktiop. If you plan to use this with real money, running the node on a Compute Stick doesn't seem a wise idea.

EDIT: How 32 bit apps can run on 64-bit Windows: https://docs.microsoft.com/en-us/windows/desktop/winprog64/running-32-bit-applications

molxyz avatar May 14 '19 22:05 molxyz

image Reproducible on Windows 10 32 bit. Error message on launch of installer: "64-bit Windows is required" image

Similar issue with electron: https://github.com/electron-userland/electron-builder/issues/2168

githorray avatar May 15 '19 00:05 githorray

Similar issue with electron: electron-userland/electron-builder#2168

https://github.com/electron-userland/electron-builder/issues/2168#issuecomment-334994656

develar commented on Oct 8, 2017
Electron builder 13 is old. Please use latest version.

OP doesn't say which bit version his OS has. It seems to me he's saying the installer says he can't install unless the app is built with 64-bit because his stick is a 64-bit. I might be wrong here. But I'm wondering if he doesn't use the installer can the app be run fine? Unless his system is a 32-bit and the app is not really a 32-bit?

And he specifically talks about the installer.exe which can only be created after the download executable has been executed (only then the installer.exe gets created and tuck away in a separated folder in directory C:\Users\username\AppData\Roaming\Lightning, unless you go look for it you don't even know it's there), and once the download executable is executed it installs the app and a shortcut on your Desktop. From thereon, he can just click on the shortcut to run the app, which the installer.exe never needs to be used. At least this is how the app behaves on my system.

molxyz avatar May 15 '19 15:05 molxyz

@tanx I just found out that the app is actually a 64-bit app on Windows. And why is it that I'm running only one app but it takes 3 processes of Lightning.exe ? (see screenshot)

image

molxyz avatar May 15 '19 17:05 molxyz

@tanx I think i got the app built for both platforms.. This is what i have in package.json:

    "win": {
      "artifactName": "${productName}-win32-${arch}v${version}.${ext}",
      "extraResources": "assets/bin/win32/lnd.exe",
      "icon": "assets/app-icon/desktop.ico",
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64",
            "ia32"
          ]
        }
      ]
    },

Here's the 32-bit app showing on my laptop:

image

molxyz avatar May 16 '19 03:05 molxyz

Sorry for the long break... To clarify because I forgot to mention it: I have 32bit Windows and it's like in the screenhot posted by githorray. I thought it's on the way for the next version since from the posts it seemed to be solved, but up to now it still doesn't work, So when is it likely to be released - or can/have I to compile it myself somehow? Thanks again

velgard1 avatar Jul 17 '19 20:07 velgard1