0
I've follow this guide: https://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx which allowed me to run a .exe using a new uri scheme.
The only problem is that I need to run this .exe minimized, I still haven't found a way to do this. So the solution I found was to create a shortcut to this .exe which does make it run minimized. The problem now is that I can't seem to figure out how to make the registry link to the .lnk file.
So what I'm looking for is a way to run the .lnk file from the registry or how to run the .exe file minimized from the registry.
The file path is correct since I'm getting the error: "This app can't be opened on your pc" (or something like that, it's in a different language).
In the guide that I followed the part which "opens" the file is: shell -> open -> command. I couldn't find any documentation about this, but maybe there are more options than just the "open"?
I hope you guys can help me out, thanks in advance!
Would your
exe
run from an opencmd
prompt? Or do you get an error message similar to This version offull\path\to\yourapp.exe
is not compatible with the version of Windows that you're running. Check your computer's system information and then contact the software publisher. – JosefZ – 2016-07-11T17:59:36.380Hey Josef, Thanks for your response! Everything works fine from the cmd prompt, I guess what I'm looking for is the correct command to place in the registry. And that's indeed the error message I'm receiving! – Robin.v – 2016-07-12T09:53:46.723