Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Running .EXE without prompts
New Posts  All Forums:Forum Nav:

Running .EXE without prompts

post #1 of 12
Thread Starter 
Hi guys,

Just asking for my friend at work.

He's having problem doing a script that will run a .EXE program without the "Run/Save" prompt from IE. He just wants the program to run right away without any questions after he click the image link. The program is located in the main hard drive.

He is designing a touchscreen Kiosk and hes kinda stuck with this problem.



Any suggestions?
Main
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 Asus PQ5 PRO TURBO XFX XXX BE GTX260 G.Skill 8GB PQ 
Hard DriveOptical DriveOSMonitor
X25-M 80GB RAID0, 1TB WD-BC, 2x Seagate 500GB Asus 18x Dual Layer Lightscribe SATA Windows 7 Ultimate BenQ 27", BenQ 22" and Samsung 40" 
KeyboardPowerCaseMouse
Logitech G15 Corsair HX1000 Silverstone FT02 Steelseries XAI 
Mouse Pad
Steelseries Qck Heavy 
  hide details  
Reply
Main
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 Asus PQ5 PRO TURBO XFX XXX BE GTX260 G.Skill 8GB PQ 
Hard DriveOptical DriveOSMonitor
X25-M 80GB RAID0, 1TB WD-BC, 2x Seagate 500GB Asus 18x Dual Layer Lightscribe SATA Windows 7 Ultimate BenQ 27", BenQ 22" and Samsung 40" 
KeyboardPowerCaseMouse
Logitech G15 Corsair HX1000 Silverstone FT02 Steelseries XAI 
Mouse Pad
Steelseries Qck Heavy 
  hide details  
Reply
post #2 of 12
I know nothing, but here's a guess: I would think that is impossible due to security. I don't think I would ever want to visit a website where it would run an executable without my knowledge/permission. I prefer to see a dialog box/prompt first.
post #3 of 12
I'm pretty sure that will not work in a browser, he would need to write the code in a script language like jave, php, actionscript etc., then it would run. I don't think browsers have the ability to run executables.
i7 on the cheap
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 970 Gigabyte X58A-UD7 evga GTX470 Corsair Vengence 
Hard DriveOptical DriveOSMonitor
Intel X25-M 160GB LG GBW-H20L Windows 7 Ultimate Acer GD235HZ 23.6" 120HZ 
KeyboardPowerCaseMouse
Logitech G15 Rocketfish 900W 80+ Silver Corsair Obsidian 800D Cyborg Rat 7 
  hide details  
Reply
i7 on the cheap
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 970 Gigabyte X58A-UD7 evga GTX470 Corsair Vengence 
Hard DriveOptical DriveOSMonitor
Intel X25-M 160GB LG GBW-H20L Windows 7 Ultimate Acer GD235HZ 23.6" 120HZ 
KeyboardPowerCaseMouse
Logitech G15 Rocketfish 900W 80+ Silver Corsair Obsidian 800D Cyborg Rat 7 
  hide details  
Reply
post #4 of 12
If the browser is IE use a url in the form

Code:
file:///C:/foo/bar/foobar.exe
Quote:
Originally Posted by 5CheeseLasagna View Post
I know nothing, but here's a guess: I would think that is impossible due to security. I don't think I would ever want to visit a website where it would run an executable without my knowledge/permission. I prefer to see a dialog box/prompt first.
Security, rofl
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #5 of 12
He could design the interface directly on the site through Java or something as Dman said. It would be really cool as I'm not sure if you've seen it, but there's an email provider thingy called GMX which acts like a regular program interface like Thunderbird or Outlook, but it's all done online through their site, aka very cool.
post #6 of 12
Looks like you can also do it with javascript

javascript run executable
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #7 of 12
Quote:
Originally Posted by rabidgnome229 View Post
If the browser is IE use a url in the form

Code:
file:///C:/foo/bar/foobar.exe
Security, rofl
You laugh like I was saying "IE's security is great."
post #8 of 12
Thread Starter 
We tried the file:/// and still didn't work. :\\ any more suggestions?
Main
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 Asus PQ5 PRO TURBO XFX XXX BE GTX260 G.Skill 8GB PQ 
Hard DriveOptical DriveOSMonitor
X25-M 80GB RAID0, 1TB WD-BC, 2x Seagate 500GB Asus 18x Dual Layer Lightscribe SATA Windows 7 Ultimate BenQ 27", BenQ 22" and Samsung 40" 
KeyboardPowerCaseMouse
Logitech G15 Corsair HX1000 Silverstone FT02 Steelseries XAI 
Mouse Pad
Steelseries Qck Heavy 
  hide details  
Reply
Main
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E8400 Asus PQ5 PRO TURBO XFX XXX BE GTX260 G.Skill 8GB PQ 
Hard DriveOptical DriveOSMonitor
X25-M 80GB RAID0, 1TB WD-BC, 2x Seagate 500GB Asus 18x Dual Layer Lightscribe SATA Windows 7 Ultimate BenQ 27", BenQ 22" and Samsung 40" 
KeyboardPowerCaseMouse
Logitech G15 Corsair HX1000 Silverstone FT02 Steelseries XAI 
Mouse Pad
Steelseries Qck Heavy 
  hide details  
Reply
post #9 of 12
This is not going to work from a browser... that would spell the end of the internet... just think if any site could run .exe's on our machines whenever they pleased?
post #10 of 12
You could run a local webserver on the kiosk and write a Perl/PHP script that launches the EXE in question.

It's also possible to launch a local EXE using a piece of invisible Flash somewhere on the page, but since they nerfed that functionality in the latest Flash CS3, so may have to roll-back to something earlier than Flash Player 9 for it to work.
    
CPUGraphicsRAMHard Drive
Intel 2.4 Core i7 AMD Radeon HD 6750M 8 GB 1067 MHz DDR3 750 GB 
OS
Mac OS-X Lion 
  hide details  
Reply
    
CPUGraphicsRAMHard Drive
Intel 2.4 Core i7 AMD Radeon HD 6750M 8 GB 1067 MHz DDR3 750 GB 
OS
Mac OS-X Lion 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Running .EXE without prompts