Problem running the executable

I want to distribute a load of HTML with a bit of Javascript in one single executable file if possible. Thought this program might help.
I tell the program where the root of my files are, I tell it which is the homepage. I fill out various stuff like names etc.
I compile, wait for the executable to be created.
I run the executable.
The page file:///C:/temp/heg23B8/hef26E6.htm opens in my standard browser, it’s a severely mangled version of my homepage.
The application says “Loading document, please wait…” and never gets any further.
This is not super-useful, am I doing something completely wrong?

Answered by email.
Switched from HTML Viewer publication to a webbrowser IE publication.