MSFN Forum: hi all - MSFN Forum

Jump to content



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

hi all codes Rate Topic: -----

#1 User is offline   anti1986 

  • Newbie
  • Group: Banned
  • Posts: 25
  • Joined: 02-January 09

  Posted 14 January 2009 - 01:25 PM

Can you learn me or anlysis Wpi.cmd code???......


coz i need something like ..... how it can freeze open logon xp to install program????? like this image:


Posted Image


#2 User is offline   AlBundy33 

  • Member
  • PipPip
  • Group: Members
  • Posts: 217
  • Joined: 02-January 05

Posted 14 January 2009 - 02:36 PM

Why do you think it's an wpi.cmd problem?

First have look into Taskmanager too what tasks are running.
if mshta.exe is running it is not a wpi.cmd problem if no cmd.exe is runnig it's not WPI problem,

Do you have integratesome application in you image thatwill be installed at T13?

Al

#3 User is offline   anti1986 

  • Newbie
  • Group: Banned
  • Posts: 25
  • Joined: 02-January 09

Posted 14 January 2009 - 05:40 PM

no no ....not have problem !!!!!!!!

maybe you dont understand me!!!!


just my ask.......how is can wpi program or WPI.cmd do that??????

can't enter to Xp desktop once time just when Wpi finishing install program........i need analysis wpi.cmd code(patch) to understand how???

#4 User is online   Kelsenellenelvian 

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

Posted 14 January 2009 - 05:48 PM

OK, OK, SLOW DOWN.

We are having a hard time understanding your question.

Do you want your programs to install with NO display whatsoever?

Do you want that as your background DURING installation?

The bootscreen you show there comes with the last version of XPize is that what your looking for?

What is your native language? Maybe we can get a translator for you.

#5 User is offline   anti1986 

  • Newbie
  • Group: Banned
  • Posts: 25
  • Joined: 02-January 09

Posted 14 January 2009 - 06:11 PM

thank you!!!! about your question I'll answer you!



Do you want your programs to install with NO display whatsoever?

yes... :thumbup

Do you want that as your background DURING installation?

yes........ :thumbup

The bootscreen you show there comes with the last version of XPize is that what your looking for?


abt this question: forget my background just this a sample to show ""NO display whatsoever""

#6 User is online   Kelsenellenelvian 

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

Posted 14 January 2009 - 06:35 PM

Then I am very sorry... WPI is not the solution for you.

You will have to go old school and use plain runonceex from cd methodology.

http://unattended.ms...xp/view/web/59/

WPI's installer windows cannot be supressed.

#7 User is offline   anti1986 

  • Newbie
  • Group: Banned
  • Posts: 25
  • Joined: 02-January 09

Posted 15 January 2009 - 06:00 AM

thanx...................thats not what i need!!!!!!!!!!



But the sulotion exist here::::with this code (mywpi.cmd)



@ECHO OFF

REM Example, how to look for CDROM-drive. Must have a file to identify in its root (like WIN51 or WPI.ico).
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:
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.
--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -q

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

REM Calling the Unnatended aAdio Player
--Start %wpipath%\Tools\Music\uap2.exe

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

REM Make WPI directory the current directory.
for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:
cd "%wpipath%"

REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"

REM Cleaning up the desktop.
del /s/q "%userprofile%\desktop\*.lnk"
REM Rebooting the sytem to finalize the installation process.
--shutdown.exe -r -f -t 10 -c "WPI will now reboot in 10 sec..."

exit

:end



i need to understand whats does mean every code::::??????????????????????????????

example::

REM Force resolution to needed size for wpi interface.
--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -q



other example


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


#8 User is offline   anti1986 

  • Newbie
  • Group: Banned
  • Posts: 25
  • Joined: 02-January 09

Posted 15 January 2009 - 11:06 AM

AnyBody here???????????

#9 User is online   Kelsenellenelvian 

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

Posted 15 January 2009 - 04:45 PM

WOW that is a VERY OLD wpi.cmd file...

@ECHO OFF

REM Example, how to look for CDROM-drive. Must have a file to identify in its root (like WIN51 or WPI.ico).
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:
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 Force resolution to needed size for wpi interface. <---- This used to call the reschanger and set the WPI resolution.
--start %wpipath%\Tools\VideoChanger.exe 1280x1024x32@85 -q

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

REM Calling the Unnatended aAdio Player <---- NEVER seen this one in here but I assume it is to key up music during install
--Start %wpipath%\Tools\Music\uap2.exe

REM Special registry tweak needed. <--- This was to "fix" the XP\SP2 security box warnings on every installer that ran.
regedit /s "%wpipath%\common\wpi.reg

REM Make WPI directory the current directory.
for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:
cd "%wpipath%"

REM Start WPI and wait for its end
start /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"

REM Cleaning up the desktop. <--- This one would remove ALL shortcuts from the desktop...
del /s/q "%userprofile%\desktop\*.lnk"



You are using a VERY old WPI.cmd file ALL of this has been replaced by internal WPI functions...

This post has been edited by Kelsenellenelvian: 15 January 2009 - 04:45 PM


#10 User is offline   anti1986 

  • Newbie
  • Group: Banned
  • Posts: 25
  • Joined: 02-January 09

Posted 16 January 2009 - 10:38 AM

thank you very much........

i know its very old........ :thumbup

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