Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Script Error installer.hta

Featured Replies

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 auf

den letzten, dann hängt der Installer und folgender fehler wird angezeigt:

Zeile: 457

Zeichen: 2

Fehler: Objekt erwartet

Code: 0

URL: File:///C:/WPI/COMMON/installer.hta

Abhilfe:

Ö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, vielleicht

findet das ja ein Entwickler von WPI heraus.

An die Entwicker: Besten Dank für dieses Excelente Programm, weiter so.

Gruß

DonSenilo

PS: Hab noch meine installer.hta angehängt.

Installer.rar

I have no idea what you posted. This is an English only forum.

  • 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: 457

Char: 2

Error: Object Expected

Code: 0

URL: file://c:\wpi\common\installer.hta

Remedy:

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.

Greeting

DonSenilo

Are you saying that if you remove the line with api.js you do not get the error message?

  • 2 months later...

I get this error when i select all the software, not when i select a few.

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 you

Mark

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.