[wpkg-users] [wpkg] Feature requests and questions

Kristofer Kiik kristofer.kiik at gmail.com
Fri Dec 9 19:56:02 CET 2005


> > This is not a wpkg issue at all.
> I never said it was, did i? I just asked if someone knew how it is done.
>
> > Go check this page: http://developer.mozilla.org/en/docs/Adding_Extensions_using_the_Windows_Registry
> > You can put the extensions in any folder u like and then update the registry so that FF will find the extensions.
> I read that page and i must say: "What the fuck are those idiots doing?" The documentation is totally useless and either i'm too stupid to follow the incomplete instructions or this just doesn't work.
> Either way i can't get it to work no matter what i try.

The instructions there are pretty good and complete i would say.  Just
try to read them from the beginning and then continue up to the very
end while following them.

> This is how my Firefox Extension entries in packages.xml look like atm:
>
>     <package
>         id="firefox-ext-adblock"
>         name="firefox extensions adblock"
>         revision="1"
>         reboot="false"
>         priority="99">
>         <check type="file" condition="exists" path="c:\programme\mozilla firefox\extensions\{34274bf4-1d97-a289-e984-17e546307e4f}\chrome\adblock.jar" />
>
>         <install cmd='c:\programme\mozilla firefox\firefox.exe -install-global-extension z:\packages\mozilla\fx_extensions\adblock-0.5.2.056-fx+fl+mz+ns.xpi'>
>             <exit code="0" />
>         </install>
>         <remove  cmd='del c:\programme\Mozilla Firefox\extensions\{34274bf4-1d97-a289-e984-17e546307e4f}' />
>     </package>
>     <package
>         id="firefox-ext-googlebarlite"
>         name="firefox extensions googlebarlite"
>         revision="1"
>         reboot="false"
>         priority="99">
>         <check type="file" condition="exists" path="c:\programme\mozilla firefox\extensions\{79c50f9a-2ffe-4ee0-8a37-fae4f5dacd4f}\chrome\googlebarlite.jar" />
>
>         <install cmd='c:\programme\mozilla firefox\firefox.exe -install-global-extension z:\packages\mozilla\fx_extensions\googlebar_lite-3.1-fx.xpi'>
>             <exit code="0" />
>         </install>
>         <remove  cmd='del c:\programme\Mozilla Firefox\extensions\{79c50f9a-2ffe-4ee0-8a37-fae4f5dacd4f}' />
>     </package>
>     <package
>         id="firefox-ext-forecast"
>         name="firefox extensions forecast"
>         revision="1"
>         reboot="false"
>         priority="99">
>         <check type="file" condition="exists" path="c:\programme\mozilla firefox\extensions\{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}\chrome\forecastfox.jar" />
>
>         <install cmd='c:\programme\mozilla firefox\firefox.exe -install-global-extension z:\packages\mozilla\fx_extensions\forecastfox-0.8.2.5-fx+mz+ns.xpi'>
>             <exit code="0" />
>         </install>
>         <remove  cmd='del c:\programme\Mozilla Firefox\extensions\{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}' />
>     </package>
>
> Now the idea would be to change wpkg so that the following works:
>
>     <package
>         id="firefox-ext"
>         name="firefox extensions"
>         revision="1"
>         reboot="false"
>         priority="99">
>
>         <check type="file" id="adblock" condition="exists" path="c:\programme\mozilla firefox\extensions\{34274bf4-1d97-a289-e984-17e546307e4f}\chrome\adblock.jar" />
>         <install id="adblock" cmd='c:\programme\mozilla firefox\firefox.exe -install-global-extension z:\packages\mozilla\fx_extensions\adblock-0.5.2.056-fx+fl+mz+ns.xpi'>
>             <exit code="0" />
>         </install>
>         <remove id="adblock" cmd='del c:\programme\Mozilla Firefox\extensions\{34274bf4-1d97-a289-e984-17e546307e4f}' />
>
>         <check type="file" id="forecast" condition="exists" path="c:\programme\mozilla firefox\extensions\{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}\chrome\forecastfox.jar" />
>         <install id="forecast" cmd='c:\programme\mozilla firefox\firefox.exe -install-global-extension z:\packages\mozilla\fx_extensions\forecastfox-0.8.2.5-fx+mz+ns.xpi'>
>             <exit code="0" />
>         </install>
>         <remove id="forecast" cmd='del c:\programme\Mozilla Firefox\extensions\{0538E3E3-7E9B-4d49-8831-A227C80A7AD3}' />
>
>         <check type="file" id="googlebar" condition="exists" path="c:\programme\mozilla firefox\extensions\{79c50f9a-2ffe-4ee0-8a37-fae4f5dacd4f}\chrome\googlebarlite.jar" />
>         <install id="googlebar" cmd='c:\programme\mozilla firefox\firefox.exe -install-global-extension z:\packages\mozilla\fx_extensions\googlebar_lite-3.1-fx.xpi'>
>             <exit code="0" />
>         </install>
>         <remove id="googlebar" cmd='del c:\programme\Mozilla Firefox\extensions\{79c50f9a-2ffe-4ee0-8a37-fae4f5dacd4f}' />
>     </package>
>
> Note the additional ID tag for check, install and remove.

How would this make things easier? Your only gain is by getting rid of
some <package> beginning and end tags at the same time introducing
aditional check and install id tags. This only complicates matters and
makes packages.xml editing more prone for errors.

No need to get all heated up about it.

cheers,
Kristofer



wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users




More information about the wpkg-users mailing list