March 16, 200719 yr Gruß an alle,da ich niemanden mit meinem schlechten Englisch beleidigen will, schreibe ich hier in Deutsch.Vielleicht kann ein netter Mitmensch diesen Text ja übersetzen.Fehler:Wenn mann mit WPI ein Programm oder Treiber installiert, und den Computer mit %reboot%als zweiten Befehl neu startet, arbeitet WPI die nachfolgenden Installationen weiter ab, bis aufden letzten, dann hängt der Installer und folgender fehler wird angezeigt:Zeile: 457Zeichen: 2Fehler: Objekt erwartetCode: 0URL: File:///C:/WPI/COMMON/installer.htaAbhilfe:Öffnet die Datei installer.hta, und fügt hinter folgenden Eintrag<script type="text/javascript" src="../WPIScripts/globals.js" application="yes"></script>zusätzlich noch diesen Eintrag hinzu<script type="text/javascript" src="../WPIScripts/api.js" application="yes"></script>danach sollte die fehlermeldung weg sein, und der installer bleibt nicht mehr hängen.Welche Funktion aus der api.js den fehler beseitigt kann ich nicht sagen, vielleichtfindet das ja ein Entwickler von WPI heraus.An die Entwicker: Besten Dank für dieses Excelente Programm, weiter so.GrußDonSeniloPS: Hab noch meine installer.hta angehängt.Installer.rar
March 17, 200719 yr Author I try it times in English.If man with WPI installs a program or a driver, and which computer with %reboot% starts again as the second instruction, WPI continues to process the following installations, up to the latter, then the Installer and following error hang are indicated:Line: 457Char: 2Error: Object ExpectedCode: 0URL: file://c:\wpi\common\installer.htaRemedy:The file opens installer.hta, and adds behind the following entry<script type="text/javascript" src="../WPIScripts/globals.js" application="yes"></script>additionally still this entry in addition<script type="text/javascript" src="../WPIScripts/api.js" application="yes"></script>afterwards the error message should be away, and which does not remain more installer any more to hang.Which function from api.js the error eliminated I cannot say, perhaps find out that a developer of WPI.To the developer: Best thanks for this Excelente program, further so. Apology for my bad English.GreetingDonSenilo
March 20, 200719 yr Are you saying that if you remove the line with api.js you do not get the error message?
June 4, 200719 yr I found that I got this error if I had %reboot% specified but no more packages to install after that reboot.Resolved this by using a final script (order 9999999) that ran a manual reboot and didn't specify the %reboot% variable.Perhaps that will work for youMark
Create an account or sign in to comment