muiz Posted March 20, 2007 Share Posted March 20, 2007 Its about a month ago that Vista came out.Time to add WPI to the unattended Vista dvd.But no matter what i try i cant start WPI and let it runAm i the only one? Quote Link to comment Share on other sites More sharing options...
NIM Posted March 20, 2007 Share Posted March 20, 2007 I haven't tried it yet mate, maybe Kels could help on this issue.. Quote Link to comment Share on other sites More sharing options...
^SoKoOLz^ Posted April 2, 2007 Share Posted April 2, 2007 It seems that Vista is using different method for calling runonceex.We'll have to wait and see. Quote Link to comment Share on other sites More sharing options...
Sven Posted May 17, 2007 Share Posted May 17, 2007 I have tried. And it works.In order to get wpi to work. Must the following be changed.Open core.js in notepad++.Line 62 - 75 exists all that need be changed // %CDROM% li = GetDriveLetters(4); for (i=0; i<li.length; i++) { if (FileExists(li+'\\WPI.HTA') || FileExists(li+'\\AppsRoot.txt') || FileExists(li+'\\Sources\\install_Windows Vista ULTIMATE.clg')) cddrv = li; } if (cddrv=="") { a = fso.GetAbsolutePathName("."); while (a.length>=3) { if (FileExists(a+'\\WPI.HTA'))Create a file AppsRoot.txt. Is placed in dvd rootMy Autounattend.xml<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="specialize"> <component name="Microsoft-Windows-Deployment" 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"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i:\ -m"</Path> </RunSynchronousCommand> </RunSynchronous> </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"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>REGEDIT /S %AppsRoot%Install\uac.reg</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>%AppsRoot%wpi\wpi.hta</CommandLine> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>REGEDIT /S %AppsRoot%Install\uacenabel.reg</CommandLine> <Description></Description> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>4</Order> <CommandLine>%AppsRoot%install\StardockDeskScapes.exe /s</CommandLine> <Description>Desk Scape</Description> </SynchronousCommand> </FirstLogonCommands> </component> </settings> <settings pass="windowsPE"> <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"> <Display> <ColorDepth>32</ColorDepth> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>70</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <UserData> <AcceptEula>true</AcceptEula> <ProductKey> <Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key> <WillShowUI>Never</WillShowUI> </ProductKey> </UserData> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/vista/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>I hope that works for yours. Quote Link to comment Share on other sites More sharing options...
NIM Posted May 17, 2007 Share Posted May 17, 2007 Thx Sven, also you can enter the code in the codebox so it's easier to navigate. Thx mate.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.