Old 22nd February 2008, 16:49   #1
nsisfannsisfan
Junior Member
 
Join Date: Feb 2008
Posts: 3
MIME type association with file extension

How do I associate a program with a file extension using NSIS during installation. I searched the forums, help and the web but no answer. Please advise.
I am trying to install on Windows XP. There is a Application association plugin for Vista. But my target is Windows XP.
nsisfannsisfan is offline   Reply With Quote
Old 22nd February 2008, 16:58   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
http://nsis.sourceforge.net/File_Association

http://forums.winamp.com/showthread....hreadid=140254

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 22nd February 2008, 22:03   #3
nsisfannsisfan
Junior Member
 
Join Date: Feb 2008
Posts: 3
Thanks. That helps. I suggest to include this in the examples as this is one of the frequently encountered problem.
nsisfannsisfan is offline   Reply With Quote
Old 25th February 2008, 14:28   #4
nsisfannsisfan
Junior Member
 
Join Date: Feb 2008
Posts: 3
The macro associates file extension. But I need to associate the mime type with the executable so it can be launched from browser. I think registering mime type is similar to file extension. But wanted to know if this is already supported in NSIS...
nsisfannsisfan is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump