Media Player Classic file associating?
#1
Posted 31 August 2004 - 06:31 AM
#3
Posted 31 August 2004 - 11:23 AM
more switches with mplayerc /? or in the Help menu
#4
Posted 30 October 2004 - 10:21 PM
Or how do you just add the associations during unattended installation?
#5
Posted 30 October 2004 - 10:51 PM
Personally I repack them both using Installshield Repackager.
#6
Posted 31 October 2004 - 06:53 AM
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
Posted 23 May 2005 - 04:47 PM
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
Posted 24 May 2005 - 05:48 PM
after that you can just reassociate to be sure via Options and File Types.
#9
Posted 24 May 2005 - 07:12 PM
#10
Posted 25 May 2005 - 04:55 PM
ZileXa, on May 24 2005, 11:48 PM, said:
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
Posted 25 May 2005 - 06:06 PM
you can use
xcopy /e /y Path1 Path2
and after delete the old directory by
rd /q /s Path1
#12
Posted 31 May 2005 - 06:33 PM
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
Posted 06 September 2005 - 02:46 AM
so i am doing it with an autoitscript now...
#14
Posted 06 September 2005 - 05:14 AM
donbi
#15
Posted 25 October 2006 - 10:00 AM
donbi, on Sep 6 2005, 01:14 PM, said:
donbi
for unknown reasons, the file association option not stored in the ini file, others options is ok
#16
Posted 25 October 2006 - 05:33 PM
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.
#18
Posted 26 October 2006 - 02:22 PM
Wesmosis, on Oct 26 2006, 01:10 PM, said:
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
Posted 27 October 2006 - 04:29 AM
Shark007, on Oct 26 2006, 10:22 PM, said:
Wesmosis, on Oct 26 2006, 01:10 PM, said:
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
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
Posted 27 October 2006 - 06:27 AM
Wesmosis, on Oct 27 2006, 05:29 AM, said:
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
- ← StarOffice 8 Updated + Silent ?
- Application Installs
- [RQ] AutoIT Script for Alcohol 120% v1.9.6.4629 Retail →



Help

Back to top









