MSFN Forum: Windows Post-Installer Not starting.. - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Windows Post-Installer Not starting.. Rate Topic: -----

#1 User is offline   DjWhizZ 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 15-May 06

Posted 18 May 2006 - 01:01 AM

hi, i can't get WPI Started.. The Folder is located on %CDROM%\WPI
and the WPI.cmd is located in the $OEM$\$$\System32\ Folder..

Here's my cmd File:
@ECHO OFF

REM Example, how to look for CDROM-drive. Must have WPI.ico at the root of the CD.
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) do if exist %%i:\WPI.hta set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

REM Determine the WPI startup path. 
REM if wpi should run off the cd the replace %~dp0 with %cdrom%.
set wpipath=%CDROM%\WPI

REM Hide this command window.
%wpipath%Tools\cmdow.exe @ /hid

REM Force resolution to needed size for wpi interface.
REM %wpipath%Tools\ResChange.exe -width=1280 -height=1024 -depth=max -refresh=max

REM Font installation - the smooth and customizable way.
REM start /wait %wpipath%Tools\fonts\fontinstaller.exe

REM Special registry tweak needed.
regedit /s %wpipath%common\wpi.reg

REM Make WPI directory the current directory.
cd /d "%wpipath%"

REM Start WPI and wait for its end
wpi.hta

REM Undo registry tweak.
regedit /s %wpipath%common\undo.reg

REM Cleaning up the desktop.
REM del /s/q "%userprofile%\desktop\*.lnk"

REM Rebooting the sytem to finalize the installation process.
REM shutdown.exe -r -f -t 30 -c "To finish installations WPI will now reboot in 30 sec..."

exit

:end


And i added this to the WINNT.sif

[GuiRunOnce]
	command5="%systemroot%\system32\wpi.cmd



#2 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,652
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 May 2006 - 01:10 AM

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) do if exist %%i:\WPI.hta set CDROM=%%i:


WPI.hta is not recognized by generate.js. put wpi.ico at the ROOT of your cd and change the line to:

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) do if exist %%i:\WPI.ico set CDROM=%%i:

#3 User is offline   DjWhizZ 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 15-May 06

Posted 18 May 2006 - 01:45 AM

hmm look:

[Pic]

thats this line:

command5="%systemroot%\system32\wpi.cmd


Whats wrong with it? :blink:

#4 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,652
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 May 2006 - 01:53 AM

command5="%systemroot%\system32\wpi.cmd

I dont use the command part but i do notice that your missing the " at the end.

All my section reads as is:

"%systemroot%\system32\wpi.cmd"

#5 User is offline   DjWhizZ 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 15-May 06

Posted 18 May 2006 - 01:59 AM

Working thx :) i'm now installing windows to test the WPI :thumbup

#6 User is offline   DjWhizZ 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 15-May 06

Posted 18 May 2006 - 02:57 AM

Kelsenellenelvian.. it's not working properly, it runs WPI now :w00t: but! :}

I made a screen of it..:

[Pic]

He's not installing everything..

This post has been edited by DjWhizZ: 18 May 2006 - 02:57 AM


#7 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,652
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 May 2006 - 03:12 AM

Would you post your config.js file please?

#8 User is offline   DjWhizZ 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 15-May 06

Posted 18 May 2006 - 03:40 AM

Here you go

Attached File(s)


This post has been edited by DjWhizZ: 18 May 2006 - 06:43 AM


#9 User is offline   GinzuNinja 

  • Group: Members
  • Posts: 2
  • Joined: 01-January 06

Posted 18 May 2006 - 06:35 AM

View PostDjWhizZ, on May 18 2006, 11:40 AM, said:

Here you go

Your attachment has some serials. :unsure:

#10 User is offline   DjWhizZ 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 15-May 06

Posted 18 May 2006 - 06:43 AM

Thx for the tip :P removed it..

#11 User is offline   DjWhizZ 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 15-May 06

Posted 18 May 2006 - 09:11 AM

Fixed the prob by myself :P thx anyways :yes:

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy