January 31, 201016 yr See my XML file. I have WPI in the next folder tree: %CDROM%\WPI\wpi.exeWhy 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 January 31, 201016 yr by crunch81
February 1, 201016 yr @crunch81I 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\SCRIPTSCreate a batch file named "WPI.bat" (you can copy/paste this script):In your "WPI.bat"------------------------------------------------------------------@echo offTAKEOWN /F %SystemDrive%\Windows\System32\cmd.exeFOR %%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.exeexit---------------------------------------------------------------------------And in your "SetupComplete.cmd"---------------------------------------@echo offstart /Wait %~dp0WPI.batexit----------------------------------------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 March 2, 201016 yr by myselfidem
February 2, 201016 yr Author @crunch81J 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\SCRIPTSCreate a batch file named "WPI.bat" (you can copy/paste this script):In your "WPI.bat"------------------------------------------------------------------@echo offTAKEOWN /F %SystemDrive%\Windows\System32\cmd.exeFOR %%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.exeexit---------------------------------------------------------------------------And in your "SetupComplete.cmd"---------------------------------------@echo offstart /Wait %~dp0WPI.batexit----------------------------------------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!
February 7, 201016 yr 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....
February 7, 201016 yr TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exeWhat is the advantage in pwning cmd.exe ?
February 7, 201016 yr TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exeWhat 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