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.

File and Directory Structure ?

Featured Replies

Hi all,

Excellent site and forums btw. I have a question regarding the execution of the WPI.cmd batch file.

In the \$OEM$\$1\Install\ I have a folder called WPI with all the WPI files and folders inside it.

Would I be correct in adding the line ".\$1\Install\WPI\WPI.cmd" to cmdlines.txt and this would execute the WPI.cmd batch file?

Also, I have cmdlines.txt in the $OEM$ folder but what executes that file ?

Thanks in advance

Seany

The normal way is to call wpi.cmd from winnt.sif

Just add a line like this in your winnt.sif:

[GuiRunOnce]
%systemdrive%\install\wpi\wpi.cmd

WPI is used to replace other methods like RunOnceEX and batch scripting. Possible cleanup scripts or stuff like that can be called from wpi.hta like other programs or you can call them from within wpi.cmd after wpi.hta has finished.

  • Author

ok thanks for the reply, what I really should have asked is how do I get WPI to run from my particular setup I have.

Here is my cmdlines.txt :

[COMMANDS] 
".\useraccounts.cmd"
"REGEDIT /S .\RegTweaks.reg"
".\$1\Install\WPI\WPI.cmd"
".\cleanup.cmd"

Here is some of my winnt.sif :

;SetupMgrTag 
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates=yes

[Unattended]
UnattendMode=ProvideDefault
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
KeyboardLayout="Irish"


[GuiUnattended]
EncryptedAdminPassword=NO
OEMSkipRegional=1

[UserData]
ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName=""
OrgName=""

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

[Components]
Msmsgs=off
Msnexplr=off
Freecell=on
Hearts=on
Minesweeper=on
Pinball=on
Solitaire=on
Deskpaper =on
Calc=on
Charmap=on
AutoUpdate=on
Hypertrm=on
Mousepoint=on
Paint=on

[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Royale\Royale.theme"

you seem to have it right, there are various ways to call wpi from, runonceex, cmdlines, guirunonce,

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.