Wireshark-dev: Re: [Wireshark-dev] Problem with MIME type on Windows platform

From: "Runyon,Steve" <Steve.Runyon@xxxxxxxxxx>
Date: Fri, 16 Jun 2006 13:49:00 -0400
Thanks for your response.

The problem is not with a file-type association, it is with a mime-type

Yes, the .pcap files do become associated with Wireshark correctly. But
the mime-type does not.

It would be good to set the mime-type assicoation automatically during
the Wireshark install, as the Ethereal install does, rather than require
the user to somehow edit the Windows registry in order to set the
mime-type association correctly.

The mime-type "application/pcap" used to be associated with Ethereal on
my system. After deinstalling Ethereal and installing Wireshark, this
mime-type is not associated with anything. (Reinstalling Ethereal fixes
the problem, but then I have Ethereal and not Wireshark.)

-----Original Message-----
From: Martin Regner [mailto:martin.regner@xxxxxxxxx] 
Sent: Friday, June 16, 2006 1:40 PM
To: wireshark-dev@xxxxxxxxxxxxx
Cc: Runyon,Steve
Subject: Re: [Wireshark-dev] Problem with MIME type on Windows platform

Runyon, Steve wrote:
> Apparently Ethereal understands this and configures the mimetype 
> during installation, but Wireshark does not.
> wireshare -v:
> wireshark 0.99.1pre1

If I have installed wireshark without deinstalling Ethereal then .pcap
files are still associated with Ethereal.
After I have deinstalled Ethereal and then installed 0.99.1pre1 then
pcap files are associated with Wireshark

My guess is that the Ethereal/Wireshark installer checks if there
already is another program associated with the filetype.
I have seen similar behavior where I have another program associated
with .cap-files or similar. 

Confidentiality Notice: The information contained in this e-mail and any attachments (including, but not limited to, any attached e-mails) may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.