Page 1 of 1

Running a windows program off a Raspberry pi?

Posted: Mon Dec 11, 2017 5:38 pm
by Gunnarb1890
My family currently has a business where we use a photo booth meant for large groups at once. Currently we have it running off of my laptop because it is the only one powerful enough. The problem is that we can only use it for one thing at a time. I'm wondering if there is a way to run the program on the raspberry pi and have it store the photos on my laptop for browsing so we don"t have to stop the photo booth program to get extra prints.

Re: Running a windows program off a Raspberry pi?

Posted: Mon Dec 11, 2017 5:58 pm
by HawaiianPi
Nope. Raspberry Pi computers do not run Windows applications. Different architecture, different software.

Re: Running a windows program off a Raspberry pi?

Posted: Mon Dec 11, 2017 7:24 pm
by Heater
Am I to understand that your entire family depends on one laptop?

It seems unlikely that whatever software you are running on that laptop will ever run on a Pi.

What actually is it you want to do? Perhaps there is another way...

Re: Running a windows program off a Raspberry pi?

Posted: Tue Dec 12, 2017 4:38 am
by Gunnarb1890
My family doesn't depend on the laptop. The photo booth does. The photo booth is only one of the things we can provide. Also I've read in multiple sources that raspberry pi can run a "bare bones" version of windows 10. I'm only trying to run a single program off the pi to free up processing power on the laptop to browse photos while the photo booth is running.

Re: Running a windows program off a Raspberry pi?

Posted: Tue Dec 12, 2017 4:50 am
by HawaiianPi
Nope. What the Pi runs is Windows IoT (Internet of Things), which is completely different from the Windows you are familiar with. It doesn't run your normal Windows apps. It runs software specifically built for it using the Universal Windows Platform (UWP) API. You would have to find or build a photobooth app for Windows IoT.

And even if you can find one, keep in mind that the Raspberry Pi3 is not a powerful computer. It is the fastest Pi, by a factor of 10 compared to the original, but compared to a traditional Windows computer it's about on par with a 4 year old Netbook.

You might want to look for Linux photobooth software. If you could find something that will run in Raspbian it would probably have better performance than a Windows IoT app.

Re: Running a windows program off a Raspberry pi?

Posted: Thu Dec 14, 2017 7:25 am
by wolbert
Or you can set up a Pi photobooth -- https://makezine.com/projects/raspberry-pi-photo-booth/

Re: Running a windows program off a Raspberry pi?

Posted: Sun Dec 17, 2017 3:36 pm
by jadro
try to install MONO. Mono is application that can start win exe application.

Re: Running a windows program off a Raspberry pi?

Posted: Sun Dec 17, 2017 3:57 pm
by Heater
I don't think so jadro.

Mono runs programs built using .net bytecode. C# for example. Which happen to be .exec files.

That is not the same as running good old x86 binary Windows executables.

Re: Running a windows program off a Raspberry pi?

Posted: Sun Dec 17, 2017 5:37 pm
by hippy
jadro wrote:
Sun Dec 17, 2017 3:36 pm
try to install MONO. Mono is application that can start win exe application.
Than can work but not all .exe files will run successfully with Mono. It depends on what they require. VB.Net had a particularly annoying issue which I believe was marked as "won't fix". Not sure if things have improved since then -

viewtopic.php?f=67&t=100516

There's also Eltech's ExaGear which can run Windows .exe files on a Pi but it's not a free product -

https://eltechs.com/product/exagear-desktop

Re: Running a windows program off a Raspberry pi?

Posted: Sun Dec 17, 2017 5:38 pm
by jadro
Heater wrote:
Sun Dec 17, 2017 3:57 pm
I don't think so jadro.

Mono runs programs built using .net bytecode. C# for example. Which happen to be .exec files.

That is not the same as running good old x86 binary Windows executables.
See this topic about mono. I do not know about mono but this is topic:
viewtopic.php?f=63&t=170436

Re: Running a windows program off a Raspberry pi?

Posted: Sun Dec 17, 2017 5:44 pm
by n67
jadro wrote:
Sun Dec 17, 2017 5:38 pm
Heater wrote:
Sun Dec 17, 2017 3:57 pm
I don't think so jadro.

Mono runs programs built using .net bytecode. C# for example. Which happen to be .exec files.

That is not the same as running good old x86 binary Windows executables.
See this topic about mono. I do not know about mono but this is topic:
viewtopic.php?f=63&t=170436
The implication here is that *IF* you think of .NET as what Windows development is today, then an argument can be made that being able to run .NET stuff is as good as and/or equivalent to being able to run Windows EXEs on any platform that is able to do that (e.g., say, the Pi, with Mono installed).

Of course, this pretty much misses the whole point - since most of the time when people ask about wanting to run Windows on the Pi, what they are actually talking about is being able to run some old, pre-.NET code - i.e., actual Windows/x86 binaries. Not .NET programs...

Re: Running a windows program off a Raspberry pi?

Posted: Sun Dec 17, 2017 6:31 pm
by Heater
n67,

Well, as our OP has not specified exactly what software from his Windows machine he want's to run on a Pi, unless I missed a point somewhere, we cannot tell if the .Net framework or Mono will do the job.

Seems unlikely to me.

Re: Running a windows program off a Raspberry pi?

Posted: Sun Dec 17, 2017 7:19 pm
by n67
Heater wrote:
Sun Dec 17, 2017 6:31 pm
n67,

Well, as our OP has not specified exactly what software from his Windows machine he want's to run on a Pi, unless I missed a point somewhere, we cannot tell if the .Net framework or Mono will do the job.

Seems unlikely to me.
All true.

But, as you say, unlikely.