-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Won't start on an offline PC #25
Comments
Hi @llvs, thanks for the request. The GitHub hosted installer .msix is actually scraped from the MSFT Store. The main reason I went this route is because the Store package has the benefit of using the MSFT Store's code signing certificate, which I believe should be trusted on just about all Windows 10/11 machines. From a security perspective, I'm hesitant to publish an offline installer because it would be unsigned. Windows doesn't allow MSIX installations unless they're code-signed (without disabling security controls, using PowerShell, and enabling Developer Mode). Since I don't plan on purchasing one for this project since it's FOSS, it would be difficult to offer a .MSI or .EXE setup installer available securely since it would be unsigned. To your issue- I suspect that since this is the Store version of the app, it's failing to launch for one of two reasons: I will investigate ways to package the .MSIX differently so it contains all relevant dependency packages for offline installer scenarios. In the meantime, the code is available so feel free to try those workarounds or build/modify locally for offline scenarios if you'd like. |
Hi @llvs I believe I've found the root cause here, and it's because the .MSIX hosted in GitHub is the exact same as the Store version. Because it's the Microsoft-signed, store version, it requires an internet connection on installation for license acquisition through the Microsoft Store After first installation and launch, it should be able to be used fully offline. There's two options to solve this:
TLDR; Two potential paths to fix, both with caveats. |
barcodrod.io installed properly on an offline Win11 machine from the github-downloaded install file but after clicking to start the app (no matter if immediately after installation or via Start menu) nothing happens. Only when the machine is connected to the internet (having provided the credentials in some other way), barcodrod.io opens up.
Does it need to fetch dependencies first?
The use case is to connect an offline laptop via webcam with a wifi network where the credentials come from a printed QR code. The built-in Win11 camera app can decode the QR code but needs a store app to handle it further and doesn't allow to copy the string (and therefore is totally useless).
I think this use case is important for barcodrod.io to shine as Win11 (with its camera app) doesn't help and your app could be the savior here.
The text was updated successfully, but these errors were encountered: