Jump to content

Install with switches from HTML


Recommended Posts


is the HTML and setup.exe in the same folder?

It may not be working, since the working folder of your HTML might be different.

And since you've anyway started on this path, let me tell you of some more nice possibilities:

1. Rename the .html to .hta - that makes it a HTML application that runs without a browser-like toolbar, etc. (useful to have a "pro" looking autorun).

2. Setup an autorun.inf in the root of the CD, which will run this HTA file.

Link to comment
Share on other sites

I will try it if I have no other option.

Using your technique or a batch file would simply make it harder to maintain because it would require an external file for every HTML links.

I am planning to put a link for every programs and drivers installers on my Unattended Windows CD.

I will also check if there is a possibility with JavaScript embedded in HTML

Link to comment
Share on other sites

Ok, I think it works properly with javascript...

<html>
<body>
<script language="javascript" type="text/javascript">

var a = "SETUP.EXE TRANSFORM=Unattended.MST /qb-";
var b = "SP1-Client.exe /Q:A /R:N";

document.write("<a href=" + a + ">Office Pro 2003</a><br />");
document.write("<a href=" + b + ">Service Pack 1</a>");

</script>
</body>
</html>

BUT I would prefer plain HTML... :rolleyes:

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