faid
faid

Reputation: 405

Standalone HTML Application

Is there an application that can create a standalone HTA, which means no need 'mshta.exe' to run and not leaving any temporary files? i've try 'htaedit' but it need 'mshta.exe' and leave temporary files.

Upvotes: 1

Views: 1061

Answers (2)

joaquass
joaquass

Reputation: 23

enter image description here

You could create a self extraction drive using iexpress.exe which :

  1. zips a copy of mshta.exe and your hta file
  2. unzips them to a temporary folder at runtime
  3. and runs a specified command. eg : mshta <the hta filename>.hta

iexpress is commonly used to created quick and dirty installers. I came to know of this process while finding a way to convert .bat / .cmd files to .exe

Upvotes: 1

James Parsons
James Parsons

Reputation: 6047

I don't think that hta can be run standalone. it is more of an interpreted language which is interpreted by mshta.exe. sort of like how java byte code is interpreted by the jvm

Upvotes: 3

Related Questions