Jump to content

[SOLVED]HTA in Windows PE


jbusato

Recommended Posts

Hi, reading "WinPE 2.0 simple Ghost Menu HTA, a simple HTA to make Ghosting easy" topic I'm try to do an html application fontend to imagex in winpe.

In my startnet.cmd I append a call to this file:

<html>
<head>
<HTA:APPLICATION
BORDER = No
APPLICATION = Yes
WINDOWSTATE = maximize
INNERBORDER = No
SHOWINTASKBAR = No
SCROLL = No
APPLICATIONNAME = "Imagex tool"
NAVIGABLE = Yes>
<style>
td {color: black; font-size: 9pt;}
</style>
</head>

<body bgcolor="#c8dcea" style="margin: 0px;">

<script language="vbscript">

'*********************************
' doTask
'*********************************
Sub doTask
MsgBox "Helloworld"
End Sub



</script>
<form name="osd">
<input type="button" id="task" onclick="doTask()" value="Just do it!">
</form>

</body>
</html>

But it gives me a lot of script error without any info (no error no page no row and so on...)

I'm using Windows PE 2.0 with HTA,Scripting and WMI support.

Someone could help me please?

Edited by jbusato
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...