Jump to content

HTA in Win PE 2.0


patflat

Recommended Posts

I sm getting a little frustrated here.

Me and Windows PE does NOT like eachother.

I have downloaded Windows Automated Installation Kit, installed it.

Took the X86 *.WIM-file

Added HTA- and Script-support

Booted the client

Run the script from x:\windows\system32

mshta z:\share\scripts\start.hta

But even the simpliest script fails

<html>

<HEAD>
<TITLE>Imaging Application</TITLE>
<HTA:APPLICATION
APPLICATION = Yes
</HEAD>

<script Language=VBScript>

MsgBox "HEJ"

</Script>

<body>

</body>
</HTML>

In this script a HTA-windows shows but no MsBox is shown.

This works fine in windows XP/2003

WHAT am I doing wrong, WHY can't I get even this simple test to work?

Link to comment
Share on other sites


I think i figured it out, I had to add XML-support.

Maybe that make sense, maybe not. :-)

Well, well, back to my project.

I haven't looked at HTA implementations yet but I plan on using a Flash EXE instead.

XML seems to make sense since the "HTA:" line looks like a transform.

Link to comment
Share on other sites

there are a few DLL's that are needed by vbscript that do not get added when you add VBscript or HTA but are there for the XML package, go figure. I wish I could find the article that had that info in it, probably the only article I have read beginning to end in more than two years.

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...