We are using many HTA scripts. In order to test the newer version of Windows we installed Windows8 with IE 10. We are currently using an application (.exe) as a hub to start the correct hta that needs to run.
We are using this setup on 2000,XP,Vista,7 machine with IE ranging from 6 to 9 and it worked fine so far. But the application has stop to work on the latest windows.
Here is my question: Is there a known issue with HTA called by another application under Windows 8 and IE10?
Here is an example with two HTA scripts:
If you run test_2.hta the script works, if you run the script test_1 the script works but test_2.hta does not start.
1- test_1.hta
<html>
<head>
<title> Test </title>
</head>
<script>
new ActiveXObject("WScript.Shell").Run("mshta test_2.hta", 1, false);
</script>
<body>
Allo buddy
</body>
</html>
2- test_2.hta
<html>
<head>
<title> Test </title>
</head>
<script>
alert('Hello world');
</script>
<body>
Allo buddy
</body>
</html>
Any idea?