Jump to content

How to integrate Media Player Classic (MPC) ?


Recommended Posts

Posted

Hi all, i would like integer MPC to my windows XP and associate all video file to MPC! Is it possible ?

Thx,

Kal


Posted

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 ? :)

Kal

Posted

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

Posted

Simply because i dont know how to copy it in program files dir and dont know how to create shorcut in a cmd file :rolleyes:

Si this is the the easier way for me

Thx :)

Posted

you dont have to copy anything by hand or create shortcuts using batch files :)

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 :rolleyes: 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

Posted

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 ! :)

Posted

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 :)

Posted

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 :rolleyes:

In fact, all folder into $Progs are not copied in program file folder etc..

So i must use msdos to create folder etc :D

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 :)

Thx anymore :D

Kal

Posted

u can use

xcopy "%systemdrive%\INSTALL\MPC\mplayerc.exe" "%programfiles%\Media Player Classic\" /I /S /E

it will create the directory for u

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