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.

Calling wpi.htm

Featured Replies

I'm trying to make my own autorun file, and i was wondering how you call the wpi.htm file so it doesnt give you the error: A script on this page is causing IE to run slowly, wanna abort the script.

How can i call it so i dont get this error?

I have an autoit script calling a batch file with this:

REM Hide this command window.
cmdow.exe @ /hid

REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"

REM Rebooting the sytem to finalize the installation process.
--shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."

exit

and when i manually call this batch file it works fine, but when i have autoit call it it gives me that error.

Edited by Swimming_Bird

you need to call the reg file from the wpi\common folder

Why don't you call up the WPI.cmd per autorun.inf?

I do it, it is the best method I would say, because the WPI.cmd calls the applies the reg file, the resolution and then calls WPI.htm.

  • Author

firstly, the more drives there are the longer that batch file takes (its VERY inefficeant), and i believe i have my autoit script writing those nessisary reg keys:

;~  Run ( $wpipath & "Tools\VideoChanger.exe 1280x1024x32@85 -q")
Run ( $wpipath & "Tools\fonts\fontinstaller.exe")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles", "MaxScriptStatements", "REG_DWORD", "ffffffff")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download","CheckExeSignatures","REG_SZ","no")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download","RunInvalidSignatures","REG_DWORD","00000001")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments","SaveZoneInformation","REG_DWORD","00000001")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations","LowRiskFileTypes","REG_SZ",".zip;.rar;.nfo;.txt;.exe;.bat;.com;.cmd;.reg;.msi;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;
.mpeg;.mov;.mp3;.m3u;.wav;")
Run ( $wpipath & "WPI.bat" , $wpipath )

Edited by kelsenellenelvian

Yes, quite nice, but for me it would not be so much better, only got 2 DVD drives and the only disc that is inserted during setup, is the Win XP-DVD with WPI. The batch file does not need so much time to find it. But on older systems I think, your method could be much better. :D

  • Author
Yes, quite nice, but for me it would not be so much better, only got 2 DVD drives and the only disc that is inserted during setup, is the Win XP-DVD with WPI. The batch file does not need so much time to find it. But on older systems I think, your method could be much better.  :D

it doesnt matter how many optical drives, its the number of drives in general, it searches every one of them.

but anyone have any idea why it doesnt work?

  • Author

lemme know, i'm pretty good with autoit, my script is pretty much done (except for that vital error of it not calling the WPI file)

and pleeeease help me with this somehow, its really irritating me. :thumbup

Edited by Swimming_Bird

  • Author
My knowledge of auto-it is very limited. Sorry.

i was just wondering about the actual calling of WPI, what may be causing that issue. i can figure the autoit part out. i just dont know how WPI is suposed to be called.

  • Author
I am not familliar with "regwrite" but the reg files look slightly wrong to me. Shouldn't the regular reg file format be used?

regwrite is an autoit command

RegWrite ( "keyname" [,"valuename", "type", value])
;~  Run ( $wpipath & "Tools\VideoChanger.exe 1280x1024x32@85 -q")
Run ( $wpipath & "Tools\fonts\fontinstaller.exe")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Styles", "MaxScriptStatements", "REG_DWORD", "ffffffff")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download","CheckExeSignatures","REG_SZ","no")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Download","RunInvalidSignatures","REG_DWORD","00000001")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments","SaveZoneInformation","REG_DWORD","00000001")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations","LowRiskFileTypes","REG_SZ",".zip;.rar;.nfo;.txt;.exe;.bat;.com;.cmd;.reg;.msi;.htm;.html;.gif;.bmp;.jpg;.avi;.mpg;
.mpeg;.mov;.mp3;.m3u;.wav;")
Run ( $wpipath & "WPI.bat" , $wpipath )

Edited by Swimming_Bird

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.