crunch81 Posted January 31, 2010 Share Posted January 31, 2010 (edited) 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, 2010 by crunch81 Link to comment Share on other sites More sharing options...
myselfidem Posted February 1, 2010 Share Posted February 1, 2010 (edited) @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, 2010 by myselfidem Link to comment Share on other sites More sharing options...
crunch81 Posted February 2, 2010 Author Share Posted February 2, 2010 @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! Link to comment Share on other sites More sharing options...
myselfidem Posted February 2, 2010 Share Posted February 2, 2010 OK, fine. Thank you. Link to comment Share on other sites More sharing options...
crunch81 Posted February 7, 2010 Author Share Posted February 7, 2010 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.... Link to comment Share on other sites More sharing options...
MrJinje Posted February 7, 2010 Share Posted February 7, 2010 TAKEOWN /F %SystemDrive%\Windows\System32\cmd.exeWhat is the advantage in pwning cmd.exe ? Link to comment Share on other sites More sharing options...
myselfidem Posted February 7, 2010 Share Posted February 7, 2010 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now