Jump to content

EdGaR

Member
  • Posts

    58
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    China

Posts posted by EdGaR

  1. wpi.cmd

    @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:\win51ip.SP2 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 Special registry tweak needed.
    regedit /s %wpipath%common\wpi.reg

    REM Start WPI and wait for its end
    start /wait %wpipath%wpi.hta

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

    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

    runonceex.cmd

    cmdow @ /HID
    @Echo Off

    FOR %%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:\win51ip.SP2 SET CDROM=%%i:

    SET PP=%cdrom%\WPI\

    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

    REG ADD %KEY%\001 /V 1 /D "%PP%WPI.cmd" /f

    EXIT

    o and also since those errors pop up the computer doesnt restart itself.i need it to restart itself!

  2. k changed the cmdow.exe path so no more window pops up and windows doesnt start while everything is installing but i get these errors now

    error5if.th.jpg

    this started at the very beginning.i push ok and wpi stays there and does nothing until i push begin install.then everything installs.then i get this one

    error24li.th.jpg

    then i push ok.wpi again stays there and does nothing until i exit out.i checked the lines those 2 lines have to do with the audio player somehow.should i just use wpi lite?but id rather use wpi full.

  3. tested.kinda worked.4 things happend.

    error2rq.th.jpg

    this came up at the very beginning right after i pushed the begin install button.

    error25nj.th.jpg

    this came up during when everything was being installed.

    error39yn.th.jpg

    and then windows started during when everything was being installed(which im pretty sure isnt supposed to happen).

    then after everything was done.the wpi window was still there at the end.i did everything exactly like above and i did not edit my wpi.

  4. ok that ^ sounded stupid, sorry. I'm a little confused still thats a little too much for me. Would I have to change wpi.cmd then? Is that what its telling me?

    Here is my wpi.cmd what would I have to change?

    @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.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%

    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

×
×
  • Create New...