Hello everyone:
I have created an installer for my app(setup.exe), now I want that installer to run from within a browser so the user doesn't have to download anything. The setup.exe will be store in the server but executed in the client. Now, how can I do that? I tried doing this:
<html>
<head>
<script type="text/javascript">
function runApp(which) {
WshShell = new ActiveXObject("WScript.Shell");
WshShell.Run (which,1,true);
}
</script>
</head>
<body>
<!-- Two ways to create a link to run the app. -->
<font onClick="runApp('http:localhost:8080/ie/Setup.exe');" style="cursor: hand;"><u>Execute Installer</u></font>
<br>
</body>
</html>
But I get this error: automation server can't create object
Any ideas?
Thanks.
I have created an installer for my app(setup.exe), now I want that installer to run from within a browser so the user doesn't have to download anything. The setup.exe will be store in the server but executed in the client. Now, how can I do that? I tried doing this:
<html>
<head>
<script type="text/javascript">
function runApp(which) {
WshShell = new ActiveXObject("WScript.Shell");
WshShell.Run (which,1,true);
}
</script>
</head>
<body>
<!-- Two ways to create a link to run the app. -->
<font onClick="runApp('http:localhost:8080/ie/Setup.exe');" style="cursor: hand;"><u>Execute Installer</u></font>
<br>
</body>
</html>
But I get this error: automation server can't create object
Any ideas?
Thanks.