Open wb8tyw opened 2 years ago
Current plans are to see if I can use the lzhuf from a prebuilt MSI before using the pyinstaller when building an MSI package with the exe file from pyinstaller file, so there is one MSI file to install.
Unfortunately I have hit a blocker on doing this.
The current python PyPi modules for GTK+ that are required for D-Rats need to build some binaries with Visual Studio. That build is failing, and the internet searches so far have not show any solution.
All threads that I have found so far have resulted in the person giving up on a native Python.org Windows solution and installing msys2 instead.
Leaving this ticket open in case someone else has better luck.
It's been a second since I have ran windows. But what about a different path? Make a docker image for windows to hold the depends. Make just the minimal docker instance to allow execution and call it a day?
If someone wants to provide in Wiki articles how to build that docker image and how to install it, I am sure that no one would object.
Like Microsoft WSL, the Windows docker system only runs on some Windows 10 platforms. Current documentation I just checked shows that it requires Microsoft WSL 2nd Generation.
Unlike Microsoft WSL, the Docker Desktop that may be required, is only free for a subset of users. As such, I will not be installing it on any of my systems that may otherwise be able to run it.
If WSL is installed, the Ubuntu image can be installed and may be simpler just to install D-Rats and optionally LZHUF on it instead of maintaining a Docker image. That is a totally free solution, but not high on my personal testing agenda right now. If someone wants to add a Wiki page on how to do this, it would be appreciated.
Currently only Cygwin and Msys2 are the only two solutions I know of with totally free licenses that will run on most Microsoft Windows systems currently in use. It is unknown how long they will be available for install on Microsoft Windows that is older than Windows 10.
It would be nice if someone could create a wiki page on how to install msys2 and then install d-rats and lzhuf.
Currently a fixed lzhuf package is available from the files section of the D-Rats mailing list server. Currently the D-Rats python tarball does not use it, but in the near future, the D-Rats python tarball will need it installed or Winlink support will be disabled.,
https://github.com/SpudGunMan/SpudGunMan/tree/main/Docker/DRATS
untested at all but throwing a idea in the general direction, I need to get docker updated and good again. I don't have windows so..
Also this image is likely better.
use the template files copy the project into docker add the pip (compiled a list on my scratch decker file last post)
and finally
CMD cd /D-rats && [ "python", "d-rats.py" ]
Found some more leads to investigate for creating a standalone Msyss2 directory for Microsoft Windows.
https://www.msys2.org/wiki/Distributing/
Another option would be to come up with a package that runs a script that installs Msys2 mingw64 if it is not present and also installs D-Rats on it, which would take less work for the end user. I am thinking that this may be the best option to look at.
It also turns out that the current Windows Subsystem for Linux does not have access to USB/Serial p;orts. There is an experimental hack for enabling that support. However the public documentation for Windows Subsystem for Linux is lagging the actual product, and my last install had problems because some of the public instructions were wrong, and that was just installing the supported features, not the experimental hacks.
Need to set up the following: