MSFN Forum: Media Player Classic file associating? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Media Player Classic file associating? Rate Topic: -----

#1 User is offline   CrashUK 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 09-August 04

Posted 31 August 2004 - 06:31 AM

I removed windows media player from WIndow XP setup and have Windows Media Player Classic in its place how can I make all video files associati with Media Player Classic.. this they a reg setting or some thing??


#2 User is offline   kyuuzo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 26-August 04

Posted 31 August 2004 - 11:12 AM

mplayerc.exe /regvid

#3 User is offline   Piksou 

  • Group: Members
  • Posts: 4
  • Joined: 31-August 04

Posted 31 August 2004 - 11:23 AM

and /regaud for the audiofiles
more switches with mplayerc /? or in the Help menu

#4 User is offline   fourte3n 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 17-August 04

Posted 30 October 2004 - 10:21 PM

if someone WANTS to install MPC rather than just copying the files how does one go about that silently and add accosications?

Or how do you just add the associations during unattended installation?

#5 User is offline   RogueSpear 

  • OS: SimplyMEPIS
  • Group: Supreme Sponsor
  • Posts: 1,529
  • Joined: 18-September 04

Posted 30 October 2004 - 10:51 PM

The only way to "install" MPC that I know of is to do it as part of installing either Real Alternative or QuickTime Alternative since the latest version of MPC is included in the installs for those products. There are silent switches for them on the sticky for Application Switches.

Personally I repack them both using Installshield Repackager.

#6 User is offline   Acheron 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 915
  • Joined: 28-June 04

Posted 31 October 2004 - 06:53 AM

You can just copy mplayerc.exe to a directory. But I prefer to install Quicktime Alternative and Real Alternative. There it is already included with. From runonceex.cmd I use the following command to register all filetypes with Media Player Classic:

REG ADD %KEY%\012 /VE /D "Quicktime Alternative 1.38" /f
REG ADD %KEY%\012 /V 1 /D "%CDDRIVE%install\Quicktime\quicktimealt138.exe /VERYSILENT" /f
REG ADD %KEY%\013 /VE /D "Real Alternative 1.28" /f
REG ADD %KEY%\013 /V 1 /D "%CDDRIVE%install\Real\realalt128.exe /VERYSILENT" /f
REG ADD %KEY%\013 /V 2 /D "\"%programfiles%\Media Player Classic\mplayerc.exe\" /regaud /regvid" /f


Look at the backslashes!!

#7 User is offline   JohnS 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 14-May 05

Posted 23 May 2005 - 04:47 PM

Hi, I am using RunOnceEx metlhod and installing Media Player Classic as part of Real and Quicktime Alternative.
By default, Media Player Classic install on \Programs\Media Player Classic folder.
Since it doesn't need any installation, can I move it from \Programs\Media Player Classic after being installed by Real or Quicktime Alternative to, let's say, \Programs\Music\Media Player Classic? If yes, how?
And then register all filetypes to Media Player Classic?
Thanks

#8 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 24 May 2005 - 05:48 PM

Just Copy and paste huh!
after that you can just reassociate to be sure via Options and File Types.

#9 User is offline   blinkdt 

  • Somewhat Knowledgeable
  • PipPipPipPip
  • Group: Members
  • Posts: 582
  • Joined: 30-September 03
  • OS:Vista Ultimate x64
  • Country: Country Flag

Posted 24 May 2005 - 07:12 PM

MPC comes bundled in a variety of forms. I install it as part of the K-Lite Codec Pack, for example. Does a great job of playing DVDs, but although I use /regvid I'm still prompted to select MPC as my preferred player when inserting a DVD. Only after I manually configure Options-->Formats-->Autoplay to play Video and DVD will it load up by default. Another thing I like to do is launch the movies in fullscreen. But I would rather not configure all of this manually. I expect all of this could be done with some registry settings imported during unattended after the install? Looks like a job for RegSnap.

#10 User is offline   JohnS 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 14-May 05

Posted 25 May 2005 - 04:55 PM

ZileXa, on May 24 2005, 11:48 PM, said:

Just Copy and paste huh!
after that you can just reassociate to be sure via Options and File Types.
<{POST_SNAPBACK}>

Well, if I did that it would not be an unattended install, would it :) ?
By the way, I played around and found out that I can't proceed the way I wanted, because it doesn't stay registered after I move it to the folder I want. I have to re-register the filetypes.
So, now Quicktime Alternative install Media Player Classic and after, with cleanup.cmg file, I move it to where I want to and register the filetypes.
This may seem newbie thoughts, but I am newbie!
And I am so happy: I found by myself how to move a program with a batch command.
A week ago I didn't know what a batch was. :)
I have just one (another) newbie question:
I use MOVE command to move this from one place to another.
And I use "*.*" to move all files in a certain folder, but it doesn't move sub-folder.
How can I move everything with one command?
Thanks

#11 User is offline   Sonic 

  • Sonic
  • Group: Patrons
  • Posts: 1,600
  • Joined: 04-December 03

Posted 25 May 2005 - 06:06 PM

hi,

you can use
xcopy /e /y Path1 Path2

