[wpkg-users] First test with architecture dependencies...
I'm starting to move out of XPsp3 32 bit, moving also to WPKG-GP. Anyway, i've setup a test recipe (for WPKG-GP, of course) and added to profiles.xml: profile id=default architecture=x86 depends profile-id=base / package package-id=xptweaks-disable-csc / /profile profile id=default architecture=x64 package package-id=wpkg-gp / package package-id=wpkg-gp-settings / /profile If i start WPKG on the win7 x86 box, in the log i can see that wpkg correctly idetify the os as 'x64', apply profile 'default' but start to install packages on 'base' profile plus 'xptweaks-disable-csc' packages. What i'm missing? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] First test with architecture dependencies...
What i'm missing? Thanks. OK, i've done a: host architecture=x86 name=.+ profile-id=default / host architecture=x64 name=.+ profile-id=default64 / and this way seems to work. Sorrty RTFM, i supposed i can use architecture match on 'profile' node, but it is not the case. ;-) http://wpkg.org/Extended_host_attribute_matching -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Windows 7 Home
Mandi! clei...@gmail.com In chel di` si favelave... Hi, i'd like to implement this feature if I knew how Ferro Backup did that. . . Ferro Backup it is not open source, so there's no way to look at the code. But googling around lead to: http://msdn.microsoft.com/en-us/library/system.serviceprocess.servicebase.onshutdown.aspx http://blogs.msdn.com/b/bclteam/archive/2007/11/01/change-in-system-serviceprocess-shutdown-is-coming-in-3-5-rtm-inbar-gazit.aspx so seems that effectively now on shutdown windows calls Stop() if OnShutdown() are not defined. Still there's all the trouble around shutdown timeout and the visual feedback to the user. For the firstm, i suspect that some timeout was added (eg, look at http://ezinearticles.com/?My-Windows-7-Is-Slow---Learn-Tricks-If-Your-Windows-7-Is-Slowid=5696200). For the visual feedback, i don't know if it was related to: http://msdn.microsoft.com/en-us/library/ms700677%28VS.85%29.aspx (but i suspect no). They put a custom wininit.exe.mui?! Boh... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Windows XP firewall strangeness...
It is some year that i set the windows firewall with 'netsh firewall' in a wpkg recipe, using 'execute once'. Some days ago, i've found a internet page that explain how the setting are saved, in registry, so i've modified the recipe as: check type=logical condition=and check type=registry condition=equals path=HKLM\System\CurrentControlSet\Services\SharedAccess\Start value=2 / check type=registry condition=equals path=HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall value=1 / check type=registry condition=equals path=HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\WPKGConfigVersion value=20121005 / /check install cmd='%WPKGROOT%\packages\firewall.bat' / install cmd='reg add HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy /f /v WPKGConfigVersion /t REG_SZ /d 20121005' / (firewall.bat sets the rules using 'netsh firewall' commands). Recipe do what expected (eg, firewall rules are applied correctly and works), but recipe fail, because there's no the EnableFirewall value on HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile registry key. If i use the control panel firewall graphical interface, firewall rules, and for example i disable and re-enable it, these registry keys/value come back as expected. For now i've added to the recipe: install cmd='reg add HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /f /v EnableFirewall /t REG_DWORD /d 1' / install cmd='reg add HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /f /v DoNotAllowExceptions /t REG_DWORD /d 0' / install cmd='reg add HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile /f /v DisableNotifications /t REG_DWORD /d 0' / but i'm curious to know what happen... Tnx. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Windows 7 Home
Mandi! SERVICE LUKAS In chel di` si favelave... I've noticed this thread WPKG on Windows 7 from last month (ufortunately I wasn't subscribed then) but some things are still not clear to me: Still i'm seeking some feedback, too. Supposing that here there's both the WPKG Client and WPKG-gp authors, this is a lack of time? Motivation? We can do something to help?! -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Advice on remote assistance program to deploy
Mandi! Marco Cunico In chel di` si favelave... not an administrator of the computer. The ideal solution would support linux as an operator OS as most of our IT staff is on Linux. We've seen UltraVNC and all his plugins like DC or helpware but we'd like to hear your opinion As others, i prefere TightVNC, that now have a shining new .msi installer with a docs full of specifications, and the dfmirage driver are bakc, so there's also performance improvement. Attached my recipe, still i use/prefere the 'save registry portion on a working box and load elsewhere' method (with a -settings recipe), and note that i install the dfmirage driver with dpinst and not with the (broken) installer. All for win xp 32bit, sorry. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) tightvnc.xml Description: XML document - 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] WPKG on Windows 7
Mandi! Daniel Berteaud In chel di` si favelave... I'm actually using this method: http://www.mail-archive.com/wpkg-users@lists.wpkg.org/msg05228.html Trying to summarize, on win7: + WPKG-GP works only on startup + WPKGClient does not works reilable on shutdown, because windows after 10 minutes forcibly kill all running processes, so long installation never complete. First question: seems strange to me that, even Microsoft, put an hardcoded 'ten minutes' delay, really there's no knob to simply disable or make it long?! Even the cited 'MaxGPOScriptWait' that seems to have exactly 10 minutes timeout as default? Someone have tried to install WPKGClient, put MaxGPOScriptWait=0 and give it a try? Second question: AFAIK, WPKGClient use the ''service'' because in XP there's no shutdown and startup scripts, so start of the service are considered ''startup'' and stop of the service ''shutdown''. But also, that wpkg and the ''display helper'' WPKGMessage communicate with a simply method: probably WPKGClient redirect stdout to a pipe, or instruct wpkg.js to write to a pipe, and WPKGMessage read them. It is possible, with a simple shutdown script, to run WPKGMessage and wpkg.js and ''connect'' them? Some minor question arise, specifically to Daniel: + you propose to create a secure user account wpkguser: ok, it is better, but is needed?! Eg, logoff script cannot access to shares in 'guest access' mode? + you modify some parameters, via (L)GPO or registry: you have some reference documentation/mapping/... about equivalence of GPO and registry? Eg, you have catched by trial and error or found some reference? Thanks to all. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] WPKG on Windows 7
I mimic Rainer email of august about win8, becuse i'm still on XP and i've to start, and quickly, to plan a migration to seven. I've acquired a good confidence with WPKG on XP 32 bit, and have waited so long permit me at least to move from XP 32bit to seven 64 bit, with no grey/mixed areas, so with some simplification. Anyway, i have many doubt, and i hope that someone can at least point me to the right direction. First doubt is about the ''client'': AFAI've understood: + WPKG Client work well on startup and shutdown on seven, but there's no way to have notification messages. + WPKG-GP have notification messages, but only on startup (and my experience say me that doing installation on startup is a pain). So i'm thinking to keep WPKG Client, loosing shutdown message, at least for now. Second doubt is about not ''WPKG'' per se, but generally the ''ecosystem''. I try to explain me better. I don't use AD, i've a ''pure'' NT-like setup with samba. On XP, i use: + WPKG for deploy + WPKG for system wide configuration (via directly patching the registry) + ya olde policy (eg, ntconfig.pol on netlogon share) for user based configuration; now i impose only a limit on roaming profile size and i setup some folder redirection. Ok, reading around seems that old policy are not more useable on vista and better (allelujah! ;), but seems to me that also there's no way to obtain the same ''feature'' directly patching the registry, nor the Local GPO seems to have the ''power'' to modify some aspect, like roaming profile size and folder redirection (ignoring the fact that copying around the LGPO seems not a so simple task). Someone have at least some hints on that? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] [consult...@kaply.com: [Mozilla Enterprise] MAJOR Change Setting Default Preferences for Firefox 14]
From Mozilla Enterprise mailing lists. I've not tested (i'm still on 10ESR), but... FYI. - Forwarded message from Kaply Consulting consult...@kaply.com - Date: Thu, 02 Aug 2012 13:07:03 -0500 From: Kaply Consulting consult...@kaply.com To: enterpr...@mozilla.org Subject: [Mozilla Enterprise] MAJOR Change Setting Default Preferences for Firefox 14 X-Spam-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,GREYLIST_ISWHITE autolearn=ham version=3.2.5 In case people didn't see this on my blog: If you are running into problems with Firefox 14 not honoring values in you set the default preferences, it's because Firefox preference files have moved from defaults/pref to defaults/preferences and your files have to move as well. (See bug 779437.) Apparently custom changes to the default preferences were supposed to be there all along, but no one actually knew that (not even Firefox). So when you are creating JS files for your autoconfig settings or to set the various add-on scopes values, make sure they are in defaults/preferences. (You'll have to create this directory.) Note that this method works fine on Firefox 10 as well. I'll be updating all my posts as I have time. On a separate note, the CCK is broke on Firefox 14 - it's not creating bookmarks properly. I've tracked the problem down to a Places change, but at this point I am unable to work around it. I've contacted the developer that made the change that broke me, but I haven't heard back. Hopefully he'll be able to point me in the right direction. I can't stress this enough. PLEASE test on Aurora and Beta if you have the bandwidth to do so. These Firefox 14 issuse should not have been found after Firefox 14 was released. And yes, I'll admit that I've been failing in my testing as well, but to be blunt, I'm not paid for any of the time I spend on enterprise, so it's not one of my top priorities. -- Mike Kaply Kaply Consulting (http://consulting.kaply.com) http://mike.kaply.com | http://www.linkedin.com/in/mkaply | http://twitter.com/MikeKaply ___ Enterprise mailing list enterpr...@mozilla.org https://mail.mozilla.org/listinfo/enterprise To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise or send an email to enterprise-requ...@mozilla.org with a subject of unsubscribe - End forwarded message - -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Remote site repositories
Mandi! Rainer Meier In chel di` si favelave... If you are fine with hard-wiring a client-server association, then I've remember, some past thread, that probably are well suited for the wiki... We have just discussed that probably the best way to lock a client to a ''server'' is to use machine auth, but that works only for WPKGClient (AFAIK) and with a ''pure'' MS AD, does not work in a Samba domain. If network 192.168.1.0/24 then SOFTWARE=\\192.168.1.x\wpkg\software If network 192.168.2.0/24 then SOFTWARE=\\192.168.2.x\\wpkg\software I'm a bit curious. How do you check network address with cmd? I've googled around a bit, but... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Remote site repositories
Mandi! Donny Brooks In chel di` si favelave... We are currently running our wpkg setup with just one central repository or software store. However we have samba home servers for all of our individual sections, some of which are remote offices. These remote offices internet connection back to us is via a T1 and can get backlogged easily. I am looking into a way to enable the users at these locations to be able to pull packages from a share on their local server rather than pull across the T1 ad be figthing with all of our other users also. I still want to keep the configs and base wpkg centralized so as to make administration easier. I could use rsync and cron to keep the remote packages up to date also. My issue is how to implement this? Would I simply change the individual people's profile.xml SOFTWARE variable to point to the share on their local server? Thanks in advance for an input. I use this setup. I manage 10-15 WPKG ''server'', all recipe (packages) base are kept in sync using csync2, while profile and hosts setup are local. Every installation have a different client config file (i use wpkg client, so settings.xml) that point to the right software repository, that i keep in sync with unison. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Remote site repositories
Mandi! Donny Brooks In chel di` si favelave... Thanks for that. So if I read correctly you actually have separate servers for each location? Meaning you have each locations wpkg client software pointing to their local server rather than a centralized one? Then you just make changes to the central settings.xml and it propogates to the other servers? Really, i've a centralized recipe (package/*.xml) database, while i have local hosts/profile management to handle some local differences. So i keep in sync package/*.xml and %SOFTWARE%, and handle the rest locally. [but it is my setup, every ''level'' of local/sync setup are possible] -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] [OT] i hate script in cmd... ;(((
Mandi! Malte Starostik In chel di` si favelave... I'm really just guessing, but looking at your script I see you're using find. I've *never* got find/findstr to work from within scripts launched by wpkg, I assume it's somehow very pickety about its standard file handles and barfs on the pipes WSH gives it. Ok, now there's no time, but... i will learn WSH/WBEM. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] [OT] i hate script in cmd... ;(((
Mandi! k2 In chel di` si favelave... Have you tried to add %ComSpec% /c in front of main command? Yess, nothing changed. Could you show the package xml with cmd= ? Of course. package id=sudowin-settings name=Sudo for Windows settings revision=20120214:2 reboot=false priority=5 depends package-id=sudowin / check type=logical condition=and check type=logical condition=or check type=logical condition=not check type=file condition=exists path='%WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.xml' / /check check type=file condition=datemodifyequalto path=%WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.xml value=@%ProgramFiles%\Sudowin\Server\sudoers.xml / /check check type=file condition=datemodifyequalto path=%WPKGROOT%\packages\sudowin\sudoers-%DOMAIN%.xml value=@%ProgramFiles%\Sudowin\Server\sudoers.xml / check type=logical condition=or check type=logical condition=not check type=file condition=exists path='%WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.grp' / /check check type=logical condition=and check type=file condition=datemodifyolderthan path=%WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.grp value=@%SystemRoot%\system32\wpkg.old / check type=execute path='%WPKGROOT%\tools\setlgrp.bat check \%WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.grp\ %DOMAIN%' condition=exitcodeequalto value=0 / /check /check check type=execute path='%WPKGROOT%\tools\setlgrp.bat check \%WPKGROOT%\packages\sudowin\sudoers-%DOMAIN%.grp\ %DOMAIN%' condition=exitcodeequalto value=0 / /check install cmd='%WPKGROOT%\tools\setlgrp.bat add \%WPKGROOT%\packages\sudowin\sudoers-%DOMAIN%.grp\ %DOMAIN%' / install cmd='%COMSPEC% /c if exist %WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.grp %WPKGROOT%\tools\setlgrp.bat add \%WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.grp\ %DOMAIN%' / install cmd='%COMSPEC% /c copy /y %WPKGROOT%\packages\sudowin\sudoers-%DOMAIN%.xml %ProgramFiles%\Sudowin\Server\sudoers.xml' / install cmd='%COMSPEC% /c if exist %WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.xml copy /y %WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.xml %ProgramFiles%\Sudowin\Server\sudoers.xml' / upgrade include=install / downgrade include=upgrade / remove cmd='%COMSPEC% /c if exist %WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.grp %WPKGROOT%\tools\setlgrp.bat delete \%WPKGROOT%\packages\sudowin\sudoers-%COMPUTERNAME%.grp\ %DOMAIN%' / remove cmd='%WPKGROOT%\tools\setlgrp.bat delete \%WPKGROOT%\packages\sudowin\sudoers-%DOMAIN%.grp\ %DOMAIN%' / remove cmd='%COMSPEC% /c del /f /q %ProgramFiles%\Sudowin\Server\sudoers.xml' / /package Rather complex. The rationale of these stuff are that there's at least a per-domain configuration, but can be ''enhanced'' by an per-host configuration. On which system did you try your script? Is it Seven? Is UAC active? Ops, sorry, no. win xp sp3. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] [OT] i hate script in cmd... ;(((
I've wrote down a script/helper to add me in the task of adding some domain group to some local group, wrapping around 'net localgroup'. Script attached. The script, on console, from SYSTEM user (the same that run wpkg) seems to work well: check, add and remove membership correctly. Used inside wpkg recipe (on action and check condition) behave strangely. Look at this. From wpkg log: 2012-02-14 18:10:55, DEBUG : Executing command: '\\FILE\wpkg\tools\setlgrp.bat check \\\FILE\wpkg\packages\sudowin\sudoers-SANVITO.grp\ SANVITO'. 2012-02-14 18:10:56, DEBUG : Execute check for program '\\FILE\wpkg\tools\setlgrp.bat check \\\FILE\wpkg\packages\sudowin\sudoers-SANVITO.grp\ SANVITO' returned '0'. Evaluating condition 'exitcodeequalto' revealed true when comparing to expected value of '0'. from console: C:\WINDOWS\system32\\FILE\wpkg\tools\setlgrp.bat check \\\FILE\wpkg\packages\sudowin\sudoers-SANVITO.grp\ SANVITO C:\WINDOWS\system32echo %ERRORLEVEL% 1 C:\WINDOWS\system32 indeed the right answer is '1', because i've removed the membership manually to test check condition. Someone can help me? PS: anothe little mystere came from escaping... if i run: \\FILE\wpkg\tools\setlgrp.bat check \\FILE\wpkg\packages\sudowin\sudoers-SANVITO.grp SANVITO return strange errors, i have to escape the ... boh... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bont�, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) @ECHO OFF :: :: Script che si preoccupa di modificare le appartenenze ai gruppi locali, :: usando 'net setlocalgroup'. :: Riceve come input la modalità (check, add, delete), il nome del file :: contenente le appartenenze (una per riga), nella forma: :: gruppo localepuntoevirgolagruppo o utente di dominio :: e il nome del dominio. :: :: CHANGELOG :: (Wed Jan 25 18:22:04 CET 2012) :: + prima versione :: Un po' di verifiche... :: if %2 == ( goto exit1 ) if not exist %2 ( goto exit1 ) if %3 == ( goto exit1 ) :: modo verifica :: if %1 == check ( for /f tokens=1,2 delims=; %%a in (%2) do ( rem echo net localgroup %%a pipe find /i %3\%%b net localgroup %%a | find /i %3\%%b nul if ERRORLEVEL 2 goto exit1 if ERRORLEVEL 1 ( goto exit1 ) ) goto exit0 ) :: modo add :: if %1 == add ( for /f tokens=1,2 delims=; %%a in (%2) do ( rem echo net localgroup %%a pipe find /i %3\%%b net localgroup %%a | find /i %3\%%b nul if ERRORLEVEL 2 goto exit1 if ERRORLEVEL 1 ( net localgroup %%a %3\%%b /add nul if ERRORLEVEL 1 ( goto exit1 ) ) ) goto exit0 ) :: modo delete :: Purtroppo il controllo su ERRORLEVEL funziona in modo ''maggiore :: o uguale di'', e non si può usare %ERRORLEVEL% perchè una volta :: istanziata fa casino. Si veda: :: http://support.microsoft.com/kb/39585/it :: http://blogs.msdn.com/b/oldnewthing/archive/2008/09/26/8965755.aspx :: if %1 == delete ( for /f tokens=1,2 delims=; %%a in (%2) do ( rem echo net localgroup %%a pipe find /i %3\%%b net localgroup %%a | find /i %3\%%b nul if ERRORLEVEL 2 goto exit1 if ERRORLEVEL 1 ( echo. nul ) else ( if ERRORLEVEL 0 ( rem echo net localgroup %%a %3\%%b /delete net localgroup %%a %3\%%b /delete nul if ERRORLEVEL 1 ( goto exit1 ) ) ) ) goto exit0 ) :: se il parametro è errato, lascio correre ed esco male :: :: Molto semplicemente... esco male :: :exit1 ::echo falso exit /b 1 :: Molto semplicemente... esco bene :: :exit0 ::echo vero exit /b 0
Re: [wpkg-users] Big Problem with a deployment (LibO)
Mandi! Cedric Frayssinet In chel di` si favelave... I know that but there is a password... And no command-line to stop or kill the process... But maybe you know how to make ? ...consider also the option to ''whitelist'' the wpkg.js scripts (and/or related scripts/services) in the AV configuration. I used Symantec Corporate Edition, now use Kaspersky, but both have that feature. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Mbrola silent install
Mandi! Stefan Pendl In chel di` si favelave... I don't think there is a better way, if the installer waits for the browser to terminate. There's ever a better way. ;-) Reading deeper the espeak docs, lead to me that the only things needed is the 'mbrola.dll' file. ;) Freemake spawns a browser too, but that gets automatically terminated when WPKG is executed at shutdown. I've tried that. No, stalled on shutdown. ;( -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Mbrola silent install
I've prepared a recipe for espeak (libre SAPI5 voices), but the italian voices are very ''mr. robota''. Looking around i've found that espeak can use mbrola (http://tcts.fpms.ac.be/synthesis/, free as in beer), that provide much better voices. So i've prepared a recipe to install mbrola, but the installer in silent mode spawn at the end a browser run, so stalls waiting the user to terminate it. I've tried many 'task' and InnoSetup switches, and even saving an .inf file and the run them, but there's no way: in silent mode the browser are spawned. There's something that i can do? I've thinked about adding a timeout, ignore exit status and then add a 'taskkill' against the browser. Better way? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] WPKG + Wireless Laptops
Mandi! Matthew Gyurgyik In chel di` si favelave... With a wireless laptop, will WPKG wait until the wireless connection come ups to attempt to contact the server? If not, when do updates get applied? On windows xpsp3 i use wireless machine authentication (so the network are setup before users login and after users logoff), and wpkg (with wpkgclient) works flawlessy. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Deploying a new settings.xml file
Mandi! chiddie In chel di` si favelave... Is there a way to deploy a new settings.xml file to the clients that overrides the old one? Sure! You can use: %ProgramFiles%\WPKG\wpkginst.exe --SETTINGSFILE=%WPKGROOT%\settings.xml i use a recipe like that: package id=wpkg-settings name=WPKG Settings revision=20120120:2 priority=5 reboot=false depends package-id=wpkg / check type=file condition=datemodifyolderthan path=%WPKGROOT%\settings.xml value=@%SystemRoot%\system32\wpkg.old / install cmd='%ProgramFiles%\WPKG\wpkginst.exe --SETTINGSFILE=%WPKGROOT%\settings.xml' / upgrade include=install / downgrade include=upgrade / /package Consider that settings are applied but used the next time wpkg run, so if you write recipe that depend on some settings.xml modification, take some precautions. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] multi-site / multi wpkg repo deployments for roaming laptops and notebooks
Mandi! Urs Rau (UK) In chel di` si favelave... The basic wish, need or requirement is / (or would be) to handle staff and equipment in branch offices. So that their desktops would all read from a local installation, but laptops would update themselves from either. So if they come for a weeks training or even a months sick cover their laptops and notebooks would still update using the companies wpkg setup. I've the same problem, and i've solved it (see later); i manage a ''central repository'' of WPKG recipe that i spread across a dozen of sites using csync2 (good compromise between a simple 'scp' and a full blown configuration manager like puppy). Every WPKG sites have, world is not perfect ;), some particularity, so the recipe base are identical but hosts list and profile lists differs; before this setup, some mobile users if forgot to unplug the ethernet cable before shutdown will get a bunch of uninstall/install tasks, then when come back in the ''home'' network, a bunch of install/uninstall. Absolutely boring. I think there's at least three method to solve that: 1) create a user dedicated to access wpkg shares, using different users (and/or passwords) in different networks, so simply a client cannot connet to a stranger network. Pro: + simple and effective + better security (wpkg shares can be accessible only by that user(s) and administrators Coons: + you have to manage that credentials + bootstrap of a wpkg client is a bit more complex 2) (i think the better) if you have an AD domain, use ''machine account'' authentication and let wpkg shares accessible only by machine accounts and administrators. Pro: + as above + you don't have to manage more accounts Coons: + does not work in samba/nt domains + works only if all machine are joined to the domain + clearly doesn't solve your problem if the domain are the same across branch offices. ;-) 3) (what i use) setup a variable in wpkgClient/wpkg-gp configuration and check on pre/post script; if differs, exit. Pro: + extremly simple and effective + easy bootstrap Coons: + no security Pratically, i've on wpkgClient 'settings.xml': script-variable name=LOCALNETsv/script-variable pre-action\\FILE\wpkg\wpkg-before.bat/pre-action and on \\FILE\wpkg\wpkg-before.bat: if not %LOCALNET% == sv ( exit 1 ) 'wpkg-before.bat' are a server-side script, so effectively this identify if client match the ''server''. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Pipe trouble...
Mandi! Stefan Pendl In chel di` si favelave... If you use any kind of redirection (, , |, etc.) you need to use the command prompt too. Perfect, now works. Thanks. ;) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Pipe trouble...
I've tried to use pipes in check condition. I've tried ''plain'': check type=execute path='net localgroup Sudoers | find /i %DOMAIN%\ced' condition=exitcodeequalto value=0 / or xml-escaped: check type=execute path='net localgroup Sudoers #124; find /i %DOMAIN%\ced' condition=exitcodeequalto value=0 / but both give: 2012-01-24 18:18:56, DEBUG : Executing command: 'net localgroup Sudoers \| find /i SANVITO\ced'. 2012-01-24 18:18:56, DEBUG : Execute check for program 'net localgroup Sudoers \| find /i SANVITO\ced' returned '1'. Evaluating condition 'exitcodeequalto' revealed false when comparing to expected value of '0'. 2012-01-24 18:18:56, DEBUG : Result of logical 'AND' check is false. 2012-01-24 18:18:56, ERROR : Could not process (upgrade) Sudo for Windows settings.|Failed checking after installation. so seems that '|' are ever escaped. What i'm doing wrong? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] How to execute something weekly or monthly?
Mandi! Stefan Pendl In chel di` si favelave... I see some problems with this approach: You're right, effectively after doing some test i realize that i was wrong... simply because newer wpkg update the wpkg.xml file at every step, not at the end. I've simply added, in wpkg client pre execution: if exist %SystemRoot%\system32\wpkg.xml ( copy /y %SystemRoot%\system32\wpkg.xml %SystemRoot%\system32\wpkg.old nul ) and now i check '%SystemRoot%\system32\wpkg.old'. This is not really a ''safe'' method, but can be useful in some case. EG, i've prepared a recipe to install bacula file daemon client, that i don't use extensively but only on some client; a second recipe, if there's a server side .conf file, activate bacula and configure it. With a check like that, i can add a client (or modify the configuration file) and have the second recipe do the upgrade. Because normaly i do that not massively but on that pc, i can check if works (really, i can do it manually, but using wpkg are very cosy! ;). If i have some doubt, or i have to propagate some very important update, i can upgrade revision and have a forced installation. Rougly: because i copy wpkg.xml to wpkg.old *before* wpkg.js run, if some configuration file have a modification date newer then wpkg.old, it is really a new file and have to be ''upgraded''. It is not true the opposite: but as stated, if really i need to propagate some config options, i can update the revision. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Get local domain name
I've to add some users/group to a local user/group in windows xp sp3. I've tried to use: net localgroup Unlock ced /add /domain but does not work (user SYSTEM): C:\WINDOWS\system32net localgroup Unlock ced /add /domain La richiesta verrà elaborata dal controller di dominio per il dominio SANVITO. (the request will be processed by domain controller SANVITO) Errore di sistema 5. (system error 5) Accesso negato. (access denied) If i run not using /domain (switch that, as docs stated, mean «choose the group belonging to the primary domain», but instead explicitly set domain: net localgroup Unlock SANVITO\ced /add works. I've googled around and a proposed method to know local domain are: systeminfo | findstr /B /C:”Domain” but a little overkilled and os-language dependent. There's a better way? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] [OT] Better screensaver for a multiuser environment
Sorry, but one of the things i hate of windows client os is the absence of a true mltiuser access, that i need sometimes. I've finally found: http://www.paralint.com/projects/aucun/index.html Clearly cannot add multiuser to windows, but at least permit users to logoff their collegues, if needed, in some case. Now, i've to write a recipe... ;-))) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] TB as default mail client, helper.exe way...
[XP sp3 32 bit] I've found that the wpkg wiki proposed way of making FF the default application, so: %ProgramFiles%\Mozilla Firefox\uninstall\helper.exe /SetAsDefaultAppGlobal works also for TB: %ProgramFiles%\Mozilla Thunderbird\uninstall\helper.exe /SetAsDefaultAppGlobal If i run on a command shell, from the same user that run WPKG (SYSTEM), i get no warning at all, do what expected and %ERRORLEVEL% are 0. If i run from WPKG, seems to do what expected but return error 2. I've mapped error 2 to a good exit status, but someone have at least a clue for that? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] TB as default mail client, helper.exe way...
Mandi! chiddie In chel di` si favelave... I solved in a different way. I used 'till yesterday the registry way, but i prefer using the commandline (no more complex recipe, less files .reg to handle). Ok, i simply consider exit status 2 as good. ;-) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Copy directories and files with WPKG
Mandi! Jurij M. In chel di` si favelave... I have a problem when trying to deploy some old windows software (made for Win 98)with WPKG. All it is needed is to copy a folder with files ad subfolders from shared folder to local computer and put a shortcut to public desktop. I tried with xcopy and robocopy. Both are working fine from local computer, but not with WPKG. Normally i solve these issue creating a zip file with the correct folder structure and then unzip it on the target computer with correct option to recreate the folder structure. Of course, substitute 'zip' with your preferred format/tool. ;-) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Package still installed...
Mandi! Rainer Meier In chel di` si favelave... Very likely the uninstall is not really working properly. I can confirm. Most of NSIS installers suffer from this trouble. Some upgrade flawlessy (so it is not a NSIS problem). Some other trigger a disinstallation of previous version and an installation of the newer ones, while the disinstallation suffer from the classical ''fork'' problem of NSIS. Symptoms are that WPKG say ''check failed after upgrade'' but software are correctly installed (because the installation continue in background, and normally works). Normally i solve that situation doing, on upgrade, a disinstallation of the previous one in a start /wait jail (with or without the _? option, it depends), and then an installation. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] WSH compiler?
[totally unrelated to WSH-compressor thread...] Firtly, happy new year to all the list! ;) We have a box (win xp) where a strange software (that clearly i cannot upgrade and i've to use, it is related to acquiring and managing images from an electromedical devices...) corrupt the WSH interpreter. The problem are there from years, but these time we have the time to reinstall the software and prove that. I've tried to reinstall WSH (after the installation of the image manipulation software), but the installer reply me that it is just installed and refuse me to continue. There's an WSH compiler compatible with WPKG? Or there's a way to run wpkg in a ''local contained'' wsh interpreter to circumvent this problem? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Strange behavior of WPKG Client
Mandi! chiddie In chel di` si favelave... Sorry, i don't understand what some connection from another user by these machines to that share. means :( Ahem, probably my bad english... chiaramente se vuoi si passa alla madrelingua, in privato. ;) Windows support only one ''authentication session'' between server and client; so if you have, eg, a printer connected to that server, using to authenticate user 'joe', you cannot use a share with other users, even the guest user (and clearly, viceversa). [Samba have bult 'aliases', so for example i've setup 'FILE' aliases to mount shares, 'CUPS' aliases to connect printers, ...] So before get tired, verify that symply you don't have other connection active. As for the second option: why the av? I mean, the share is accessible by the XP machines, and the Windows 7 machines that succeed in executing the startup script have the same antivirus, configured in the same way. It was only an option; my av solution (Kaspersky) one day start hitting all WPKG ''scripts'' (wpkg.js, pre and post scripts) as malware, so i've had to explicitly whitelist them. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Strange behavior of WPKG Client
Mandi! chiddie In chel di` si favelave... I understand this is probably a Windows issue, since the error is generated regardless the type of script, i only wanted to know if you may have a clue or not. I bet on the same issue you faced some days ago: there's just some connection from another user by these machines to that share. Second option: the antivirus? -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] NTP time synchronisation
Mandi! Anthony Walters In chel di` si favelave... Does anyone else use WPKG to dish out NTP time configuration settings, and care to put your package up here? I want to get a configuration nailed down and am wondering if i have missed something. I use: package id=ntp-settings name=ntp client configuration revision=20110517:1 reboot=false priority=5 check type=registry condition=equals path=HKLM\System\CurrentControlSet\Services\W32Time\Start value=2 / install cmd=sc config w32time start= auto / install cmd=regedit /s %WPKGROOT%\packages\time-%LOCALNET%.reg / install cmd=net time /setsntp:time.%LOCALNET%.lnf.it / install cmd=net stop w32time / install cmd=net start w32time / install cmd=w32tm /resync /nowait / upgrade cmd=sc config w32time start= auto / upgrade cmd=regedit /s %WPKGROOT%\packages\time-%LOCALNET%.reg / upgrade cmd=net time /setsntp:time.%LOCALNET%.lnf.it / upgrade cmd=net stop w32time / upgrade cmd=net start w32time / upgrade cmd=w32tm /resync /nowait / remove cmd=sc config w32time start= demand / remove cmd=net stop w32time / /package Where the .reg file contains: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers] @=0 1=time.windows.com 2=time.nist.gov 0=time.sv.lnf.it Because i was never be able to set the list of ntp server using /setsntp or, like your example, /manualpeerlist. AFAIK, /setsntp works but the server have just to be present in the list. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] net use exit code 2
Mandi! Andrea Zagli In chel di` si favelave... what could be the problem? In windows (i don't remember if it is a client or a server/protocol limitation...) you cannot connect the same resource with two user (even the ''guest access'' one). So check if simply you still have a connection to the share with a local user (administrator?), and try to connect with another user (SYSTEM?) that run wpkg. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Oracle JInitiator
Summary: 1) from my user, works 2) from SYSTEM user obtained as above, does not work (seems there's no way to ''grab'' windows) 3) from SYSTEM user by the way of WPKG (started manually inside the shell as 2), works. Addendum: 4) from SYSTEM user by the way of WPKG, executed by WPKG Client on shutdown, does not work. I'm really curious... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] [Bug 241] New: add clarification to the NSIS template
Attached is a patch to add clarification of the remove procedure for the NSIS package template. Non every NSIS package need that, indeed. My experience say that: 1) some simply works 2) some suffices a start /wait 3) some need start /wait *AND* the explicitation of the installed dir, that prevent forking; eg, for vlc: %COMSPEC% /c start /wait %ProgramFiles%\VideoLAN\VLC\uninstall.exe /S _?=%ProgramFiles%\VideoLAN\VLC i think a better way to solve this issue. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Oracle JInitiator
Mandi! clei...@gmail.com In chel di` si favelave... It works, the windows are shown on a desktop that is not visible. The downside is that installers showing dialog boxes, expecting input, will halt WPKG execution, but there is no way to click on the dialog box. The upside is that scripts simulating input does work though :) I reply, to make a (public) excuse to all folks that (on private( reply me on this OT thread. I reply here also because i return in topic. ;) I do many of my test on a SYSTEM shell obteined running: at XY:ZW /interactive cmd.exe and so i've tested the autoit script here; reading this post light me something, so i've tried as my user and autoit script works. The strange thing (for me, at least) is that from wpkg works. Summary: 1) from my user, works 2) from SYSTEM user obtained as above, does not work (seems there's no way to ''grab'' windows) 3) from SYSTEM user by the way of WPKG (started manually inside the shell as 2), works. Someone can explain me? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Oracle JInitiator
This is the first is/pftw installer that i run, so... someone can help me? Thanks. Mark Cooke send me (in private, thanks!) an AutoIt! script, was my first impact with AutoIt and i was really frustrated... Seems that the jinit version it is not the same: the Mark's script does not work, and my window popup with no title at all; i've tried to match someway (using widow match mode 4 and classes) but i've no found a way. For example the mark script have: WinWait(Oracle JInitiator, This will remove Oracle JInitiator from your computer.) SendKeepActive(Oracle JInitiator, This will remove Oracle JInitiator from your computer.); Send(!y) but to match a dialog as mine (screenshot attached) i've tried also some think like that: WinWait([TITLE:; CLASS:Dialog], ) SendKeepActive([TITLE:; CLASS:Dialog]) Send(!s) with no clue. How can i match my window? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) attachment: one.JPG- 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] Oracle JInitiator
Mandi! clei...@gmail.com In chel di` si favelave... Hi, although this fits best on the AutoIt forum, try Ahem, ... WinWait() Send(!s) No, for example if i run the script from a terminal, i got an 's' typed on the terminal itself. For now i've setup a low timeout='' value on the uninstall stanza, but these are the things that drive me crazy... ;((( If someone other want to try: http://www.insiel.it/reposit/Sistema%20-%20Utility/jinit13126.exe -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Oracle JInitiator
I have to install the package in subject, that seems a ''customized'' version of jre; i've to install it, i just install jre6 but the (old/broken/...) application i've to run need jinit. The package (version 1.3.1.26) seems a Installshield/PackagefortheWeb, so i install with '/s /a /s /sms', but i've not found a way to remove silently. This is the first is/pftw installer that i run, so... someone can help me? Thanks. PS: if someone would test, http://www.insiel.it/reposit/Sistema%20-%20Utility/jinit13126.exe -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] [Bug 184] Add an inherit attribute to package actions
Mandi! bugzilla-dae...@bugzilla.wpkg.org In chel di` si favelave... Only a little note for the changelog: upgrade include=include / This is a typo. ;) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Again, hashes and download...
Mandi! Rainer Meier In chel di` si favelave... by WPKG. However feel free to add it to any of your XML files, WPKG will simply ignore it. Ah. The power of XML. ;-) Thanks. ;) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Again, hashes and download...
Seeems a release are coming. ;-) Rainer, i've seens your download script. But, because you have just added to download / the 'expandURL' attribute, can you simply add also the atribute 'hash' (or whatever you like...)?! I'm not asking to implement it in WPKG.js, only to add the attribute. Thanks. ;) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Firefox homepage question
Mandi! Peter Gough In chel di` si favelave... Any ideas whether what I'm trying to do is possible? Yes: Pref: set the value at every startup, user can alter them lockPref: set the value, user cannot modify defaultPref: set the value until user change them Probably yyou need defaultPref ;) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] WPKG over multiple sites using local storage
Mandi! Dave Goodbourn In chel di` si favelave... I'm looking at how's best to setup multiple WAN locations with our WPKG server. We currently have a WPKG server in London and are setting up an office in Europe. The two sites will be VPN'd together fine and the WPKG server will work ...but london is in europe. O;-) fine over the WAN, but is there a way to ease the file transfer by having another server in the second office just to store the files/software to update to reduce the amount of traffic between the two offices? Kind of like a proxy server in the second office but using the same WPKG server and database as in London. I manage half a dozen of ''wpkg'' sites; they are not perfectly identical, so i propagate the wpkg ''recipes'' using csync2 (http://oss.linbit.com/csync2/) and the installer repository with a mix of unison (http://www.cis.upenn.edu/~bcpierce/unison/) or using the 'download /' tag inside the recipes. All glued together using WPKG variables, but also the ability of samba to ''aliases'' a server name, so \\FILE\wpkg and \\MEDIA\software are always the wpkg installation and the installers repository. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Host match disruptive changes in 1.2?
Mandi! Rainer Meier In chel di` si favelave... I hope this will not have any unwanted side-effects. Test and feedback is appreciated. Quickly tested. Seems OK: --- wpkg-voldemort-1.1.2.log.1 2011-07-20 18:29:47.005159123 +0200 +++ wpkg-voldemort-1.2.1rc3.log.1 2011-07-20 18:29:58.035159127 +0200 @@ -1,11 +1,9 @@ DEBUG : Initialized temporary local log file: C:\WINDOWS\TEMP\wpkg-logInit.log DEBUG : Initializing new log file: C:\WINDOWS\TEMP\wpkg-voldemort.log DEBUG : Reboot-Cmd is standard. -DEBUG : WPKG 1.1.2 starting... +DEBUG : WPKG 1.2.1-RC3 starting... DEBUG : Base directory is '\\FILE\wpkg'. DEBUG : Log level is 255 -DEBUG : Trying to read XML file: \\FILE\wpkg\profiles.xml -DEBUG : Successfully loaded XML file: \\FILE\wpkg\profiles.xml DEBUG : Trying to read XML files from directory: \\FILE\wpkg\profiles DEBUG : Reading XML file: //FILE/wpkg/profiles/assistiti.xml DEBUG : Reading XML file: //FILE/wpkg/profiles/ced.xml @@ -18,8 +16,7 @@ DEBUG : Reading XML file: //FILE/wpkg/profiles/segreterie.xml DEBUG : Reading XML file: //FILE/wpkg/profiles/avserver.xml DEBUG : Reading XML file: //FILE/wpkg/profiles/wpkgtest.xml -DEBUG : Trying to read XML file: \\FILE\wpkg\hosts.xml -DEBUG : Successfully loaded XML file: \\FILE\wpkg\hosts.xml +DEBUG : Reading XML file: //FILE/wpkg/profiles.xml DEBUG : Trying to read XML files from directory: \\FILE\wpkg\hosts DEBUG : Reading XML file: //FILE/wpkg/hosts/assistiti.xml DEBUG : Reading XML file: //FILE/wpkg/hosts/ced.xml @@ -33,8 +30,7 @@ DEBUG : Reading XML file: //FILE/wpkg/hosts/avserver.xml DEBUG : Reading XML file: //FILE/wpkg/hosts/wpkgtest.xml DEBUG : Reading XML file: //FILE/wpkg/hosts/multipli.xml -DEBUG : Trying to read XML file: \\FILE\wpkg\packages.xml -DEBUG : Successfully loaded XML file: \\FILE\wpkg\packages.xml +DEBUG : Reading XML file: //FILE/wpkg/hosts.xml DEBUG : Trying to read XML files from directory: \\FILE\wpkg\packages DEBUG : Reading XML file: //FILE/wpkg/packages/kb979682.xml DEBUG : Reading XML file: //FILE/wpkg/packages/qmc.xml @@ -132,10 +128,19 @@ DEBUG : Reading XML file: //FILE/wpkg/packages/inkscape.xml DEBUG : Reading XML file: //FILE/wpkg/packages/openclipart.xml DEBUG : Reading XML file: //FILE/wpkg/packages/xming.xml +DEBUG : Reading XML file: //FILE/wpkg/packages.xml +DEBUG : Found network service: {6703392F-0C4E-44B4-AE97-24BAB72D9374} +DEBUG : Reading DHCP address. +DEBUG : Found DHCP address: 10.5.2.240 +DEBUG : Host operating system: microsoft windows xp professional, , sp3, 5.1.2600 +DEBUG : Domain Name: sanvito +DEBUG : Found computer group: Domain Computers +DEBUG : Found system locale: 410 +DEBUG : Host properties: hostname='voldemort'|architecture='x86'|os='microsoft windows xp professional, , sp3, 5.1.2600'|ipaddresses='10.5.2.240'|domain name='sanvito'|groups='Domain Computers'|lcid='410' +DEBUG : Single-match mode. Host match finished. DEBUG : Profiles applying to the current host:|ced| DEBUG : Reading settings file: C:\WINDOWS\system32\wpkg.xml -DEBUG : Trying to read XML file: C:\WINDOWS\system32\wpkg.xml -DEBUG : Successfully loaded XML file: C:\WINDOWS\system32\wpkg.xml +DEBUG : Reading XML file: C:/WINDOWS/system32/wpkg.xml DEBUG : Saving current environment DEBUG : Getting profiles which apply to this node. DEBUG : Applying profile: ced [...] No one package added/removed/... exactly as in 1.1.2. Waiting for the final 1.2.1 release. ;-) Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Host match disruptive changes in 1.2?
Really i've not understood the new ''host matching'' schema, or i'm missing something, but something big. I've switched to wpkg.js 1.2, and at the fist run on a test machine: 2011-07-19 11:54:26, DEBUG : Initialized temporary local log file: C:\WINDOWS\TEMP\wpkg-logInit.log 2011-07-19 11:54:26, DEBUG : Initializing new log file: C:\WINDOWS\TEMP\wpkg-voldemort.log 2011-07-19 11:54:26, DEBUG : Reboot-Cmd is standard. 2011-07-19 11:54:26, DEBUG : WPKG 1.2 starting... 2011-07-19 11:54:26, DEBUG : Base directory is '\\FILE\wpkg'. 2011-07-19 11:54:26, DEBUG : Log level is 255 2011-07-19 11:54:26, DEBUG : Trying to read XML file: \\FILE\wpkg\profiles.xml 2011-07-19 11:54:26, DEBUG : Successfully loaded XML file: \\FILE\wpkg\profiles.xml 2011-07-19 11:54:26, DEBUG : Trying to read XML files from directory: \\FILE\wpkg\profiles [...] 2011-07-19 11:54:27, DEBUG : Reading XML file: //FILE/wpkg/profiles/ced.xml [...] 2011-07-19 11:54:27, DEBUG : Trying to read XML file: \\FILE\wpkg\hosts.xml 2011-07-19 11:54:27, DEBUG : Successfully loaded XML file: \\FILE\wpkg\hosts.xml 2011-07-19 11:54:27, DEBUG : Trying to read XML files from directory: \\FILE\wpkg\hosts [...] 2011-07-19 11:54:27, DEBUG : Reading XML file: //FILE/wpkg/hosts/ced.xml [...] 2011-07-19 11:54:27, DEBUG : Trying to read XML file: \\FILE\wpkg\packages.xml 2011-07-19 11:54:27, DEBUG : Successfully loaded XML file: \\FILE\wpkg\packages.xml 2011-07-19 11:54:27, DEBUG : Trying to read XML files from directory: \\FILE\wpkg\packages 2011-07-19 11:54:27, DEBUG : Reading XML file: //FILE/wpkg/packages/kb979682.xml 2011-07-19 11:54:27, DEBUG : Reading XML file: //FILE/wpkg/packages/qmc.xml 2011-07-19 11:54:27, DEBUG : Reading XML file: //FILE/wpkg/packages/7zip.xml 2011-07-19 11:54:27, DEBUG : Reading XML file: //FILE/wpkg/packages/quicktime.xml 2011-07-19 11:54:27, DEBUG : Reading XML file: //FILE/wpkg/packages/reader.xml [...] 2011-07-19 11:54:34, DEBUG : Found network service: {6703392F-0C4E-44B4-AE97-24BAB72D9374} 2011-07-19 11:54:34, DEBUG : Reading DHCP address. 2011-07-19 11:54:34, DEBUG : Found DHCP address: 10.5.2.240 2011-07-19 11:54:34, DEBUG : Host operating system: microsoft windows xp professional, , sp3, 5.1.2600 2011-07-19 11:54:34, DEBUG : Domain Name: sanvito 2011-07-19 11:54:35, DEBUG : Found computer group: Domain Computers 2011-07-19 11:54:35, DEBUG : Found system locale: 410 2011-07-19 11:54:35, DEBUG : Host properties: hostname='voldemort'|architecture='x86'|os='microsoft windows xp professional, , sp3, 5.1.2600'|ipaddresses='10.5.2.240'|domain name='sanvito'|groups='Domain Computers'|lcid='410' 2011-07-19 11:54:35, DEBUG : Single-match mode. Host match finished. 2011-07-19 11:54:35, DEBUG : Profiles applying to the current host:|default| 2011-07-19 11:54:35, DEBUG : Reading settings file: C:\WINDOWS\system32\wpkg.xml 2011-07-19 11:54:35, DEBUG : Trying to read XML file: C:\WINDOWS\system32\wpkg.xml 2011-07-19 11:54:35, DEBUG : Successfully loaded XML file: C:\WINDOWS\system32\wpkg.xml 2011-07-19 11:54:35, DEBUG : Saving current environment 2011-07-19 11:54:35, DEBUG : Getting profiles which apply to this node. 2011-07-19 11:54:35, DEBUG : Applying profile: default 2011-07-19 11:54:35, DEBUG : Adding profile dependencies of profile 'default': 'base' 2011-07-19 11:54:35, DEBUG : Adding package with ID 'xptweaks-disable-csc' to profile packages. [...] computer voldemort (really, a virtual machine, on my linux box lily; yes, harry was my previous one ;) was on profile 'ced', but wpkg.js now match profile 'defult'. \\FILE\wpkg\hosts.xml contains: host name=.+ profile-id=default / while //FILE/wpkg/hosts/ced.xml contains: wpkg host name=voldemort profile-id=ced / host name=neobe profile-id=ced / /wpkg What happens?! I've seen 'applyMultiple' option, but: 1) why break ''retrocompatibility''?! 2) how can i assign a single profile (applyMultiple=false) while having a ''default'' assigned profile? Sorry, probably i've missed something. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Host match disruptive changes in 1.2?
Mandi! heiko.hel...@horiba.com In chel di` si favelave... subdirectory. In one RC, WPKG started to load hosts.xml first and the definitions in the hosts/ subdirectory after that. Could be an explanation. I've reverted immediately to 1.1.2, and the loga are now: 2011-07-19 13:01:51, DEBUG : Initialized temporary local log file: C:\WINDOWS\TEMP\wpkg-logInit.log 2011-07-19 13:01:51, DEBUG : Initializing new log file: C:\WINDOWS\TEMP\wpkg-voldemort.log 2011-07-19 13:01:51, DEBUG : Reboot-Cmd is standard. 2011-07-19 13:01:51, DEBUG : WPKG 1.1.2 starting... 2011-07-19 13:01:51, DEBUG : Base directory is '\\FILE\wpkg'. 2011-07-19 13:01:51, DEBUG : Log level is 255 2011-07-19 13:01:51, DEBUG : Trying to read XML file: \\FILE\wpkg\profiles.xml 2011-07-19 13:01:51, DEBUG : Successfully loaded XML file: \\FILE\wpkg\profiles.xml 2011-07-19 13:01:51, DEBUG : Trying to read XML files from directory: \\FILE\wpkg\profiles [...] 2011-07-19 13:01:51, DEBUG : Reading XML file: //FILE/wpkg/profiles/ced.xml [...] 2011-07-19 13:01:51, DEBUG : Trying to read XML file: \\FILE\wpkg\hosts.xml 2011-07-19 13:01:51, DEBUG : Successfully loaded XML file: \\FILE\wpkg\hosts.xml 2011-07-19 13:01:51, DEBUG : Trying to read XML files from directory: \\FILE\wpkg\hosts [...] 2011-07-19 13:01:51, DEBUG : Reading XML file: //FILE/wpkg/hosts/ced.xml [...] 2011-07-19 13:01:52, DEBUG : Trying to read XML file: \\FILE\wpkg\packages.xml 2011-07-19 13:01:52, DEBUG : Successfully loaded XML file: \\FILE\wpkg\packages.xml 2011-07-19 13:01:52, DEBUG : Trying to read XML files from directory: \\FILE\wpkg\packages 2011-07-19 13:01:52, DEBUG : Reading XML file: //FILE/wpkg/packages/kb979682.xml 2011-07-19 13:01:52, DEBUG : Reading XML file: //FILE/wpkg/packages/qmc.xml 2011-07-19 13:01:52, DEBUG : Reading XML file: //FILE/wpkg/packages/7zip.xml 2011-07-19 13:01:52, DEBUG : Reading XML file: //FILE/wpkg/packages/quicktime.xml 2011-07-19 13:01:52, DEBUG : Reading XML file: //FILE/wpkg/packages/reader.xml [...] 2011-07-19 13:02:06, DEBUG : Profiles applying to the current host:|ced| 2011-07-19 13:02:06, DEBUG : Reading settings file: C:\WINDOWS\system32\wpkg.xml 2011-07-19 13:02:06, DEBUG : Trying to read XML file: C:\WINDOWS\system32\wpkg.xml 2011-07-19 13:02:06, DEBUG : Successfully loaded XML file: C:\WINDOWS\system32\wpkg.xml 2011-07-19 13:02:06, DEBUG : Saving current environment 2011-07-19 13:02:06, DEBUG : Getting profiles which apply to this node. 2011-07-19 13:02:06, DEBUG : Applying profile: ced 2011-07-19 13:02:06, DEBUG : Adding profile dependencies of profile 'ced': 'default' 2011-07-19 13:02:06, DEBUG : Adding profile dependencies of profile 'default': 'base' [...] Looking at the LOG seems that both 1.2.0 and 1.1.2 load first hosts.xml and then hosts/*.xml, but seems also to me that 1.1.2 process hosts.xml last, and 1.2.0 first. The hosts/_last.xml solution indeed works and can be used, but i wait some feedback before implementing it. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Host match disruptive changes in 1.2?
Mandi! Rainer Meier In chel di` si favelave... Maybe I will not have time today; meanwhile you can still use 1.1.2 or use the work-around. Don't worry! Sorry for any inconvenience, Don't worry! Looking at previous mesage seems also that the ''guilty'' could be also the Microsoft XML toolkit... Many thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Replace xmlhttp download with curl/wget
Mandi! Rainer Meier In chel di` si favelave... So for me there would be only one compromise we could potentially think about: Ship WPKG with a download-helper script. I ''vote'' for this compromise. ;-) Really: someone insert the download / tag, so seems to me a bad idea to remove it. So: a) extend a little with a md5= and/or sha= tag, totally ignored by the internal WSH downloader b) extend a little wpkg.js to support an external downloader, as an option (so, default use the internal) c) build an (example) external download script; i can do some try on the last, but really i've little cmd.exe knowledge... [ Indeed, this have nothing to do with my ''server side download'' script, using the global /noDownlaod switch on wpkg.js. Clearly, also my script can be easily extended to use md5 hashes... ] Sure, and even when using commands to download files it could be globally disabled by simply supporting an environment variable NO_DOWNLOAD which makes the script to skip its task and exit with code 0 instead (or alternatively still verifying the checksums). But it is a little harder to ''look at'' download rules with and external (server side) script; so, please, keep the download tag... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Replace xmlhttp download with curl/wget
Mandi! Rainer Meier In chel di` si favelave... Is there a reason this could not be done using existing commands? [...] I agree that using a special download command flag would be possible too. I would then prefer to call a cmd script (included in wplkg distribution) with all required parameters like downloader.cmd URL target MD5 Probably my english are very bad, but i mean exactly that. So this script could handle download and verification as needed using any tool you like and any flags suitable for your environment (e.g. proxy flags). Never minded about proxies. Right. Well, still I am not sure where the advantage over using this script as one of the first commands would be. + WSH, as stated in this list, have poor performance and limited features when downloading + WSH, as stated again here, have no hash function, any hash algorithm have to be implemented in pure WSH or relay on an external script So seems reasonable to, optionally, relay on an external script; seems reasonable, because we can relay on an external script, to add the 'md5' field to download / tag, that the internal WSH downloaded ignore but can be passed, optionally, to the external script. You are right, we can just use existing install / and update / tags to do so, but the download / tag just exist, and i think is more cleaner to use it. [ Indeed, this have nothing to do with my ''server side download'' script, using the global /noDownlaod switch on wpkg.js. Clearly, also my script can be easily extended to use md5 hashes... ] -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Replace xmlhttp download with curl/wget
Mandi! Falko Trojahn In chel di` si favelave... So we can have predefined options for e.g. wget or curl in wpkg.js, while preserving the possibility to use another tool. ...eg, a script (cmd suffices?!) that also check the MD5 of the file, preventing wpkg tring to install ever an ever that corrupted installer. ;-) This clearly needs an hash= or md5= field in download / tag. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Replace xmlhttp download with curl/wget
Mandi! heiko.hel...@horiba.com In chel di` si favelave... Great idea! But this'll require another external tool, because hash calculation via WSH is a world of slow. I've speaked about a script exactly for that. It is trivial in a CMD script to execute firstly curl/wget to download files, check exit code and if '0', run 'md5 -c' as in: http://www.fourmilab.ch/md5/ and do and 'exit 0' if and only if both retun zero. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Strange 'null' package...
Mandi! Rainer Meier In chel di` si favelave... package profile-id=xptweaks-disable-csc / And here is the bug! Ouch! I've reread the profiles.xml file dozen of times, really a dumb mistake! Sorry... and thanks! ;) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Strange 'null' package...
In some newer installations wpkg say me: 2011-07-11 16:50:15, DEBUG : Getting profiles which apply to this node. 2011-07-11 16:50:15, DEBUG : Applying profile: default 2011-07-11 16:50:15, DEBUG : Adding profile dependencies of profile 'default': 'base' 2011-07-11 16:50:15, DEBUG : Adding package with ID 'null' to profile packages. 2011-07-11 16:50:15, ERROR : Database inconsistency: Package with ID 'null' does not exist within the package database or the local settings file. Please contact your system administrator! 2011-07-11 16:50:15, DEBUG : Adding package with ID 'wpkg' to profile packages. 2011-07-11 16:50:15, DEBUG : Found package node 'WPKG' (wpkg) in package database [...] My hosts contains only: wpkg host name=.+ profile-id=default / /wpkg and my profiles.xml: profiles profile id=base package package-id=wpkg / package package-id=wpkg-settings / [...] /profile profile id=default depends profile-id=base / package profile-id=xptweaks-disable-csc / /profile /profiles Package repository are common between many installations, where this error does not throw out. WPKG after this error continue as expected, so it is only noise. But... what's happen? Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Synchronize with Timeserver
Mandi! simplesi In chel di` si favelave... I'm just trying out my old scripts on a Win7 pro machine and this is one of the problems - I get:- I'm using XP, so could be that 'set time' are no more supported by seven anymore? Consider switching to NTp, as suggested by another post. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Synchronize with Timeserver
Mandi! Labamba81 In chel di` si favelave... what am i doing wrong? ...the user that start wpkg.js is an administrator? I use the same command, but on pre/post WPKGClient scripts, and works flawlessy... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] [g...@sv.lnf.it: download / examples...]
Mandi! Rainer Meier In chel di` si favelave... No one answer to this questione, someone can help me? Actually you could have a look at the XSD which documents it best. Ops! i've forgot about that, sorry... anyway after this email i've experimented a bit and i confirm that the download / tag works very well as you explain... Only one note (and xsd confirm me): download url=http:/www target=%TEMP% / target is a filename (path) rooted by default on the specified options 'downloadDir', not a directory. In this case you would simply specify commands which do the download. WPKG executes the commands in order specified within the package XML file. So feel free to invoke any downloader tool like wget as the first install command. [...] As you asked for a switch to globally disable WPKG downloads you might use simple environment variables to signal to your own script whether the command which executes wget would actually run or not. Cool hint. But, probably thanks to my bad english, you have probably misunderstood me a bit. When i speak of ''external program/scripts'' i don't mean an external downloader client-side (where wsh fit well), but a server-side script that parses xml files and download files, preparing the repository of installer. Now i'm using csync2 (http://oss.linbit.com/csync2/) to propagate WPKG recipes within installations, and in csync configuration i trigger an execution of my ''download script'' for every xml file update, so i can propagate the setup across sites without the fuss of propagation of software repository. For now my ''downloader script'' is a brute force hack that simply use 'xml2' to convert xml to something esier to parse with plain grep/sed/cut. Have surely to be rewritten in something more heavier (perl/php/python/...) and parse XML structure, more notably to be able to expand variables. So i needed the ''global download disable'' switch, because, really, i don't use wpkg to download files, but only the information within xml files. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Disable download switch and config options
Probably i can simply put the 'download' tag, but clients will probably throw errors (they have no write access on %SOFTWARE%). More dig in this issue. I need that. ;-) I've tried to put the 'download' tag, but as supposed they throw an access permission error, even if really works. Look at: 1) download do their job, but throw an error: 2011-05-16 11:22:57, DEBUG : Install type: upgrade 2011-05-16 11:22:57, DEBUG : Fetched 1 upgrade command(s). 2011-05-16 11:22:57, DEBUG : Downloading 'http://www.piriform.com/ccleaner/download/slim/downloadfile' to '\\MEDIA\Software\WPKG\ccsetup306_slim.exe' 2011-05-16 11:23:13, ERROR : Download failed: Autorizzazione negata 2011-05-16 11:23:13, ERROR : Failed to download all files. 2) wpkg.js anyway ignore this failure, and continue processing: 2011-05-16 11:23:13, DEBUG : Executing command: %SOFTWARE%\WPKG\ccsetup306_slim.exe /S /L=1040 2011-05-16 11:23:15, DEBUG : Command in installation of CCleaner returned exit code [0]. Success. 2011-05-16 11:23:15, DEBUG : Checking existence of package: CCleaner 2011-05-16 11:23:15, DEBUG : Saving current environment 2011-05-16 11:23:15, DEBUG : Reading variables from package CCleaner 2011-05-16 11:23:15, DEBUG : Reading variables from profile[s] 2011-05-16 11:23:15, DEBUG : Getting profiles which apply to this node. 2011-05-16 11:23:15, DEBUG : 3 profiles apply to this host. 2011-05-16 11:23:15, DEBUG : Reading variables from profile base 2011-05-16 11:23:15, DEBUG : Reading variables from profile default 2011-05-16 11:23:15, DEBUG : Reading variables from profile ced 2011-05-16 11:23:15, DEBUG : Reading variables from host voldemort 2011-05-16 11:23:15, DEBUG : Uninstall entry 'CCleaner' matches string 'CCleaner'. 2011-05-16 11:23:15, DEBUG : Uninstall entry for CCleaner was found: test successful 3) ''global exit codes'' of the whole wpkg.js got bad, so the postinst WPKGClient script does not get executed (for example). 2011-05-16 11:23:15, DEBUG : Saving XML : C:\WINDOWS\system32\wpkg.xml 2011-05-16 11:23:15, DEBUG : Installation of references (chained) for 'CCleaner' (ccleaner) successfully finished. 2011-05-16 11:23:15, INFO: Package 'CCleaner' (ccleaner): Package and all chained packages installed successfully. 2011-05-16 11:23:15, INFO: Processing (upgrade) of CCleaner successful. 2011-05-16 11:23:15, DEBUG : Cleaning up temporary downloaded files 2011-05-16 11:23:15, ERROR : Message: Autorizzazione negata|Description: Autorizzazione negata|Error number: 800a0046|Stack: undefined|Line: undefined| 2011-05-16 11:23:15, INFO: User notification suppressed. Message: Qualcosa nell'aggiornamento del sistema è fallito. This seems to me rather unoptimal: + if download fail, also package have to fail. + download step have to check if file exist, and if exist can ignore them or redowload; to prevent abuse, better if an hash (md5) are used. + global status i think have not to be influenced by the download status; i think that download failures have to be considered minor failures and lead to a positive global exit status. Hope this help. Thanks. PS: say me if i've to fire up these as bugs on the BTS, and if as a single bug or as multiple one. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Disable download switch and config options
Mandi! Rainer Meier In chel di` si favelave... Thanks for your analysis. I'm proud to contribute to WPKG! ;-) I will have a look at the issues. Unfortunately the download feature is not very widely used and therefore I fully believe that there are some bugs with it. As many things, only when used get broken and fixed. ;-) I personally rather think about extending the download feature slightly instead of providing a switch to disable downloads globally but keeping them in package XML. - WPKG might support a flag in a download tag to disable removal after installation. - WPKG might by default not re-download files which already exist on download target. Ok. a doubt on the first one, see later. (- WPKG might verify MD5/checksum of downloaded file to check whether download was successful; requires some more effort) I remember vaguely that (w|c)script have no hash function implementation internally, so it is need to use an external program or a pure script hash implementation (that probably get sloo). But consider that implementing a 'check if just download' function without hash can be really dangerous... and hash check are generally useful, not only on download. Anyway, because was easy and i need that, i've implemented the master switch. Patch attached. It is my first wsh exercise, and really i've not understood if isNoDownload() function are needed or not. Not to master my dumb work, but i think that a master switch is still useful. On sites where i propagate updates by the way of other mean, i know that there's no need for download... so it make little sense to do checks. Generally speaking, download/nodownload for me are a ''site switch'', not a package switch; so disable or enable checks as a package level can be useful in theory, but i think in practice the decision to download (and check) are taken at ''site'' level (eg, config.xml or wpkg.js switch). For sure the exit code shall be dependent on the install state, not on download state. I will verify it too. Many thanks! -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) --- wpkg.js.orig 2009-10-02 17:55:27.0 +0200 +++ wpkg.js 2011-05-16 12:11:08.663912632 +0200 @@ -316,6 +316,9 @@ /** timeout for downloads */ var downloadTimeout = 7200; +/** global switch for download */ +var noDownload = false + /** if set to true logfiles will be appended, otherwise they are overwritten */ var logAppend = false; @@ -1253,7 +1256,11 @@ var fso = new ActiveXObject(Scripting.FileSystemObject); // delete temporary file if it already exists if (fso.fileExists(target)) { - fso.deleteFile(target); + if (isNoDownload()) { + dinfo(Cleaning up ' + target + ' disabled by config option); + } else { + fso.deleteFile(target); + } } } @@ -3701,6 +3708,15 @@ } /** + * Return current value of noDownload setting + * + * @return true in case download are disabled, false if it is enabled (boolean). + */ +function isNoDownload() { + return noDownload; +} + +/** * Checks if a package is a zombie package which means that it exists within * the locale package database (wpkg.xml) but not on server database * (packages.xml) @@ -6018,12 +6034,17 @@ if (timeoutValue != null timeoutValue == ) { timeout = parseInt(timeoutValue); } + + if (isNoDownload()) { + dinfo(Downloading ' + url + ' to ' + target + ' disabled by config option); + return true; + } else { + dinfo(Downloading ' + url + ' to ' + target + '); + } var fso = new ActiveXObject(Scripting.FileSystemObject); var stream = new ActiveXObject(ADODB.Stream); var xmlHttp = new createXmlHttp(); - dinfo(Downloading ' + url + ' to ' + target + '); - // open HTTP connection xmlHttp.open(GET, url, true); xmlHttp.setRequestHeader(User-Agent, XMLHTTP/1.0); - 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
[wpkg-users] Disable download switch and config options
I've to deploy wpkg on external sites, and it is complicated to simply keep syncronized my software repository. Seems relatively simple to produce a patch against wpkg.js that add /nodownload switch and nodownload config option, so that download / nodes are simply ignored. Can i do that? It will be safely integrated in the next wpkg.js version? I want to do that because in this way i can prepare recipes that works in little environment (single computers with download enabled) and in remote mid-size LAN (where download are disabled, and i can use an external script that download centrally needed files). Probably i can simply put the 'download' tag, but clients will probably throw errors (they have no write access on %SOFTWARE%). -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Exit Code: 1
Mandi! Rowland,Andrew In chel di` si favelave... I am able to connect to the server using the domain admin account I setup, and map the necessary network drives. Note that windows (the protocol, not the server) support only one connection from one client to one server, even the ''guest'' ones, so if you have a connection to \\SERVER\shareA with some credentials (i insist, even guest one) and try to connect to \\SERVER\shareB with other credentials, will fail. For this, i abuse heavily on samba ''aliases'' ('netbios aliases' smb.conf options) so i can connect to \\ALIAS1\shareA and the same time to \\ALIAS2\shareB with different credentials. If you use windows server, you have to look carefully at your boot script and prevent such things. Another source of headache could be that for a logged in user firs are tried autheticated access, then guest access; while for the SYSTEM user first are tried ''machine auth'' access (not supported by samba), then guest access. Relax temporarly your share access rules, and if access succeeded, double check guest access. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] [g...@sv.lnf.it: download / examples...]
No one answer to this questione, someone can help me? Thanks. - Forwarded message from Marco Gaiarin g...@sv.lnf.it - Date: Wed, 22 Dec 2010 09:21:25 +0100 From: Marco Gaiarin g...@sv.lnf.it To: wpkg-users@lists.wpkg.org Subject: [wpkg-users] download / examples... Organization: La Nostra Famiglia - Polo FVG X-Spam-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,GREYLIST_ISWHITE autolearn=ham version=3.2.5 There's some examples of the use of the download tag? The documentation are really scarce, and on recipe repository seems there's no one recupe that use it. On detail, i'm just considering if there's a way to add the download tags to recipes but not actually use them, leaving the download task to an external script. Ok, i can put comments on package with the same content, but define the downlaod tag and (globally, on per-site) not use it it is a bit cleaner solution, at least seems to me... Thanks. - End forwarded message - -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Using BITS to transfer files?
Mandi! Malte Starostik In chel di` si favelave... There is one requirement that might get in the way: machine authentication requires kerberos, so you need an AD domain, either with a Windows 2000+ DC or Samba 4. I haven't tried the latter yet, but I certainly will some day. A Windows NT (resp. Samba 3) domain will not do. A... sorry, you say 'samba' and i meant 'samba nt-like domain', totally forgotting that samba can be a member of an AD domain... sorry... Yes, i know that in AD machine account work, but i can confirm that, at least for samba 3.2, in nt-like domain not... ;((( -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Using BITS to transfer files?
Mandi! Malte Starostik In chel di` si favelave... I can't confirm this. I'm running WPKG off a samba server and the clients access the share with machine credentials just fine. I've granted read access to the Domain Computers group and all is well. The share that the clients write their logfile to is writable by Domain Computers and has the sticky bit set a client can only mess with the log file(s) it created. Really, really, REALLY interested on that!!! Can you sand some more info? Samba version? Server and cient configuration? I've tried some weeks ago on debian lenny (samba 3.2.X) and i was not able to make it work... Thanks! -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Using BITS to transfer files?
Mandi! Rainer Meier In chel di` si favelave... So please consider setting up a distributed WPKG configuration where local nodes fetch packages from a local software repository server. I add some consideration. I agree, but i've also found the limit of these approach syncing a full repository within sites that are connected with slow VPN link, instead of using the full (local) internet speed. Some days ago i've asked some more info on the download tag: http://lists.wpkg.org/pipermail/wpkg-users/2010-December/007134.html (with no answer at all) exactly because the internal repository have some limit, and the download tag also. 1) samba does not support accessing shares using machine account, so there's no way to setup a shared repository for the download tag, apart a repository with ''full write from everyone'' that i don't want to setup. 2) if i setup a local dir, clearly every wpkg invocation redownload the file So i'm asking some info on download tag, because it is not clear how to use it (at least for me) reading the wiki. My goal would be to add to package the downoad tag, have the ability to globally ''disable'' it in wpkg.js and insted use an external script that parse the xml structure and download the package saving them in the right repository. Ok, i can use for that some ''xml comment'' in the recupes, but clearly use the just provided download tags could be more cleaner... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] download / examples...
There's some examples of the use of the download tag? The documentation are really scarce, and on recipe repository seems there's no one recupe that use it. On detail, i'm just considering if there's a way to add the download tags to recipes but not actually use them, leaving the download task to an external script. Ok, i can put comments on package with the same content, but define the downlaod tag and (globally, on per-site) not use it it is a bit cleaner solution, at least seems to me... Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] [BUG?] On upgrade old check condition are parsed...
Mandi! Rainer Meier In chel di` si favelave... Sure it would. For most users upgrades would be completely skipped all the time if WPKG would first use the checks before installation and if they succeed skip the update. Most packages simply use a check on uninstall entries which No, i don't think at skipping upgrades, but: if (revision changed) { if (check condition = true) # so package installed do_upgrade() else# so package not installed do_install()# using new recipe install command } This indeed does not cure my ''vlc problem'' (because clearly the current check condition have to be evaluated, not the new one...) but permit me to write (at least for me ;) simple recipes. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] [BUG?] On upgrade old check condition are parsed...
Mandi! Rainer Meier In chel di` si favelave... This is an interesting approach. Thanks. ;) the install command. Remember that WPKG would also here have to use the checks of the locally installed package to verify whether the package is installed. Of course. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] [BUG?] On upgrade old check condition are parsed...
I've hit a VLC installer bug of version 1.1.0, on (un)install simply the installer crash and delete the uninstall.exe binary. Subsequent execution of the recipe simply stall. So i've complicated the check condition looking also at the uninstaller: check type=logical condition=and check type=uninstall condition=exists path=VLC media player 1.1.4 / check type=file condition=exists path='%ProgramFiles%\VideoLAN\VLC\uninstall.exe' / /check and added to the install action some brute-force: install cmd='%COMSPEC% /c if exist %ProgramFiles%\VideoLAN\VLC\uninstall.exe start /wait %ProgramFiles%\VideoLAN\VLC\uninstall.exe /S _?=%ProgramFiles%\VideoLAN\VLC' / install cmd='%COMSPEC% /c if not exist %ProgramFiles%\VideoLAN\VLC\uninstall.exe if exist %ProgramFiles%\VideoLAN\VLC\vlc.exe rd /q /s %ProgramFiles%\VideoLAN' / install cmd='reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\VLC media player /va /f' / install cmd='%SOFTWARE%\WPKG\vlc-1.1.4-win32.exe /S' / But i've discovered that anyway the ''upgrade'' actions are executed, even if the new check condition are false for a ''broken'' vlc installation. Seems to me that WPKG evaluate on upgrade the old check condition, and not the new one (or better: evaluate on pre-action the old one, and on post-action the new one). I've tried to consider this a feature, but still seems to me a bug. ;-) Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] [BUG?] On upgrade old check condition are parsed...
Mandi! Rainer Meier In chel di` si favelave... When you increment the revision of the VLC package then WPKG always executes the upgrade commands and not the install commands (install commands are always only executed at initial installation). Can i add a proposal to change this behaviour? Crearly every problem have a solution or a workaround, but, at least for me, the check condition grant that a package are installed (or not) and so have to be evaluated on every actions (ok, probably not on remove) ... Ok, it is true that on every execution check condition are evaluated, but there's corner cases, like these on VLC, that you hit after upgrade the revision. Also, checking condition on upgrade seems to me that does not disrupt nothing in the WPKG logic... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] post TrueCrypt again...
Mandi! Rainer Meier In chel di` si favelave... The package was updated to include TrueCrypt 7.0a as well: Ok, but you have tried an upgrade using on-disk full encryption? I've do some test, and everytime i was forced to boot into rescue disk and decript all the disk. ;( For now i'm not deploying TC, exactly because seems there's no way to upgrade it in unattended mode... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] post TrueCrypt again...
Mandi! Rainer Meier In chel di` si favelave... Does upgrading TC with full-disk-encryption work using the manual installer? I wonder what it is doing differently. For now never tried, but docs say yes... I might do some tests with a VM. But somebody might also ask the TC-developers what is the official way to perform an unattended upgrade (if possible at all). Looking at tc lists/forum seems that developers are very unresponsive to this argument, refusing any help or comment. ;( -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] TrueCrypt again
Mandi! Paul McGrath In chel di` si favelave... This is a message for Marco who mailed back in May about Truecrypt. I’ve cracked a silent installer for TrueCrypt 7.0a and posted instructions on the wpkg.org site which should be approved soon. Unpacking and installing the program by hand, creating the service and so on, work flawlessy. There's no trouble at all to install TrueCrypt by WPKG, the real trouble arise from updating it via WPKG if the box have ''on the fly'' disk encryption... I've done some tests, and every time i got an unbootable box. Ok, i can use the rescue CD to decrypt and then reencrypt the disk, but it takes roughly two days of work, not feasable on a production environment... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] [OT] Adding a spurious registry value in a key...
Probably there's no a simple yes/no answer to this question, but... Normally in package that mangle registry i use the ''reg'' command and i test the values on check conditions. But sometimes values are so many that i use regedit /s and a .reg file, loosing (roughly) the ability to using check conditions. In this package, can i simple add a fake value (WPKGVersion?) on the key testing that on check conditions? Normally windows programs what do if there's a spurious value? I suppose they ignore them, but... i prefer ask here. Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Diagnosing WPKG remove event log error message
Mandi! Christopher Yee Mon In chel di` si favelave... Package processing (remove) failed for package Test Package. However the package requires a reboot to complete. Rebooting. It just says that it failed. I'm not sure what the problem is. Is Could be it is not a problem, but a feature... the installer exit with a non-zero exit code signaling that a reboot are needed. WPKG, if not correctly instructed, consider this an error condition and so report as ''failed'' the uninstallation. Double check your recipe and exit codes of your package... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Firefox 3.6
Mandi! Rainer Meier In chel di` si favelave... To do so just do the following: 1. create/copy %ProgramFiles%\Mozilla Firefox\defaults\pref\policies.js I am using policies.js with the following content: pref(general.config.obscure_value, 0); pref(general.config.filename, mozilla.cfg); Reading around on past years i've found hint to append to %PROGRAMFILES%\Mozilla Firefox\greprefs\all.js file the two row, i don't know i can create %ProgramFiles%\Mozilla Firefox\defaults\pref\policies.js or %ProgramFiles%\Mozilla Firefox\defaults\pref\local.js Where i can get some info? Google point me to nothing... Or it is a general feature, eg all files on %ProgramFiles%\Mozilla Firefox\defaults\pref\ directory are loaded in turn? PS: a little corollary... why use defaults/prefs/local.js to load another .js file, why not simply put all the settings on defaults/prefs/local.js itself? -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] A few quick questions
Mandi! Donny Brooks In chel di` si favelave... are using 1.0.0.8-1.0.0.18 and the server is 0.9.8) and I would like to do a two-fold deal here: use the current wpkg installation to push out a new wpkg installation and point that new installation to a new server. Should this be possible? Would I have to remove all ...consider that upgrading wpkgclient by the way of wpkgclient is, anyway and everityme, a ''deadlock-prone'' process. indeed. In my experience upgrading wpkgclient by himself works, apart some corner case that have to be handled by hand (buggy pc, ...). Also changing wpkgclient configuration work. I suggest you a ''two fold'' process, upgrading first the client, and then upgrade the coniguration. I use a ''wpkgclient'' recipe for the client and a ''wpkgclient-settings'' recipe for pushing new settings on the client; normally not used, but... ;))) Also, what is the best way to use wpkg to change the administrator account password on windows xp and vista? I've built an hack to change administrator password, using only ''standard'' tools. Simply via wpkg i trigger an access to a samba share, that have guest access enabled and via ''root preexec'' run a ''smbpasswd'' agains the calling machine, using a perl wrapper script. Client need to have ''file and printer sharing'' enabled and no firewall on that part, but works, and via a simple semaphore file i can instruct wpkg to retry if something failed. With this approach i prevent to put the password on client-side, the password remains only server-side. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] TrueCrypt again...
I need to deploy TrueCrypt, and this seems a non-trivial task... 1) TrueCrypt authors seems totally irresponsive to make a silent install or a standard (better MSI) one. Look at TC forums, some reply are very astonishing... boh... 2) but TC installer do a very easy thing: copy .sys files and .exe files in respective directory and setup the service with .sys. Docs say that and also a manual registry diff before and after the installation confirm that. 3) so a solution like the manual service install proposed by Brian May seems suffice: http://lists.wpkg.org/pipermail/wpkg-users/2009-September/005713.html I'm not very used to work woth drivers, so my fear with this approach are on upgrade: i can simply copy over the old .sys the new one? Even if i use full disk encryption? Googling around, a good approach would be: a) with a repackager, create an MSI file, for example: http://www.doitrightconsulting.net/forum/viewtopic.php?f=8t=94 someone have feedback on this .msi? b) create simply a .inf file and install the driver via DPInst: http://www.msigeek.com/285/creating-installation-for-device-driver-applications-using-dpinst but the method proposed (install manually and get .inf file from %WINDOR%\inf\ folder) does not work because again the TC installer install the driver manually. Someone have some experience and tools on building a .inf file so i can use DPInst to install/upgrade TC, or can point me to relevant links? I've found: http://www.appdeploy.com/messageboards/tm.asp?m=4596 but the second link seems dead... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Excluding particular OS and architecture types from patch application
Mandi! Rainer Meier In chel di` si favelave... It's nice to ask giving the full power of unlimited flexibility to the user but... [...] WPKG is already very flexible and powerful due to the fact that it allows you to execute any command and any script/tool in order to reach your goal, whatever it might be. I perfectly agree with you. For that i think that add to WPKG ''os detection code'' is the wrong way, but here we are speaking about ''adding conditional execution/parsing'' of some XML node, that i think is more general and more WPKG-way... ;) I have no clue where this reluctance from writing scripts is coming from. Sure Clearly, xenophobia. ;-) I think that there's no need to ask why there's so much programming languages... In CMD i particulary hate to write exit codes conditions, while using ''one install / line per command'' approach it is very easy. So for now I repeat again that I am thinking about OS version and architecture dependencies but for now please accept that you can do exactly the same using some simple CMD scripts. If you don't like it just don't use it, everyone else just uses the possibilities available and reaches the goal with low effort. I'm deeply tighted to an 'XPsp3 32bit' environment and i will keep here for at least two yers... so for me no problem at all. ;) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Excluding particular OS and architecture types from patch application
Mandi! Lukasz Zalewski In chel di` si favelave... P.S. In addition (sorry for being so cheeky) it would be nice to have arch= in install, upgrade and remove install arch=x86|AMD64. I know one can use if %PROCESDSOR_ARCHITECTURE% == x86 but it would remove some of the duplicated code and reduce possibility of a mistake If this is a contest i definitely vote for a os='' and arch='' tag in nodes (package, install|upgrade|remove, ...). I'm not a WSH programmer (i'm not a programmer at all ;), but seems to me that can be easily implemented without disrupt all the WPKG code (a simple condition before loading the node...). I think that the source of check could be some environment variable (%WPKG_OS% and %WPKG_ARCH%?) that can be calculated on pre-script, without adding to WPKG code the 'os detection' code that can clearly be a mess. If variables are not defined, simply mean 'all'. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Excluding particular OS and architecture types from patch application
Mandi! Rainer Meier In chel di` si favelave... I will definitely think about such a feature - or something similar. But I will not include such a thing on short notice. Good! Even the logic behind quite simple. Instead of defining a profile which assigns some packages only to specific OS or OS versions it just assigns the package to the profile - no matter if the machines in this profile run OS x or OS y. The [...] In addition I thin it's wrong to define in the package definition whether the package should be applied to the node. I would rather prefer to define OS dependency in profile specification. So one could specify that a specific package is applied to the profile only if OS/Version matches. I think both. As your script, could be that i can define a package that do different things (actions, checks, ...) for different install. But also i can define different package for different OS. Third, could be that i can define the same package (name) but with two or more specification for two or more OS. But i think that this will work good only in conjunction with some ''metapackage'' definition ala dpkg/rpm... The base rule are: leave to recipe writer the power: clearly if a package is strictly os or arch tagged and cited on another package as dependencies, wpkg will complain that package deps was not satisfiable. But this does not brake WPKG logic nor add a real layer of complexity in debugging recipe writing... Exposing some variables like WPKG_OS or WPKG_ARCH to the app/script run by WPKG would probably simplify script-writing slightly. But honestly I don't see much simplification for my scripts whether I have to write You're right, indeed there's no a big difference between yor script and this. But i consider XML a more ''self documenting'' format, and really i hate CMD scripting that turn in really unreadable pieces of code. Apart that in XML there's a finer error handling, put every command in a install / statement... Clerarly, it's my opinion. ;-) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] The network path was not found. - Windows 7, wireless connection.
Mandi! Gregory Orange In chel di` si favelave... Our Windows XP and RADIUS-based wireless network only connects once a user is logged in, that is, as per Kevin's description. I've configured for some portable system (XPsp3) machine account authentication (using freeradius and winbindd), but still with current client (1.2.1) sometimes wpkg run, sometimes no. I've never considered this a problem, my wireless setup is an options for 'wired' clients, not the only connection method. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Firefox Proxy - unlocked
Mandi! Malte Starostik In chel di` si favelave... Many thanks for the helpful hints! Only one more question: can you point to some relevant link about this? Past year i've digged about thiese things, finding only partial, old and mangle information here and there... Thanks. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] [OT] Updates info bullettin?
I'm curious. Apart subscribing to half a dozen of security lists, apart subscribing to every vendor/sourceforge/... announcement mailing lists, there's a service out there that 'collect and redistribute' info about updates of software? I'm now used to the 'friday evening web tour', but if there's another way... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Firefox Proxy - unlocked
Mandi! Malte Starostik In chel di` si favelave... http://mxr.mozilla.org/mozilla1.9.2/source/dom/base/nsGlobalWindow.cpp#4463 http://mxr.mozilla.org/mozilla1.9.2/source/content/base/src/nsContentUtils.cpp#2594 http://mxr.mozilla.org/mozilla1.9.2/source/modules/libpref/src/nsPrefBranch.cpp#228 Oh, past to old days when man was man and they don't read documentation, they read sources... ;-))) Tnx. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Firefox Proxy - unlocked
Mandi! Justin Brinegar In chel di` si favelave... there are some that will not default. Specifically, I encountered issues with defaulting the homepage in Firefox 3.5. In Thunderbird (and I'm still using 3.0, but i simply use: pref(browser.startup.homepage, http://www.sv.lnf.it/;); pref(browser.startup.page, 1); and works... and default preferences. You can do some pretty cool things with it in Thunderbird, especially if your organization uses a single-sign on technology and has an LDAP server. Ahem, can you give some feedback? ;-) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] /sendStatus command not working
Mandi! Tomasz Chmielewski In chel di` si favelave... Can you try that and report if it behaves better for you? Now if i start/stop the service manually i got: Tipo evento: Errore Origine evento:WpkgService Categoria evento: Nessuno ID evento: 1 Data: 16/02/2010 Ora: 10.25.51 Utente:N/D Computer: VOLDEMORT Descrizione: ServiceStart-SERVICE_RUNNING right after 'initializin socket...' -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] /sendStatus command not working
Mandi! Tomasz Chmielewski In chel di` si favelave... http://wpkg.org/files/client/beta/1.3.12/ Tried, xp sp3 in a virtualbox guest. Effectively the service start, stop and restart flawlessy, no more lockup or errors. But wpkg does not start: everytime i catch a: Tipo evento: Errore Origine evento: WpkgService Categoria evento: Nessuno ID evento: 1 Data: 15/02/2010 Ora: 18.29.43 Utente:N/D Computer: VOLDEMORT Descrizione: Script pre action execution: failure. Exit code: 2 (file not found?). Clearly file are here, wpkg settings are unchanged. Wait a moment... g... seems that on *real* shutdown all works as expected, simply restarting the service manually throw this error. Boh. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Event Log format
Mandi! Charles Gargent In chel di` si favelave... fyi the tool I use to export the eventlogs is Logparser I don't know this tools, but i suggest you to use some eventlog to syslog tools like: http://ntsyslog.sourceforge.net/ (simple syslog on udp) http://www.intersectalliance.com/projects/index.html (don't be confused by the port number, it is simply syslog on TCP on a nonstandard port ;) -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Computer account
Mandi! Lukasz Zalewski In chel di` si favelave... bit tho). I have seen a message posted to samba mailing list regarding machine authentication but have not seen any responses yet. If I'm wrong please do let me know as this is very cool feature that will allow writing logs to a network share in a sane way. I can confirm that basic machine authentication works: i have setup radius server in a manner that wireless clients authenticate with machine account. But i can confirm also that does not work for network shares, and also that there's no answer in samba list. I will try to ask again in samba-it mainling lists, but really seems that this is a problem that does not mind to samba developers... Someone have some direct contact with some samba developer? -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Forcing a second reboot...
I'm moving in my organization from symantec corporate edition to kaspersky as AV solution. I'm doing some tests with WPKG, disinstalling old AV and installing new one. I'm using WPKG 'install on shutdown'. I've done some test, and: - symantec are correctly removed - then, kaspersky network client got installed - then kaspersky AV fail saying 'reboot needed before installing' after that, machine shut down/reboot, but at next startup... the machine are without AV until next shutdown. I cannot keep machines an entire day without AV... ;((( I've tried to add to 'network agent' installation a row like: install cmd='schtasks /create /tn KNA forced reboot /sc ONSTART /ru SYSTEM /tr shutdown /r /t 5 /f' / but does not work, probably because the 'shutdown' executed on startup are ignored (the scheduled task are correctly installed and work runned by hand). How can i force a reboot at next boot? ONLOGON will suffice? Thanks. - 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] Amending package deployment after 50% of workstations done
Mandi! simplesi In chel di` si favelave... I recently made up a package to deploy Scratch 1.4. I use the .exe, with: package id=scratch name=Scratch revision=14001 reboot=false priority=50 depends package-id=jre/ check type=uninstall condition=exists path=Scratch / install cmd='%SOFTWARE%\WPKG\ScratchInstaller1.4.exe /S' / install cmd='%WPKGROOT%\tools\shortcut /f:%ALLUSERSPROFILE%\Desktop\Scratch.lnk /a:c /t:%ProgramFiles%\Scratch\Scratch.exe /p:\%ProgramFiles%\Scratch\Scratch.image\' / upgrade cmd='%SOFTWARE%\WPKG\ScratchInstaller1.4.exe /S' / upgrade cmd='%WPKGROOT%\tools\shortcut /f:%ALLUSERSPROFILE%\Desktop\Scratch.lnk /a:c /t:%ProgramFiles%\Scratch\Scratch.exe /p:\%ProgramFiles%\Scratch\Scratch.image\' / remove cmd='cmd /c del /f /q %ALLUSERSPROFILE%\Desktop\Scratch.lnk' / remove cmd='cmd /c start /wait %ProgramFiles%\Scratch\uninstall.exe /S _?=%ProgramFiles%\Scratch' / /package I use 'shortcut' to create the... shortcut insted of copy it, and i use 'start /wait' and the uninstaller with the _? options to prevent fork Have I got my logic right or would I be better off leaving original package alone and adding a new dependant package that just does the shortcut copying? I think you're right, expecially considering that .msi are very efficient on reinstallation, normally they does nothing so there will be minimal delay/load. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] WPKG Client 1.3.9 - problem
Mandi! Matthias Röttger In chel di` si favelave... Could someone help me with that issue? Seems you have hit 'bug 176': http://bugzilla.wpkg.org/show_bug.cgi?id=176 http://lists.wpkg.org/pipermail/wpkg-users/2009-October/005829.html -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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
[wpkg-users] Strangeness on WPKGClient...
I've enabled the 'logo' feature on wpkg client. + i've setup the client on my box, using as image path: %ProgramFiles%\wpkg\emfvg.jpg tested, works flawlessy. + exported settings, verifying that in settings.xml the path was not mangled, and was not: logon-message-logo-picture%ProgramFiles%\wpkg\emfvg.jpg/logon-message-logo-picture + deploy the new settings on some machines (via --settingsfile), and... logo does not display. I've also open wpkginst.exe on deployed machines, and all seems normal, the path are %ProgramFiles%\wpkg\emfvg.jpg, but logo does not display. So i've tried to substitute on client '%ProgramFiles%\wpkg\emfvg.jpg' with C:\Programmi\wpkg\emfvg.jpg and still does not display. Clearly the image file are there. Boh... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Bug 176...
Mandi! Marco Gaiarin In chel di` si favelave... Installing at shutdown, when not connected to a network, just exits with a wpkg.js file not found error. I will do some test tomorrow, but also with 'offline mode' disabled, i got the same error. Ok, probably i've maked some mistakes, i can confirm that with 'install at shutdown', with offline mode disabled, it works. I confirm also that installing at shutdown, seems that 'offline mode' are pretty useless. Some note: 1) still if i manually stop or restart wpkg service, the service does not cleanly shut off, i have to kill it. 2) if wpkg service are killed (or die) i have to wait all the 'max wait time' (as happens on startup, indeed); Here (in shutdown) we can check this, i hope directly in WPKClient, but we can also add this to -pre script, for example: http://www.hiteksoftware.com/knowledge/email/045.htm 3) (cosmetic) if it is true that offline mode does not make sense for execute on shutdown, i think it is better to move the entire tabs under the execution mode, or at least make it 'grey' when on shutdown are selected. Also, the 'stop service when all done' check i think can be safely moved in this tab, this really does not make sense on shutdown. I hope i was useful, i seek some feedback. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Bug 176...
Mandi! Pendl Stefan In chel di` si favelave... The pre-shutdown-delay setting of a service is only taken into account at shutdown, if you manually stop the service, this is not recognized by the service control mechanism. I think it should be possible to overcome this problem, since the wuauclt service has a pre-shutdown-delay set too, but you can successfully stop the automatic update service manually. I'm speaking about 'logon delay' feature of WPKG... 2) if wpkg service are killed (or die) i have to wait all the 'max wait time' (as happens on startup, indeed); Here (in shutdown) we can check this, i hope directly in WPKClient, but we can also add this to -pre script, for example: http://www.hiteksoftware.com/knowledge/email/045.htm Clearly i'm completely wrong. The 'logon/logoff delay' feature are done by the way of wpkgMessage.exe, and the fact that WPKGServ.exe service helper does not run imply that pre, wpkg.js and post script cannot be run. Indeed in wpkgMessage.exe have to be added some logic that check for the status of WPKGServ.exe service/process, and if died or stalled, exit. I hope now i was clear. PS: at least the fact that everytime i try to stop WPKGServ service they go in a spurious state and i have to manually kill it can be fixed? It is very annoying... -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Definition change/Version #
Mandi! Sean Kennedy In chel di` si favelave... As I build packages and deploy them, I've discovered errors within them. Naturally, I fix these errors, but if wpkg doesn't detect a version status change ( either through the revision # on the package, nor it's internal checks ), it doesn't copy the new package definition to it's local cache. Sitting here it occurs to me that I might just be able to increment the revision number on the package, and it copies the new package information to it's local cache. If there are no upgrade commands, will the only action taken be that of wpkg updating it's local cache of the package definition? You can increment the revision and the package definition will be updated in the local 'db' (wpkg.xml). Clearly also the package itself get updated: some package are too small that does not fuss, most of the .msi installer are smart and a second installation over the current substantially does nothing. But other installer are big and dumb, and force big network transfers and cpu time for installation. Probably the 'revision' can be splitted in two part, one that upgrade the package, one that upgrade only the recipes. But effectively you can remove the 'upgrade' part temporarly and increment the revision. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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] Bug 176...
Mandi! Tomasz Chmielewski In chel di` si favelave... Some feedback on bug 176? Sorry, no fix yet. ...there's something i can do? I've here some spare box and some very little spare time, say me if i can help. -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia''http://www.sv.lnf.it/ Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) - 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