Jump to content

Quaternion

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Spain

About Quaternion

Quaternion's Achievements

0

Reputation

  1. Same problem here ,.. But i don't want to use bat file. Isn't there a solution for this?? For the rest,.. keep up the good work
  2. Quaternion

    DOSNET.INF

    Hi all,.. Maybe it's just me but when I create a cd with all the extra Sata drivers. When booting from CD it's missing the Sata files . After some investigation of this problem I found that DOSNET.INF isn't updated the right way. All the drivers are added at the end BUT,.. it should also be added to the [FloppyFiles.2] section. After doing that manual it's working realy great Keep up this great work
  3. Try this (This should be all in the HTA file): <HTML> <HEAD> <script LANGUAGE="JScript"> // Localized global variables var L_Setup_Text="Setup Programs From Network"; var L_Office_Text="Microsoft Office XP Professional"; var L_StreetsTrips_Text="Microsoft Streets & Trips 2004"; var L_Garmin_Text="Garmin MapSource"; var L_Camedia_Text="CaMedia Software"; var L_Close_Text="Close"; // Set the windows size. var w = 630; var h = 150; window.resizeTo(w, h); // Center the window var e = (w, h); var x = (screen.width-w)/2; var y = (screen.height-h)/2; window.moveTo(x,y); // Launch the selected application. function onClickAppLink() { // Get the path that setup.hta was run from. var sFullPath = unescape(window.parent.location.pathname); // Remove the file name from the full path. var iBackSlash = sFullPath.lastIndexOf("\\"); if (-1 == iBackSlash) return 0; // Set the source folder for this file. var sDir = sFullPath.substring(0, iBackSlash + 1); try { var sApp; var sArg; var sPath; if(32 == event.keyCode) // Source element is the anchor that is the parent of the element to be executed. { sApp = event.srcElement.childNodes(0).app; sArg = event.srcElement.childNodes(0).arg; sPath = event.srcElement.childNodes(0).path; } else // Source element is the element that was clicked. { sApp = event.srcElement.app; sArg = event.srcElement.arg; sPath = event.srcElement.path; } var oShell = new ActiveXObject("Shell.Application"); oShell.ShellExecute(sApp, sArg, sDir+sPath); } catch (oError) { alert("Error : " + oError.Message); } return 0; } // Launch the selected application. function onKeyPressAppLink() { if (32 == event.keyCode) // Space { onClickAppLink(); } } </SCRIPT> <TITLE>DVD Network Install</TITLE> <hta:application border="thin" borderstyle="normal" caption="no" icon="Setup.ico" maximizebutton="no" minimizebutton="no" showintaskbar="no" singleinstance="yes" sysmenu="yes" selection="no" scroll="no" version="1.0" windowstate="normal" /> </HEAD> <body leftmargin="0" topmargin="0" oncontextmenu="return false;" ondragstart="return false;" onselectstart="return false;"> <script language="vbscript">Document.Write(L_Setup_Text)</script> <li> <a target="_blank" HREF="" onclick="onClickAppLink(); return false;" onkeypress="onKeyPressAppLink(); return false;"> <b app="/officexp/SETUPPLS.exe" arg="" path=""> <script language="vbscript">Document.Write(L_Office_Text)</script> </b> </a> <li> <a target="_blank" HREF="" onclick="onClickAppLink(); return false;" onkeypress="onKeyPressAppLink(); return false;"> <b app="/Trips04/cd1run.exe" arg="" path=""> <script language="vbscript">Document.Write(L_StreetsTrips_Text)</script> </b> </a> <li> <a target="_blank" HREF="" onclick="onClickAppLink(); return false;" onkeypress="onKeyPressAppLink(); return false;"> <b app="/Garmin/World.Map.v3.00/Setup.exe" arg="" path=""> <script language="vbscript">Document.Write(L_Garmin_Text)</script> </b> </a> <li> <a target="_blank" HREF="" onclick="onClickAppLink(); return false;" onkeypress="onKeyPressAppLink(); return false;"> <b app="/camedia/camedia/Setup.exe" arg="" path=""> <script language="vbscript">Document.Write(L_Camedia_Text)</script> </b> </a> <tr> <td height=1 align=center> <hr> </td> </tr> <tr> <td> <table border=0 cellpadding=0 cellspacing=0> <tr> <td width="99%" valign=middle style="font-family: Tahoma, Arial; font-size: 8pt;"> </td> <td valign="bottom"> <button onclick="self.close();" style="background-color: #CCCCCC; border-style: solid; padding-top: 0px; padding-bottom: 0px; padding-right: 6px; padding-left: 6px"> <script language="vbscript">Document.Write(L_Close_Text)</script> </button> </td> </tr> </table> </td> </tr> </table> <td width="16"> </td> </tr> </table> </td> </tr> </table> </body> </html> As you see you can also use arguments for silent installs and so. Maybe you need to tweak a bit but I know I put you in de right direction.
×
×
  • Create New...