[wpkg-users] Register already installed Programms
Hello, i am testing wpkg to install new Software on my Clients and it worked great. Now i want to get control over installed Software by wpkg without reinstalling the packages on every client. Is there a way to tell wpkg, that a package is already installed on a system so that wpkg writes only the file 'wpkg.xml' and watches for Updates? best regards -- P. Ulrich -- GnuPg-Id: 696160D7 2003-03-06 Peter Ulrich [EMAIL PROTECTED] Key fingerprint = 09EA 22FE 8B7D 8A2A 0F67 9619 A697 5986 6961 60D7 -- - Reporting bugs, all WPKG mailing lists http://wpkg.org/Support ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Ideas for features.
Hi Brian, Brian May wrote: This check could be quite useful, e.g. if (not mains powered battery 20 mins left) { skip wpkg stuff } (no point turning on your laptop computer to find wpkg drains the last bit of battery life on installing package updates you didn't need) and/or maybe: if (wireless network connection) { skip wpkg stuff // so not to overload wireless network } Not sure how you could implement either one though. Yes, I agree that in some cases it could be useful but not as a package check because this check is totally unrelated to the package install status. Such checks should be executed prior to wpkg execution - WPKG client already supports such pre-execution checks. As I proposed such tools which allow to do such checks and exit with certain exit codes could be created and provided as a tool set. br, Rainer - Reporting bugs, all WPKG mailing lists http://wpkg.org/Support ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Register already installed Programms
Rainer Meier wrote: Please note that this only works with appropriate checks so WPKG can detect that a package is already installed. Packages with no checks, inappropriate checks (evaluate false) or execute=always attribute will be installed. Hello Rainer, that is exactly what i need and i have checked this with an existing Program. It worked like yout told me:) Best Regards Peter Ulrich - Reporting bugs, all WPKG mailing lists http://wpkg.org/Support ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Ideas for features.
Hi, 2) Extra check rules; I have Battery checks; to detect laptops, Disk Size/Free checks; to prevent installs clogged up and failing from disk space problems, RAM checks; to stop installs failing because of pre-requisites. Hmm, shouldn't the installer check these requirements (diskspace, memory...) and fail with an appropriate exit code if it does not meet the minimum requirements? Checks are meant to check if an application is installed or not. If somebody would define a check like memfree 512MB then this check would probably fail after next boot after the installation of some additional services. Thus triggering a check failure and making WPKG think the application is not installed. Regarding a check of disk space requirements, I think this would be a really useful feature: from time to time I've got machines without enough disk space to install e.g. office, acrobat8, sometimes even updates (SP3 ...) etc. So it would be a really good idea to have something like a pre-flight-check to check if the space for installation is available before trying to install: If there is no check and not enough space, installers might hang issuing an error dialog, installers make the machine really slow until they recognize that there is not enough space to install and so on. Of course we might check for space in the pre action command of Wpkg client (exit = 0 if not enough space) - but this cannot be made dependent from size of applications. What do you think about: depends check type=freespace condition=greaterorequal value=500 / /depends Just my 2ยข Falko - Reporting bugs, all WPKG mailing lists http://wpkg.org/Support ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users