[wpkg-users] how do you handle 'conditional/optional/installation dependency' installs

Tomasz Chmielewski mangoo at wpkg.org
Sun May 28 19:47:31 CEST 2006


Urs Rau wrote:

(...)

> Am I the only one that would find this functionality usefull? Have I
> missed something, and can it already be done with the features wpkg
> already has?

Hmm, perhaps you're the only one to find something like that useful :)

Why wouldn't you like to have a clear idea what's installed where?
Unless your hosts are on a dial-up line, I see no obstacle to that.

> Thanks for any pointers or help in achieving this.

I was thinking about it, and it can be done if you know some batch 
scripting.
Perhaps it can be even done with WPKG (with the additional "root" for a 
second instance of WPKG).

You want to have:

1) latest version installed, or
2) nothing installed at all.

So use WPKG to check if the given software is installed in the latest 
version, and if not, launch the installer, which would be a batch script.

Then this batch script (or a second instance of WPKG?) would check if 
the software is there:
  - if not - then quit,
  - if there - upgrade to the latest version.

Something like that.


-- 
Tomasz Chmielewski
http://wpkg.org







_______________________________________________
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