Help - Search - Members - Calendar
Full Version: How to integrate Media Player Classic (MPC) ?
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
kal
Hi all, i would like integer MPC to my windows XP and associate all video file to MPC! Is it possible ?
Thx,

Kal
eirogge
start media player and go to help, command line switches

interesting for you: /regvid
Aaron
Didn't spot that, thanks eirogge!
eirogge
no problem thumbup.gif

for all people that are too lazy to read: /regaud is possible, too
kal
omg thx a lot guys !

So, i put mplayerc.exe into $OEM$\$$\SYSTEM32 folder and insert this command in a cmd file called by cmd CMDLINES.TXT :
mplayerc.exe /regvid

All right ? biggrin.gif

Kal
eirogge
why dont you create a directory for MPC in $Progs and a shortcut in $Docs?

So the MPC will be copied over to c:\Program Files\Media Player Classic (just an example)

and yeah, just execute mplayerc.exe /regvid to register video files but i would run it after the windows setup using the guirunonce-based programs/batches
kal
Simply because i dont know how to copy it in program files dir and dont know how to create shorcut in a cmd file sad.gif
Si this is the the easier way for me
Thx smile.gif
eirogge
you dont have to copy anything by hand or create shortcuts using batch files newwink.gif

if you create a directory called $Progs inside $OEM$, all of its contents will be copied to your %ProgramFiles% directory during windows setup.

the same with the $Docs directory inside $OEM$, it is linked to c:\documents and settings (example). so you just have to create directories called All Users\Startmenu in here and copy your shortcuts in.

the only thing you have to regard is that the path of your shortcut uses the relative value %ProgramFiles%. example for that: "%ProgramFiles%\Media Player Classic\mplayerc.exe"

of course you can do it as you wish but i wanted you to be informed about your possibilities newwink.gif at least a shortcut might be useful, even if you copy your mplayerc.exe to system32

further information can be found @ http://unattended.msfn.org/xp/oemfolders.htm
kal
Ok, this is my new structure :
$OEM$\$Progs\Media Player Classic\mplayerc.exe
Now, i want to create a shortcut for "%ProgramFiles%\Media Player Classic\mplayerc.exe.
Is there a command to create a shortcut ?
Thx a lot dud ! smile.gif
eirogge
copy the directory to your current program files directory, rightclick the exe-file and select create a shortcut. rename it as you wish, rightclick it again, select properties and replace for instance c:\program files by %ProgramFiles%, also in the working directory.

if it can apply it, everything should work. copy the shortcut to $Docs\All Users\Startmenu\Accessoires (for instance) and you should be done smile.gif
Alanoll
very very nice eirogge.

here i went through the trouble of creating a whole MSI to do the associations. Thank you very much thumbup.gif
kal
Well, i've trier to do this with an unattend install of win2k, and it seems that $Progs $Docs arent recognize by the setup system sad.gif
In fact, all folder into $Progs are not copied in program file folder etc..
So i must use msdos to create folder etc sad.gif
This is the syntax of the batch file :
-------------------------------------
xcopy "%systemdrive%\INSTALL\MPC\mplayerc.exe" "%programfiles%\Media Player Classic\"
cd "%systemdrive%\Program Files\Media Player Classic\"
mplayerc.exe /regvid
-------------------------------------

I'm going to try this smile.gif

Thx anymore tongue.gif

Kal
eirogge
we were allways talking about wxp newwink.gif i'm sorry
XtremeMaC
u can use
CODE
xcopy "%systemdrive%\INSTALL\MPC\mplayerc.exe" "%programfiles%\Media Player Classic\" /I /S /E

it will create the directory for u
kal
QUOTE (eirogge @ Mar 19 2004, 01:01 PM)
we were allways talking about wxp newwink.gif i'm sorry

lol no problem dud smile.gif
Exodia
If you plan on installing the K-lite codec pack as well, downloading the latest version might save you some troubles, it has MPC as part of its default install. smile.gif
spyderx
could we can make the same thing with windows media player 9 ?

I would like use wmp9 faut all audio format & media player classic for all the video format

finally , Can we skip the windows media player configuration when it run for the first time ? and configure automaticly for only audio format ?


thanks for the tips for mpc
Alanoll
the only way I know of setting the associations with WMP9 is through regedits, and that's long and extensive and you have to do it for EACH extenstion you want.




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.