我试过这样的代码:
<script type="text/javascript" language="javascript">
function RunFile() {
var shell = new ActiveXObject("WScript.Shell");
shell.Run("Installer/aldous/setup.exe", 1, true);
alert("clicked");
}
</script>
<button class="button" value="Application Installer" onclick="RunFile()">Application Installer</button>
运行我的exe文件,但它不起作用。我怎么能通过javascript运行我的应用程序的设置?