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.

What do I have to change in this XML file?

Featured Replies

See my XML file. I have WPI in the next folder tree: %CDROM%\WPI\wpi.exe

Why is WPI not starting after installation of Windows 7? Can somebody tell me what I have to change?

I don't have any Scripts. I already tried the setupcomplete script but it doesn't work:

  <?xml version="1.0" encoding="utf-8" ?> 
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="windowsPE">
- <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SystemLocale>en-us</SystemLocale>
<UserLocale>en-us</UserLocale>
<UILanguage>nl-NL</UILanguage>
<UILanguageFallback>en-us</UILanguageFallback>
<InputLocale>0409:00000409</InputLocale>
</component>
- <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <UserData>
- <ProductKey>
<Key>XXXXXXXXXXXXXX</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>WORKGROUP</Organization>
<FullName>Eigenaar</FullName>
<AcceptEula>true</AcceptEula>
</UserData>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 HOMEBASIC</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
</component>
</settings>
- <settings pass="oobeSystem">
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <UserAccounts>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
<Name>Gebruiker</Name>
<Group>Administrators</Group>
- <Password>
<PlainText>true</PlainText>
<Value />
</Password>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
- <Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
- <OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
</OOBE>
</component>
- <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UILanguage>nl-NL</UILanguage>
<UserLocale>nl-NL</UserLocale>
<InputLocale>0409:00020409</InputLocale>
</component>
</settings>
- <settings pass="specialize">
- <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Help_Page>http://www.google.nl</Help_Page>
<Home_Page>http://www.google.nl</Home_Page>
<FilterLevel>Medium</FilterLevel>
<BlockPopups>yes</BlockPopups>
<ShowInformationBar>true</ShowInformationBar>
<FavoritesDelete>false</FavoritesDelete>
<IEWelcomeMsg>true</IEWelcomeMsg>
<PlaySound>true</PlaySound>
</component>
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
- <AutoLogon>
<Enabled>true</Enabled>
<Username>Gebruiker</Username>
- <Password>
<Value />
</Password>
<LogonCount>9999999</LogonCount>
</AutoLogon>
<TimeZone>W. Europe Standard Time</TimeZone>
<ComputerName>PCGEBRUKER</ComputerName>
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
<CommandLine>cmd /q /c for %i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) %%i:\sources\install.wim set CDROM=%%i: Start %cdrom%\WPI\wpi.exe</CommandLine>
<Description>Windows Post Install Wizard</Description>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:C:/Users/Crunch/Desktop/Windows7HomeBasic32/sources/install.wim#Windows 7 Home Basic" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Edited by crunch81

@crunch81

I don't use WPI with Windows 7, but J have tested for give you somme help.

I have used with Windows XP. For Windows 7, J use RunOnceEx method and 7Customizer.

But WPI is really interesting and useful.

I have tested on the HDD and not with a virtual machine.

You can try this method, J've tested succefully.

You don't need to add anything more in the Auntounattend .xml file.

In the folder \sources\$OEM$\$$\SETUP\SCRIPTS

Create a batch file named "WPI.bat" (you can copy/paste this script):

In your "WPI.bat"

------------------------------------------------------------------

@echo off

TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exe

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\sources\install.wim

SET CDROM=%%i:

start /Wait %CDROM%\WPI\WPI.exe

exit

---------------------------------------------------------------------------

And in your "SetupComplete.cmd"

---------------------------------------

@echo off

start /Wait %~dp0WPI.bat

exit

----------------------------------------

Use only the files in "WPI.rar" with the WPI.exe.

And remenber that some softwares needs to be copied on the HDD for their installation.

Good luck and enjoy.

Edited by myselfidem

  • Author
@crunch81

J don't use WPI with Windows 7, but J have tested for give you somme help.

J have used with Windows XP. For Windows 7, J use RunOnceEx method and 7Customizer.

But WPI is really interesting and useful.

J have tested on the HDD and not with a virtual machine.

You can try this method, J've tested succefully.

You don't need to add anything more in the Auntounattend .xml file.

In the folder \sources\$OEM$\$$\SETUP\SCRIPTS

Create a batch file named "WPI.bat" (you can copy/paste this script):

In your "WPI.bat"

------------------------------------------------------------------

@echo off

TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exe

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\sources\install.wim

SET CDROM=%%i:

start /Wait %CDROM%\WPI\WPI.exe

exit

---------------------------------------------------------------------------

And in your "SetupComplete.cmd"

---------------------------------------

@echo off

start /Wait %~dp0WPI.bat

exit

----------------------------------------

Use only the files in "WPI.rar" with the WPI.exe.

And remenber that some softwares needs to be copied on the HDD for their installation.

Good luck and enjoy.

Thanks a million! I will try it and report back!

Great! Thanks!

  • Author

I did everything what you wrote. Still WPI won't start.

When everything is installed and I navigate to my scripts folder in the new installation, then there are al weird symbols in the scripts.

It doesn´t make sence....

TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exe

What is the advantage in pwning cmd.exe ?

TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exe

What is the advantage in pwning cmd.exe ?

It seems not really useful. SetupComplete.cmd gives Admin rights.

But in other cases I was obliged to use.

Excuse my bad English.

Thanks

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.