MSFN Forum: nsis script for file association - 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
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

nsis script for file association Rate Topic: -----

#1 User is offline   anandharaja 

  • Group: Members
  • Posts: 2
  • Joined: 07-May 09

Posted 07 May 2009 - 02:05 AM

hai

i 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

This post has been edited by anandharaja: 07 May 2009 - 02:06 AM



#2 User is offline   headroom 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 06-May 05

Posted 07 May 2009 - 02:07 AM

use regedit

#3 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 07 May 2009 - 11:12 AM

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.

#4 User is offline   ionut_y 

  • Junior
  • Pip
  • Group: Members
  • Posts: 65
  • Joined: 25-June 08

Posted 08 May 2009 - 03:36 AM

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.

Share this topic:


Page 1 of 1
  • 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