Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Load a .exe on a website?


gdog12356
 Share

Recommended Posts

Hello, i was wondering if it was possible that on a website, when you hit a start game button, it would execute the .exe for my game. Oviously, they would still have to have the origins runtimes, mabe it could have a check for that,  but i was just wondering if it was possible.
Link to comment
Share on other sites

> Hello, i was wondering if it was possible that on a website, when you hit a start game button, it would execute the .exe for my game. Oviously, they would still have to have the origins runtimes, mabe it could have a check for that,  but i was just wondering if it was possible.

This can't be done without some non-standard tricks. I remember Battlefield Heroes did have a button on their website, that launched a plugin (Only for Firefox and Internet Explorer) updating the game and launching it. But there's really no point to this.

Why not opting for a simple installer instead?  Is there a specific reason you want to launch an application from a website?
Try http://sourceforge.net/projects/nsis/ or http://www.jrsoftware.org/isinfo.php.

PS: HTA (http://msdn.microsoft.com/en-us/library/ms536496%28v=vs.85%29.aspx) is only for Internet Explorer. If you want to use similar technologies, pick up a copy of Native Client (http://code.google.com/p/nativeclient/)  ;)
Link to comment
Share on other sites

This isn't what he was talking about.  He wants a button that launches his game on their computer.  Similar to netgames game launchers where you visit their website, hit the start button, and then it launches an executable that is already installed on that persons computer, not on the server. 

I believe all netgame and other similar mmo's that did this built plugins(or activex control for ie) that when pushed would launch the executable on the computer using that plugin.  I suggest looking around at some firefox plugin and activex control tutorials to find a way to do it.  It's very possible, and probably doesn't require a lot of work.  Hello world tutorials would get you started on the beginnings of a plugin.  Then you might be able to search for a function that starts a program installed on the computer.
Link to comment
Share on other sites

@spectre_z2000:

> This isn't what he was talking about.  He wants a button that launches his game on their computer.  Similar to netgames game launchers where you visit their website, hit the start button, and then it launches an executable that is already installed on that persons computer, not on the server. 
>
> I believe all netgame and other similar mmo's that did this built plugins(or activex control for ie) that when pushed would launch the executable on the computer using that plugin.  I suggest looking around at some firefox plugin and activex control tutorials to find a way to do it.  It's very possible, and probably doesn't require a lot of work.  Hello world tutorials would get you started on the beginnings of a plugin.  Then you might be able to search for a function that starts a program installed on the computer.

misinterpreted it.  Thought he meant it he clicks a button and it runs the .exe in his web browser.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...