[wpkg-users] Can't have download functionnality working
Hi ! I'am a new user of wpkg ( version 1.1M6) with wpkg_web. I'm using the wpkg-client 1.3.6 on the client ... Everything is OK. But i can't find any way to have the download functionnality working. I always get the same error : Invaid download target specified : null ( with invaid, not invalid ) Here's what I'm doing : - added param name='downloadDir' value='c:\\temp' / in config.xml, as written in CHANGELOG of version 1.1 M6. I tried %HOMEDRIVE% and another share ntinstall\\install\\packages I also tried slashes instead backslashes - here's the package i'm using (written in wpkg_web ) package id=firefox3 name=Firefox version 3 revision=300 priority=1 reboot=false !-- Téléchargement et installation de firefox 3 -- download lang=ALL url=http://download.mozilla.org/?product=firefox-3.0.5%26os=win%26lang=fr; saveto=essai/Firefox Setup 3.0.5.exe/ check type=uninstall condition=exists path=Mozilla Firefox (3.0.5)/ install cmd=taskkill /F /IM Firefox.exe exit code=0/ exit code=128/ /install install cmd=c:\temp\essai\Firefox Setup 3.0.5.exe -ms/ remove cmd=%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe /s/ upgrade cmd=taskkill /F /IM Firefox.exe exit code=0/ exit code=128/ /upgrade upgrade cmd=c:\temp\essai\Firefox Setup 3.0.5.exe -ms/ /package - don't think if it's usefull, but added wget.exe' in tools directory - wpkg.js is located at \\wksapps\wpkg$\ , i would like to be able to ntinstall\\install\\packages - Before posting, I googled a lot, searched in http://wpkg.linuxkidd.com/ and wpkg.org, and even in svn repositories... What am I missing ? Best regards Nicolas Lebrun - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Can't have download functionnality working
Hi Nicolas, Nicolas LEBRUN wrote: Hi ! I'am a new user of wpkg ( version 1.1M6) with wpkg_web. I'm using the wpkg-client 1.3.6 on the client ... Everything is OK. Wpkg_web is currently not under active development not. But i can't find any way to have the download functionnality working. Right - quite sure it's related to wpkg_web usage. The download feature within wpkg_web has been implemented without WPKG support (or there might be some support within an older 0.xx release. Note that WPKG has been almost completely rewritten for version 1.0 (and version 1.0 did not include the download feature). WPKG 1.1.x pre-release contains a download feature but it's implemented slightly differently and more robust than the way wpkg_web was thinking about it. The syntax is described within the change notes: examples: package... download url=http://example.org/package.exe; target=package.exe / install cmd=%TEMP%\file.exe some arguments ... download url=http://example.org/file.exe; target=file.exe / /install install cmd=%TEMP%\file2.exe some arguments ... download url=http://example.org/file2.exe; target=file2.exe / /install upgrade cmd=%TEMP%\update.exe arguments ... download url=http://example.org/update.exe; target=update.exe / /upgrade /package As you can see the download command is part of the command section now. Not part of the global section. So unfortunately the way wpgk_web is creating download information is incompatible with the implementation in WPKG. In any case I strongly suggest not to use the download feature and use SMB/CIFS shares instead. This is considered to be much more robust way of deployment than downloading packages via HTTP. If you really want to use it (at no support of course) then you need to write your XML files manually or export them from wpkg_web and extend them manually. Another possibility might be to use a CMD script during installation which is using wget or a similar tool to download files before installing them. br, Rainer - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Can't have download functionnality working
Thanks Rainer, for this answer... Actually, I think I won't use wpkg_web anymore ... or try to see if a minor adaptation of wpkg-web could repair... Just hope another front-end to wpkg will appear ... In fact, I personnaly don't need it but some admins in our high schools would appreciate... Best regards Nicolas Rainer Meier a écrit : Hi Nicolas, Nicolas LEBRUN wrote: Hi ! I'am a new user of wpkg ( version 1.1M6) with wpkg_web. I'm using the wpkg-client 1.3.6 on the client ... Everything is OK. Wpkg_web is currently not under active development not. But i can't find any way to have the download functionnality working. Right - quite sure it's related to wpkg_web usage. The download feature within wpkg_web has been implemented without WPKG support (or there might be some support within an older 0.xx release. Note that WPKG has been almost completely rewritten for version 1.0 (and version 1.0 did not include the download feature). WPKG 1.1.x pre-release contains a download feature but it's implemented slightly differently and more robust than the way wpkg_web was thinking about it. The syntax is described within the change notes: examples: package... download url=http://example.org/package.exe; target=package.exe / install cmd=%TEMP%\file.exe some arguments ... download url=http://example.org/file.exe; target=file.exe / /install install cmd=%TEMP%\file2.exe some arguments ... download url=http://example.org/file2.exe; target=file2.exe / /install upgrade cmd=%TEMP%\update.exe arguments ... download url=http://example.org/update.exe; target=update.exe / /upgrade /package As you can see the download command is part of the command section now. Not part of the global section. So unfortunately the way wpgk_web is creating download information is incompatible with the implementation in WPKG. In any case I strongly suggest not to use the download feature and use SMB/CIFS shares instead. This is considered to be much more robust way of deployment than downloading packages via HTTP. If you really want to use it (at no support of course) then you need to write your XML files manually or export them from wpkg_web and extend them manually. Another possibility might be to use a CMD script during installation which is using wget or a similar tool to download files before installing them. br, Rainer - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Can't have download functionnality working
Nicolas LEBRUN schrieb: Thanks Rainer, for this answer... Actually, I think I won't use wpkg_web anymore ... or try to see if a minor adaptation of wpkg-web could repair... Just hope another front-end to wpkg will appear ... In fact, I personnaly don't need it but some admins in our high schools would appreciate... You may check wpkgExpress: http://mscdex.blogspot.com/search/label/wpkg I didn't use it, so can't tell much about it - any feedback, screenshots, working demo... here on the list would be appreciated. -- Tomasz Chmielewski http://wpkg.org - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Can't have download functionnality working
On 1/28/09, Tomasz Chmielewski man...@wpkg.org wrote: Nicolas LEBRUN schrieb: Thanks Rainer, for this answer... Actually, I think I won't use wpkg_web anymore ... or try to see if a minor adaptation of wpkg-web could repair... Just hope another front-end to wpkg will appear ... In fact, I personnaly don't need it but some admins in our high schools would appreciate... You may check wpkgExpress: http://mscdex.blogspot.com/search/label/wpkg I didn't use it, so can't tell much about it - any feedback, screenshots, working demo... here on the list would be appreciated. -- Tomasz Chmielewski http://wpkg.org - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users Hello, I'm the one who is working on wpkgExpress. I'd like to get a couple more things implemented before a beta release is made. Regarding the download functionality, over the Christmas break I worked on a PHP-based modular download system (works in conjunction with a download tag) that provides fairly decent, extensible download support. It's not integrated with wpkgExpress and can be used separately. To date, I've only created modules for download.com and filehippo (which is based on the bash script by John Price that was made available on this list awhile back), as well as a simple download module that essentially works similarly to what the current wpkg download tag does. I will try and package it up as soon as I can and make it available online for those who are interested. - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users