and after delete the old directory by
rd /q /s Path1


#12 User is offline   blinkdt 

  • Somewhat Knowledgeable
  • PipPipPipPip
  • Group: Members
  • Posts: 582
  • Joined: 30-September 03
  • OS:Vista Ultimate x64
  • Country: Country Flag

Posted 31 May 2005 - 06:33 PM

Hmmm, setting MPC to play all video in fullscreen mode by default was trickier than initially suspected. RegSnap wasn't much help, turned out to be a job for AutoIt:
AutoItSetOption("TrayIconHide", 1)
AutoItSetOption("WinTitleMatchMode", 4)
BlockInput(1)

;open MPC
Run(@ProgramFilesDir & "\K-Lite Codec Pack\Media Player Classic\mplayerc.exe")

;open Options dialogue
WinWait("classname=MediaPlayerClassicW")
WinActivate("classname=MediaPlayerClassicW")
Send("!v")
Sleep("500")
Send("o")

WinWaitActive("Options", "Open options")
ControlClick("Options", "Open options", "Button3")
ControlClick("Options", "Open options", "Button19")
ControlFocus("Options", "Open options", "SysTreeView321")
Send("{DOWN}")
Send("!v")
Sleep("500")
Send("!a")
Sleep("500")
Send("{ENTER}")
Sleep("500")
WinClose("classname=MediaPlayerClassicW")

Exit

Works for me when MPC is installed as part of the K-Lite Codec Pack. The compiled executable is run as part of my WPI post-install routine.

#13 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 06 September 2005 - 02:46 AM

The Regaud and Regvid switches don't apply for all users...
so i am doing it with an autoitscript now...

#14 User is offline   donbi 

  • Newbie
  • Group: Members
  • Posts: 32
  • Joined: 03-February 04

Posted 06 September 2005 - 05:14 AM

for unattended settings, you can also configure any setting in mpc and then check the option in the menu view/options/player "store settings to .ini file" and copy the file (C:\Program Files\Media Player Classic\mplayerc.ini) at install time...

donbi

#15 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

Posted 25 October 2006 - 10:00 AM

View Postdonbi, on Sep 6 2005, 01:14 PM, said:

for unattended settings, you can also configure any setting in mpc and then check the option in the menu view/options/player "store settings to .ini file" and copy the file (C:\Program Files\Media Player Classic\mplayerc.ini) at install time...

donbi

for unknown reasons, the file association option not stored in the ini file, others options is ok

#16 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 25 October 2006 - 05:33 PM

Simply add mplayerc.exe to a 7z file and extract it with RunOnceEx.
Use /regvid switch after that for file association.

BUT in my experience /regvid doesn't work at all. Same for /regaud.
unregvid and unregaud do work.

So I use an AutoIt script to associate with videofiles.

#17 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

Posted 26 October 2006 - 12:10 PM

nothing worked

#18 User is offline   Shark007 

  • Repackaging Specialist
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,154
  • Joined: 07-January 04

Posted 26 October 2006 - 02:22 PM

View PostWesmosis, on Oct 26 2006, 01:10 PM, said:

nothing worked


There is an unattended installer on my repository of MPC. It is specific to my liking.
It is a WinRAR archive making it easy for you to manipulate the install commands.
You can change the install directory etc, hope it solves your issues.

shark

#19 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

  Posted 27 October 2006 - 04:29 AM

View PostShark007, on Oct 26 2006, 10:22 PM, said:

View PostWesmosis, on Oct 26 2006, 01:10 PM, said:

nothing worked


There is an unattended installer on my repository of MPC. It is specific to my liking.
It is a WinRAR archive making it easy for you to manipulate the install commands.
You can change the install directory etc, hope it solves your issues.

shark

You da man shark!
but does the MPC when silently installed take the VIDEO file association?
that's my object
I made a self-extractor silent installer via WinRAR (mplayerc.exe + mplayerc.ini) but still facing the ASSOCIATION prob, I hope your file can solve it


EDIT

Quote

It registers video file-types and places a shortcut in the quicklaunch bar

Oh thanx, but can you teach me how you made the association trick?!


EDIT2
btw, your Repository Bookmarked!

This post has been edited by Wesmosis: 27 October 2006 - 06:52 AM


#20 User is offline   Shark007 

  • Repackaging Specialist
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,154
  • Joined: 07-January 04

Posted 27 October 2006 - 06:27 AM

View PostWesmosis, on Oct 27 2006, 05:29 AM, said:

Oh thanx, but can you teach how you made the association trick?!

It is no trick. It is a well documented feature. Provide a proper path and use mplayerc.exe /regvid. One note about using my installer, if you are changing the installation path, you must also change the path in the vbs file to reflect the changes to get the shortcut properly created in the quicklaunch.

If you're still having problems I'm willing to modify my installer to meet your specific needs. Just PM me where you want it installed and what you want associated [video/audio]. Also include what shortcut(s) you'd prefer. I'll reply to the PM with a download url. I'll use WinRAR so you can easily replace the ini file with your own just in case you havent seen the light and begun to use my codec package too.

shark

This post has been edited by Shark007: 27 October 2006 - 06:30 AM


Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy