HTA - Hyper Text Application

Questions about Wine on Linux
Locked
founder
Newbie
Newbie
Posts: 4
Joined: Sat Apr 16, 2016 10:28 am

HTA - Hyper Text Application

Post by founder »

All started 1998 with my first CMS wirtten in Perl.
I improved 1999 my CMS with a GUI.

The GUI was MSIE.
There is on Windows HTA - Hyper Text Application,
which makes it possible to use the Internet Explorer as GUI for Perl.

2000, I had to discover, that the new Perl version has a bug at updating the MSIE GUI. The error was confirmed, but now it's 16 years later, still not solved.

So I run the latest working with my software Perl version from November 1999.

2010, I was not able to install Perl on my new Windows 7 notebook. The installer was a 16 Bit program. With some tricks, copying registry entries, it was possible.

My own written Perl software, not only my CMS, but also a general database software running everything including my tax declaration made me total dependent on Windows.

Since years, I dream from changing to Linux, but.....

I could change my software to a server / client system,
but this could cost me 1 or 2 month until all works perfect

Or WINE.

1.) Can I install MSIE 10 on WINE?
2.) Is *.HTA available on WINE?
3.) Can I install a very old Perl version with a 16 bit Installer
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: HTA - Hyper Text Application

Post by dimesio »

founder wrote: 1.) Can I install MSIE 10 on WINE?
No, but you can install IE 6, 7, or 8 with winetricks.
2.) Is *.HTA available on WINE?
Apparently not. https://bugs.winehq.org/show_bug.cgi?id=26463
3.) Can I install a very old Perl version with a 16 bit Installer
You can install and run 16 bit apps in a 32 bit wineprefix. There still could be other bugs affecting whether your old Perl version installs/works in Wine. The only way to find out is to test it.
founder
Newbie
Newbie
Posts: 4
Joined: Sat Apr 16, 2016 10:28 am

script language=PerlScript

Post by founder »

Just checked my software history.

It seems the first versions of my Perl software had been direct as HTM documents.
Only a little bit later, about 2001, it was changed to HTA.

I just checked this:

<html>
<body>
<div id=message>PERL does not work</div>

<script language=PerlScript>

$main::window->document->all->message->{ 'innerHTML' } = "Juhu - PERL as Scripting Language works";
$main::window->alert ( "Hallo" );

</script>

</body>
</html>

This should work with MSIE 5.
It does not work with MSIE 10.

Could please somebody install Perl 522 and
test it on WINE with older MSIE versions?

I could send You the Perl 522 installation, about 5 MB.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: HTA - Hyper Text Application

Post by dimesio »

I tested it with Perl 5.22.1 downloaded from http://www.activestate.com/activeperl/downloads. IE8 blocks execution of the script by default, but once I click to allow blocked content, it does show "Juhu - PERL as Scripting Language works" in the window and the "Hallo" popup. Unfortunately, it crashes right after clicking OK in the popup. IE6 doesn't block execution of scripts by default, and the page and popup work, but it, too, crashes as soon as I click OK in the popup.
founder
Newbie
Newbie
Posts: 4
Joined: Sat Apr 16, 2016 10:28 am

Re: HTA - Hyper Text Application

Post by founder »

Much thanks for Your experiment!

I tried to bring further experiments.
For this, I installed "Utilo IE collection" to make experiments with older IE versions,
but this did not work.

Seems I have to go the other way, changing all my software.
Just experimenting with
http://www.wellho.net/resources/ex.php4 ... iserver.pl
and studying xmlhttprequest
Locked