Jump to content

Wpi & Vista


Recommended Posts

  • 2 weeks later...
  • 1 month later...

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 root

My 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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...