anandharaja Posted May 7, 2009 Share Posted May 7, 2009 (edited) haii want to associate my files .mkv , .avi .wmv etc to MEDIA PLAYER CLASSIC can any one tell the NSIS script for file association.thanks in advance Edited May 7, 2009 by anandharaja Link to comment Share on other sites More sharing options...
headroom Posted May 7, 2009 Share Posted May 7, 2009 use regedit Link to comment Share on other sites More sharing options...
MHz Posted May 7, 2009 Share Posted May 7, 2009 If you go into the help menu of MPC (I have the mpc homecinema version so hopefully same), you will see a "Command Line Switches" entry which pops up a window with all switches available to pass to mplayerc.exe. Use the switch "/regvid" to associate all video types to MPC. You could try to run the command from a NSIS script or do it with an external command after installation. Link to comment Share on other sites More sharing options...
ionut_y Posted May 8, 2009 Share Posted May 8, 2009 Export registry setting and run reg file in nsis like this ExecWait '"regedit" /s yourregfile.reg'You can use registry snapshot and export differences between 'before' and 'after' manual file association. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now