On 6/12/11 7:00 PM, W3BNR wrote:
> On 6/12/2011 7:58 PM NoOp submitted the following:
>> On 06/12/2011 03:53 PM, W3BNR wrote:
>>> On 6/12/2011 4:01 PM David E. Ross submitted the following:
>>>> On 6/12/11 12:39 PM, JD wrote:
>>>>> NoOp wrote:
>> ...
>>>>>> Sorry, forgot to mention that I had modified install.rdf:
>>>>>>        <!-- SeaMonkey -->
>>>>>>        <em:targetApplication>
>>>>>>          <Description>
>>>>>>            <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
>>>>>>            <em:minVersion>2.0</em:minVersion>
>>>>>>            <em:maxVersion>2.1</em:maxVersion>
>>>>>>          </Description>
>>>>>>        </em:targetApplication>
>>>>>>
>>>>>>
>>>>>
>>>>> Where is the file located?
>>>>>
>>>>
>>>> In your profile.
>>>>
>>>> Find the extensions directory.  Do a search in that directory for all
>>>> instances of install.rdf.  Edit all of them to set em:maxVersion to 2.1.
>>>>    (I actually set it to 2.*)
>>>>
>>>> Be careful.  Some extensions have different em:maxVersion values for
>>>> different applications.  If there is more than one em:maxVersion, be
>>>> sure to change it for SeaMonkey.
>>>>
>>>
>>> But, if you removed the add-on via Tools/add-on manager the directory that
>>> housed that extension will be empty.
>>>
>>
>> You can redownload the xpi here without
>> ftp://ftp.mozilla.org/pub/addons/67148/
>> An xpi is a zip archive, so you could unzip, modify the install.rdf,
>> rezip and install that way if you wanted to. Or just try installing from
>> the xpi&  when it fails it may expand into the proper folder&  then
>> modify the install.rdf.
>>
> 
> Ah, yes - I didn't realize that a re-install, even though it failed, would 
> leave 
> the load intact.  Downloaded the .xpi, went to the directory, changed the 
> .rdf 
> file and - viola - a restart of SM showed the add-on now works.
> (This with the Show IP add-on)  Others will be tried tomorrow.  Thanks.
> 

I just tried an experiment.  I opened WinZip.  I dragged a PrefBar .xpi
file into the empty WinZip window.  Seeing install.rdf, I viewed it with
Wordpad.  I was able to edit install.rdf and save the result back into
the .xpi file.  All this worked without actually extracting install.rdf
and then rezipping it after editing.

I don't know if other zip applications will work this way, and I don't
know if any of this can be done on non-Windows platforms.

-- 

David E. Ross
<http://www.rossde.com/>

On occasion, I might filter and ignore all newsgroup messages
posted through GoogleGroups via Google's G2/1.0 user agent
because of spam from that source.
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to