Jump to content

is it possible tho play music while windows is installing


Recommended Posts

can i play music like from batch or sumting while windows is installing i think in T-13 stage audio drivers are installed is there e way i can play music then with player screen hidden i wanna now because i want tho draw attention tho the pc that there have tho be info inputted or can make the pc make that tuut sound like wen u get error that use the littel speaker on the mobo

wanna have info on the 2 thanks

Link to comment
Share on other sites


can i play music like from batch or sumting while windows is installing i think in T-13 stage audio drivers are installed is there e way i can play music then with player screen hidden i wanna now because i want tho draw attention tho the pc that there have tho be info inputted or can make the pc make that tuut sound like wen u get error that use the littel speaker on the mobo

wanna have info on the 2 thanks

Yes you can play music or sound during the install at the t13.

In the cmdlines.txt add a cmd for playing the sound

Example cmdlines.txt

[COMMANDS]

MyMusic.cmd

MyMusic.cmd

@Echo Off
CLS
MODE 55,5
COLOR F9
start "Some_Drive_Letter\Some_Folder\Music.File"

Link to comment
Share on other sites

Perhaps you should check to see if the file exists first

[code]@Echo Off
CLS
MODE 55,5
COLOR F9
Set Music=%SystemDrive%\Windows\system32\oobe\images\title.wma

If Exist %Music% Goto Play
If Not Exist %Music% Goto Missing
:Play
start %Music%
Goto EOF
Exit

:Missing
CLS
Echo.
Echo Can Not Find This File
Echo %Music%
Echo.
set /p = Press Enter To Close This Window.
Goto EOF
Exit[/code]

Link to comment
Share on other sites

the exists en when i run the batch then mediaplayer starts up i think this because on laptop mayby sum safty settings were messing up before but isnt there e way tho play the music without the play showing up if u running windows xp the file mujst exist try

Link to comment
Share on other sites

the exists en when i run the batch then mediaplayer starts up i think this because on laptop mayby sum safty settings were messing up before but isnt there e way tho play the music without the play showing up if u running windows xp the file mujst exist try

Then try this it is a VBS script

Save as PlayMusic.vbs

[code]Dim Music :Music="Place The Path And Name Of The File Here"
Dim Act :Set Act = CreateObject("Wscript.Shell")
Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject")
If Fso.FileExists(Music) Then
Act.Run("wmplayer.exe /play /close " & Music),0,True
End If[/code]

I do not know if this script will work, I am on Vista and mplay32.exe is in my music folder.

This script plays all my music files in the folder and the player is not visable.

[code]Dim Act :Set Act = CreateObject("Wscript.Shell")
Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject")
Dim F1, F2
Set F1 = Fso.GetFolder(".")
For Each F2 In F1.Files
If Right(InStr(F2.Name,".mp3"),4) Then
Act.Run("mplay32.exe /play /close " & F2.Path),0,true
End If
Next[/code]

Edited by gunsmokingman
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...