Jump to content

TheeBeets

Member
  • Posts

    235
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Posts posted by TheeBeets

  1. Thx for your reply and to be honest I dont really have anything specific In mind Im rather good at Photoshop so was planning on making a few graphics myself and if there working on click customization thats great, gives users a wide area to play with their imaginations. I did look at the manual in the themes section although I will admit I found it rather hard to follow im just not a coding kind of guy.

  2. Well as has happened once before when I load Wpi.cmd from Winnt.sif it tells me -start it not a recognised command etc. The Install paths in my config.js also must be wrong. I am using Bashrat's driver packs to install my audio drivers so I can hear the music when Wpi is playing. Your all doing a great job here and ThankYou for taking the time to do this it's very much appreciared. Here is all my files In wpi.cmd I might need to change wpi.ico to Win51 again? Im using Wpi 4.2b

    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:\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 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 30 -c "To finish installations WPI will now reboot in 30 sec..."

    exit

    :end

    Winnt.sif
    [Data]

    MsDosInitiated = "No"

    Autopartition = 0

    FloppyLess = 1

    UnattendedInstall = Yes

    [unattended]

    OemPnPDriversPath = "D\I386;D\I386\COMPDATA;D\I386\WIN9XMIG\DMICALL;D\I386\WIN9XMIG\PRINT;D\I386\WIN9XMIG\PRINT\BLAINF;D\I386\WIN9XMIG\PRINT\DTCINF;D\I386\WIN9XMIG\PRINT\ENTINF;D\I386\WIN9XMIG\PRINT\PERINF;D\I386\WIN9XMIG\PRINT\SBSINF;D\I386\WIN9XMIG\PRINT\SRVINF;D\I386\WIN9XUPG;D\I386\WINNTUPG;D\I386\WINNTUPG\ENTINF;D\I386\WINNTUPG\MS\MODEMSHR;D\I386\WINNTUPG\MS\SNA;D\I386\WINNTUPG\OEM\DIGI\ASYNC;D\I386\WINNTUPG\OEM\DIGI\ISDN\BRI;D\I386\WINNTUPG\OEM\DIGI\ISDN\PRI;D\I386\WINNTUPG\OEM\DIGI\REALPORT;D\I386\WINNTUPG\OEM\EICON;D\I386\WINNTUPG\OEM\EQN;D\I386\WINNTUPG\OEM\SPX\MPS;D\I386\WINNTUPG\OEM\TIGERJET;D\I386\WINNTUPG\PERINF;D\I386\WINNTUPG\SRVINF;D\WPI;D\WPI\Tools\Fonts"

    NonDriverSigningPolicy = "Ignore"

    DriverSigningPolicy = "Ignore"

    OemPreinstall = "Yes"

    UnattendMode = FullUnattended

    UnattendSwitch = No

    OemSkipEula = Yes

    FileSystem = *

    WaitForReboot = No

    NoWaitAfterTextMode = 1

    NoWaitAfterGUIMode = 1

    TargetPath = Windows

            Repartition=Yes

    [Display]

    Xresolution = 1280

    Yresolution = 1024

    BitsPerPel = 32

            AutoConfirm=1

    [GuiUnattended]

    AutoLogon = No

    AdminPassword = *

    TimeZone = 085

    OEMSkipRegional = 1

    OemSkipWelcome = 1

    [Components]

            msmsgs=off

    msnexplr=off

    freecell=off

    hearts=off

    minesweeper=off

    pinball=off

    spider=off

    zonegames=off

    [userData]

    ProductKey = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

    ComputerName = EQUINOX

    FullName = Equinox

    OrgName = Home

    [RegionalSettings]

    Language = 0809

    Home_Page =http://www.google.co.uk

    Search_Page =http://www.google.co.uk

    [Networking]

            InstallDefaultComponents=No

    [GuiRunOnce]

    command9 = "%SystemDrive%\D\BTS_DPs_finish.cmd"

              "%systemroot%\system32\wpi.cmd"

    [shell]

      CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Deliverence.theme"

    Config.js

    So the error is Wpi.cmd doesnt load at GuiRunOnce but will run manually when executed from windows explorer. This is all done in Microsoft Virtual Machine.

  3. Ok for starters there is many posts in this forum concerning these Issues but I'll help all I can.

    Winnt.sif

    [shell]

    CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Longhornish.theme"

    Make sure that your theme is located in XPCD\$OEM$\$$\Resources\Themes and that the theme itself is correct. You also need to go into wordpad and copy and paste these contents and edit for your theme.

    [Theme]; Recycle Bin

    [CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]

    full=%SystemRoot%\SYSTEM32\shell32.dll,32

    empty=%SystemRoot%\SYSTEM32\shell32.dll,31

    [Control Panel\Desktop]

    Wallpaper=%ResourceDir%\Themes\FolderName\WallpaperImage.bmp

    TileWallpaper=0

    WallpaperStyle=2

    Pattern=

    ScreenSaveActive=0

    [VisualStyles]

    Path=%ResourceDir%\Themes\Longhornish\Yourtheme.msstyles

    ColorStyle=NormalColor

    Size=NormalSize

    Check that in nLite you didnt tell it to use Windows Classic theme and make sure with nLite you replaced uxtheme.dll

  4. Well kels not to be mean or anything I found a solution to the error people are having.

    Replace Wpi.cmd

    REM Calling the Unnatended aAdio Player

    Start %wpipath%\Tools\Music\uap2.exe

    With this
    CD /D %wpipath%\UAP2\

    start %wpipath%\UAP2\UAP2.exe

    Remember a folder "UAP2" must be in wpipath's root.

    Works for me :D

  5. Have you got the music in the music directory? Just try this then:

    [Track1]
    Name="Title.mp3"
    Location="Title.mp3"

    And for testing, you can also open the UAP2.exe on your HDD.

    Hmm ok I guess I could try that and when doing uap2 from the harddrive it plays fine. I had to add in music\title.mp3 to get it to play. I am going to test in virtual machine, Thx for all your help kels your a good man :thumbup

  6. Yea kels I have added my music in and edited settings.ini file but in virtual machine when testing uap2.exe it does load it just many of the options such as play, stop etc arent highlighted and they cant be accessed. and no music plays I dont know what the problem is...

  7. Ok well Ive changed wpi.ico in wpi.cmd to win51 but in generate.js the names where already win51 so they didnt need changed. It seems to work fine now. I am still getting path errors in my config.js file though

    "Windows cannot find 'D:\Install\AdoReader\acroread701.exe'
    prog[pn]=['Adobe Reader 7.0']

    desc[pn]=['Adobe® Reader 7.0 is free Software that lets you view and print Adobe Portable Document Format (PDF) files on a variety of devices and operating systems.']

    ordr[pn]=[2]

    cmd1[pn]=['%CDROM%\\Install\\AdoReader\\acroread701.exe']

    dflt[pn]=['yes']

    cat[pn]=['Applications']

    pn++

    Extra.

    When I edited wpi.cmd in the virtual machine it loaded fine but it doesnt run the audio player even though it plays manually when loaded from the virtual cd drive.

    You also have a typo in Your WPI.cmd file

    REM Calling the Unnatended aAdio Player

    Start %wpipath%\Tools\Music\uap2.exe

    I did as you said and removed the 2 -- however uap2.exe does load but all the options arent highlighted and only the mute button can be accessed, The playlist is there and it loads just nothing is played.

  8. I dont mean to challenge you or anything but shouldnt this be

    REM Start WPI and wait for its end

    start /wait %windir%\system32\mshta.exe "%CD%\wpi.hta"

    Like this
    REM Start WPI and wait for its end

    start /wait %windir%\system32\mshta.exe "%cdrom%\wpi.hta"

×
×
  • Create New...