Jump to content

Unattended Audio Player Version 1.0 Release...


Recommended Posts


  • 3 weeks later...
  • 2 months later...
  • 2 weeks later...
  • 4 weeks later...
ADD

CD /D %CDROM%\Software\wpi\UAP\

start %CDROM%\Software\wpi\UAP\UAP.exe

Im looking to incorporate this into mine and plz forgive me but im not 100% sure where to place the commands perhaps someone could do it for me?

@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:\win51 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.

--start %wpipath%\common\VideoChanger.exe 1280x1024x32@85 -q

REM Hide this command window.

"%wpipath%\common\cmdow.exe" @ /hid

REM Font installation - the smooth and customizable way.

start /wait %wpipath%\common\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 \wpi\WPI.hta

REM Cleaning up the desktop.

del /s/q "%userprofile%\desktop\*.lnk"

DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"

DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"

DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"

exit

:end

Link to comment
Share on other sites

hey :hello:

I believe you can put it every where between...

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:\win51 set CDROM=%%i:
echo Found CD-Rom as drive %CDROM%

and...

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

If you would like to, you could even start it from inside your WPI

Link to comment
Share on other sites

Would this work? Its %cdrom%\wpi so would start %wpipath%\install\UAP2\UAP2.exe work?

@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:\win51 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 Make WPI directory the current directory.

for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:

cd "%wpipath%"

CD /D %wpipath%\install\UAP2\

start %wpipath%\install\UAP2\UAP2.exe

REM Start WPI and wait for its end

start /wait \wpi\WPI.hta

exit

:end

Link to comment
Share on other sites

hey, sorry haven't been on much lately, can't really focus on anything anymore. and have been playing lots of games lol.

I lost the source code after i had to format :( since i've been learning some delphi I could probably re-code it. the size of the file would go up a little bit, probably about 300-500K for the player but if i understand delphi correctly it should be able to play completly stand alone.. meaning there would be no more need for the VBRUN60.dll file.

@edmoncu i don't think it can play at the T-39 stage, since its windows based.

for the questions about WPI, i'm not to sure about it since i haven't tried WPI, but if it does work then :thumbup.

Edited by Bi0haZarD
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...