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

Jens Geile jens.geile at mzbs.de
Fri Dec 9 16:41:17 CET 2005


> It is not file oriented, but install package oriented. It does a check (or several checks) in order to determin, whether a program is installed. If one of the checks fail, wpkg assumes, that the program is not installed and triggers the install command(s). It does not install files as such.
Why do you think i filed this as a feature request?
I want to install DIFFERENT softwares with ONE package entry. Having a dozen package entries (for each firefox extension one entry) is not only totally stupid but also ineffective.
Check the end of the mail for an example how i imagine this feature to look like.

> 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.


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.

-
jens



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