2024-12-21, 12:51 AM
(This post was last modified: 2024-12-21, 12:56 AM by raulo1985. Edited 3 times in total.)
qwerty12 dateline='[url=tel:1734554765' Wrote: 1734554765[/url]']
raulo1985 dateline='[url=tel:1734477395' Wrote: 1734477395[/url]']
But the thing is that I'm trying to create an installer (like the official ones), specially if you say that probably by doing so it would bundle everything together, including the missing resources. That's where I get stuck, I'm trying to figure how to create an installer.
I'm not at all familiar with programs used for creating installers, let alone the specific installer workflow employed by JMP, so there's not really much I can suggest. From a quick look at the README and the workflow file again, you're meant to install WiX Toolset v3.11.2, and then after successfully building withninja
(as you have done) you're meant to runset PATH=%PATH%;C:\Program Files (x86)\WiX Toolset v3.11\bin;%CD%
andninja windows_package
which, hopefully, churns out an installer. I think that process may require Python to be installed.
However, that probably won't work without this first: because the program depends on the Microsoft Visual C++ 2015-2022 Redistributable, you need to download that separately and have that as a part of the installer. You can see that being done here: https://github.com/jellyfin/jellyfin-med...ml#L79-L80
Looking at that, I'm confused as to what practical purpose thatsed
invocation serves. Maybe it's some WiX thing that I'm unfamiliar with. You can try running that, I guess, but I'd start by simply trying to save https://aka.ms/vs/17/release/vc_redist.x64.exe as bundle/win/Bundle.wxs
I don't actually know if there's any basis for what I said regarding as to why it won't start. To check, install the usual Jellyfin Media Player from its installer and then replace JellyfinMediaPlayer.exe and the libmpv-2.dll in C:\Program Files\Jellyfin Media Player (or wherever it actually installs to) with the ones you built and see if that starts.
(Looking at your other thread, if this is to autofill the server address, username and password, I reckon you would have an easier time trying something like modifyingweb-client\extension\find-webclient.js
instead and just having the recipient install the usual Jellyfin Media Player instead and creating a self-extracting 7-Zip archive that will replace the existing find-webclient.js. Or, if JMP saves the credentials in plaintext, a script that just writes out an initial config file. Dunno.)
Thanks again for all your help.
I’m not able to try your suggestions now (not my pc), but for the meantime, a couple of questions:
- When you say save vc_redist.x64.exe as bundle/win/Bundle.wxs, do you mean renaming the .exe file and its extension to Bundle.wxs? Sorry for the noob question.
- Regarding your last paragraph, I actually want to learn how to modify all the client settings defaults (specially with Tizen client, JMP and WebOS client) so I can remotely install everything by myself and not rely on my relatives tech abilities to do it (it takes too much time, and still somehow they usually end up with a bad configured client). So I’m interested on modifying every setting that you can modify when going to your profile pic at your client (playback, subtitles, even the order of how the libraries are shown if possible, etc). I’ve successfully build and deploy clients for Tizen TVs and WebOS TVs, but haven’t found a way to modify those defaults. Like I mentioned on my other thread, I found that in the appSettings.js and userSettings.js files almost all those settings are mentioned, but I don’t know much about coding so I’ll probably break everything if I modify those files without some assistance/guidance.
But one thing that could be also useful for this purpose is what you said, to have the server’s ip/ddns/username/password already set up so the client not only has its defaults already configured after installation/deployment, but also automatically logs in to the server without having to type the username and password. How can that be done? What should I modify in the find-webclient.js file for that purpose? At least when I look into that file of my already installed and configured JMP, I don’t see anything that mentions or points to my server (and when I execute the program, it automatically logs in).
In other words, I don’t know what to modify on a client before building it so, after being installed, it auto logs in to my server so the person at the client side don’t have to do, hopefully, anything after deployment (if that’s possible of course).
Having the client log in automatically after deployment would be great for my use case, but that’s not all that I want to achieve (which is to modify every client setting default). A deploy-and-forget kinda philosophy, specially considering my relative’s relation with any type of even the simplest tech (so it’s easier for me trying to figure this out than guiding them to even set up the client’s language or the size of the subtitles).