[wpkg-users] Win10 20H2+ and WPKG slowness...

Bernhard Mayr bmmayr at gmail.com
Wed Jun 29 12:02:44 CEST 2022


What if you check the windows events (eventvwr.msc) and see what windows is
doing in the 4 seconds between these log entrys.

2022-06-29 11:28:44, DEBUG   : Saving XML : C:\Windows\System32\wpkg.xml
2022-06-29 11:28:48, DEBUG   : Uninstall entry 'Mozilla Firefox ESR (x64
it)' matches string 'Mozilla Firefox ESR (x64 it)'.

I sometimes see some security or windows installer installer events in
between the "wsh" entries on my machines

Ciao

Bernardo

Am Mi., 29. Juni 2022 um 11:47 Uhr schrieb Marco Gaiarin <gaio at sv.lnf.it>:

> Mandi! Bernhard Mayr
>   In chel di` si favelave...
>
> > Do your your install elements have timeouts ( such as "<install timeout=
> > "15"...>)?
> > If they do and you don't get any errors, then execution of wpkg on the
> client
>
> No, i don't use timeout.
>
>
> > machine seems OK, which would indicate you have a problem accessing the
> files
> > on the server. SMB protocols are negotiated between client and server,
> which
> > may explain differences between clients.
>
> The same WPKG set is used in very different network, some using old
> Samba3 in NT mode, some other using Samba4 in AD mode.
> I really doubt on a network/share trouble...
>
>
> > Check the event log on a client , this gives you an exact timeline of
> what wpkg
> > does which will help you find out, what's taking so long.
>
> Good point.
>
> 2022-06-29 11:27:04, DEBUG   : WPKG 1.3.1 starting...
> [...]
> 2022-06-29 11:27:04, DEBUG   : Trying to read XML files from directory:
> \\FILESV\wpkg\hosts
> [...]
> 2022-06-29 11:27:04, DEBUG   : Trying to read XML files from directory:
> \\FILESV\wpkg\profiles
> [...]
> 2022-06-29 11:27:04, DEBUG   : Trying to read XML files from directory:
> \\FILESV\wpkg\packages
> [...]
> 2022-06-29 11:27:05, DEBUG   : Found 414 package entries.
> 2022-06-29 11:27:05, DEBUG   : Reading settings file:
> C:\Windows\System32\wpkg.xml
> 2022-06-29 11:27:05, DEBUG   : WPKG base path: \\FILESV\wpkg
> 2022-06-29 11:27:05, DEBUG   : Reading XML file:
> C:/Windows/System32/wpkg.xml
> 2022-06-29 11:27:05, DEBUG   : Profiles applying to the current
> host:|default|
> 2022-06-29 11:27:05, DEBUG   : Getting profiles which apply to this node.
> 2022-06-29 11:27:05, DEBUG   : Initializing new log file:
> 'C:\windows\TEMP\wpkg-obito.log' in replace mode.
> 2022-06-29 11:27:05, DEBUG   : Applying profile: default
> 2022-06-29 11:27:05, DEBUG   : Adding profile dependencies of profile
> 'default': 'base'
> 2022-06-29 11:27:05, DEBUG   : Reading variables from hosts[s]
>
> So, reading files is very quick.
>
> 2022-06-29 11:27:06, DEBUG   : Number of packages to remove: 0
>
> (this is a 'dumb run', there's nothing to install in this run);
> computing dependencies is still quick.
>
> 2022-06-29 11:27:06, DEBUG   : Going to install package 'Kaspersky Lab
> Network Agent' (kaspersky-na), Revision 11.0.0.1131:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:27:18, DEBUG   : Going to install package 'Kaspersky
> Endpoint Security for Windows' (kaspersky-av), Revision 11.1.0.15919:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:27:23, DEBUG   : Going to install package 'Wpkg-GP'
> (wpkg-gp), Revision 0.17:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:27:31, DEBUG   : Going to install package 'Italian
> Dictionary for Mozilla Thunderbird' (thunderbird-dict-it), Revision 5.1:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:27:32, DEBUG   : Going to install package 'WinSent
> Innocenti' (winsent), Revision 3.0.3:1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:27:38, DEBUG   : Going to install package 'Win10 tweaks:
> install legacy calculator' (10tweaks-legacycalc), Revision 1.1:1, (execute
> flag is '', notify flag is 'true').
> 2022-06-29 11:27:43, DEBUG   : Going to install package 'Win10 tweaks:
> enable legacy Photo Viewer' (10tweaks-legacypv), Revision 20200323:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:27:43, DEBUG   : Going to install package 'SearchMyFiles'
> (smf), Revision 3.17:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:27:43, DEBUG   : Going to install package 'S.M.A.R.T.
> Monitoring Tools' (smartmontools), Revision 7.2:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:27:48, DEBUG   : Going to install package 'SecureLog Agent'
> (slagent), Revision 2.6.0.7:1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:27:54, DEBUG   : Going to install package 'Strawberry Perl'
> (strawberryperl), Revision 5.32.1.1:1, (execute flag is '', notify flag
> is 'true').
> 2022-06-29 11:28:00, DEBUG   : Going to install package 'WinAdminPassword'
> (winadminpassword), Revision 1.5:2.1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:28:05, DEBUG   : Going to install package 'TightVNC server'
> (tightvnc), Revision 2.8.63:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:28:12, DEBUG   : Going to install package '7-Zip' (7zip),
> Revision 21.07.00.0:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:28:17, DEBUG   : Going to install package 'Putty' (putty),
> Revision 0.77.0.0:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:28:25, DEBUG   : Going to install package 'CCleaner'
> (ccleaner), Revision 5.92.9652:1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:28:29, DEBUG   : Going to install package 'Adobe Acrobat
> Reader 2020' (reader2020), Revision 20.005.30334:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:28:35, DEBUG   : Going to install package 'Bacula File
> Daemon' (bacula), Revision 7.4.4:1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:28:39, DEBUG   : Going to install package 'Stickies'
> (stickies), Revision 10.0d:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:28:39, DEBUG   : Going to install package 'Sysinternals
> Process Utilities' (pstools), Revision 2.45:1, (execute flag is '', notify
> flag is 'true').
> 2022-06-29 11:28:39, DEBUG   : Going to install package 'Mozilla Network
> Security Services Tools' (nsstools), Revision 3.12.4.0:1, (execute flag
> is '', notify flag is 'true').
> 2022-06-29 11:28:39, DEBUG   : Going to install package 'SQLite Tools'
> (sqlite), Revision 3.38.1:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:28:39, DEBUG   : Going to install package 'Mozilla
> Thunderbird' (thunderbird), Revision 91.11.0:1, (execute flag is '', notify
> flag is 'true').
> 2022-06-29 11:28:44, DEBUG   : Going to install package 'Italian
> Dictionary for Mozilla Firefox' (firefox-dict-it), Revision 5.1:1, (execute
> flag is '', notify flag is 'true').
> 2022-06-29 11:28:44, DEBUG   : Going to install package 'Mozilla Firefox'
> (firefox), Revision 91.11.0:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:28:49, DEBUG   : Going to install package 'Adobe Flash
> Player (Plugin)' (flashplugin), Revision 32.0.0.465:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:28:54, DEBUG   : Going to install package 'Adblock Plus for
> Mozilla Firefox' (firefox-adblockplus), Revision 3.14:1, (execute flag is
> '', notify flag is 'true').
> 2022-06-29 11:28:54, DEBUG   : Going to install package 'Enforce
> SafeSearch for Mozilla Firefox' (firefox-sas), Revision 6.4.0:1, (execute
> flag is '', notify flag is 'true').
> 2022-06-29 11:28:54, DEBUG   : Going to install package 'Disable Google
> Update Service' (google-update-disable), Revision 20200609:1, (execute flag
> is '', notify flag is 'true').
> 2022-06-29 11:28:54, DEBUG   : Going to install package 'Google Chrome
> browser for businesses' (chrome), Revision 103.0.5060.66:1, (execute flag
> is '', notify flag is 'true').
> 2022-06-29 11:28:54, DEBUG   : Going to install package 'Disable Google
> Update Service' (google-update-disable), Revision 20200609:1, (execute flag
> is '', notify flag is 'true').
> 2022-06-29 11:29:23, DEBUG   : Going to install package 'Adblock Plus for
> Chrome' (chrome-adblockplus), Revision 1:1, (execute flag is '', notify
> flag is 'true').
> 2022-06-29 11:29:23, DEBUG   : Going to install package 'LibreOffice'
> (libreoffice), Revision 7.2.7.2:1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:29:31, DEBUG   : Going to install package 'Video LAN Client'
> (vlc), Revision 3.0.17.4:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:29:37, DEBUG   : Going to install package 'HelpDesk' (glpi),
> Revision 20150206:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:29:37, DEBUG   : Going to install package 'Sistema
> Informativo Socio-Sanitario Integrato' (sissi), Revision 20120131:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:29:37, DEBUG   : Going to install package 'Gestione
> Documentale DOCUS' (docus), Revision 20170907:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:29:37, DEBUG   : Going to install package 'FusionInventory
> Agent' (fusioninventory), Revision 2.6:1, (execute flag is '', notify flag
> is 'true').
> 2022-06-29 11:29:42, DEBUG   : Going to install package 'Printer Driver:
> KONICA MINOLTA C658SeriesPCL' (printerdrv-kmbizhubc658pcl), Revision
> 11.2.0.0:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:29:42, DEBUG   : Going to install package 'Printer Driver:
> KONICA MINOLTA C360iSeriesPCL' (printerdrv-kmbizhubc360ipcl), Revision
> 2.2.2.0:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:29:42, DEBUG   : Going to install package '3D Slicer'
> (slicer), Revision 5.0.2:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:29:47, DEBUG   : Going to install package 'DemoHelper'
> (demohelper), Revision 2.1.0.192:1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:29:47, DEBUG   : Going to install package 'HP Support
> Assistant 9' (hp-sa9), Revision 9.16.80.0:1, (execute flag is '', notify
> flag is 'true').
> 2022-06-29 11:29:48, DEBUG   : Going to install package 'HandBrake'
> (handbrake), Revision 1.5.1:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:29:53, DEBUG   : Going to install package 'IE View WE for
> Mozilla Firefox' (firefox-ieview-we), Revision 1.6.4:1, (execute flag is
> '', notify flag is 'true').
> 2022-06-29 11:29:53, DEBUG   : Going to install package 'InstEd' (insted),
> Revision 1.5.15.26:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:29:59, DEBUG   : Going to install package 'JASP' (jasp),
> Revision 0.16.3.0:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:06, DEBUG   : Going to install package 'JClic' (jclic),
> Revision 0.3.2.16:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:11, DEBUG   : Going to install package 'LocalFolder for
> Mozilla Thunderbird' (thunderbird-localfolder), Revision 3.3.0:1, (execute
> flag is '', notify flag is 'true').
> 2022-06-29 11:30:11, DEBUG   : Going to install package
> 'ManageWirelessNetworks' (mwn), Revision 1.07:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:30:11, DEBUG   : Going to install package 'Notepad++' (npp),
> Revision 8.4.2.0:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:16, DEBUG   : Going to install package 'OpenBoard'
> (openboard), Revision 1.6.1:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:24, DEBUG   : Going to install package 'ThreadVis for
> Mozilla Thunderbird' (thunderbird-threadvis), Revision 3.3.0:1, (execute
> flag is '', notify flag is 'true').
> 2022-06-29 11:30:25, DEBUG   : Going to install package 'Workrave'
> (workrave), Revision 1.10.50:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:30, DEBUG   : Going to install package 'dvdisaster'
> (dvdisaster), Revision 0.79.10-pl1:1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:30:30, DEBUG   : Going to install package 'LibreOffice Help
> (it)' (libreoffice-help-it), Revision 7.2.7.2:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:30:37, DEBUG   : Going to install package 'Client advanced
> firewall configuration' (advfirewall-settings), Revision 20130318:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:38, DEBUG   : Going to install package 'Win10 tweaks:
> disable OneDrive' (10tweaks-disable-onedrive), Revision 20190109:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:38, DEBUG   : Going to install package 'Wpkg-GP Settings'
> (wpkg-gp-settings), Revision 20130228:1, (execute flag is '', notify flag
> is 'true').
> 2022-06-29 11:30:38, DEBUG   : Going to install package 'Set current
> network profile as PRIVATE' (advfirewall-networkprofile-settings), Revision
> 20160524:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:39, DEBUG   : Going to install package 'Seven Registry
> tweaks: Enable Windows Update' (7tweaks-enable-wu), Revision 20200214:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:40, DEBUG   : Going to install package 'Seven Registry
> tweaks: Configure WinHTTP services to use local proxy'
> (7tweaks-winhttp-settings), Revision 20180226:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:30:40, DEBUG   : Going to install package 'Win10 tweaks:
> Enable Windows Update' (10tweaks-enable-wu), Revision 20200214:1, (execute
> flag is '', notify flag is 'true').
> 2022-06-29 11:30:41, DEBUG   : Going to install package 'Seven Registry
> tweaks: enable safe(r) DLL access' (7tweaks-enable-safedll), Revision
> 20130118:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:41, DEBUG   : Going to install package 'Seven Registry
> tweaks: disable Windows Backup' (7tweaks-disable-winbackup), Revision
> 20130529:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:41, DEBUG   : Going to install package 'Win10 tweaks:
> install SetUserFTA' (10tweaks-install-setuserfta), Revision 1.7.1:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:41, DEBUG   : Going to install package 'Win10 tweaks:
> enable OpenSSH' (10tweaks-enable-openssh), Revision 20181220:1, (execute
> flag is '', notify flag is 'true').
> 2022-06-29 11:30:43, DEBUG   : Going to install package 'Win10 tweaks:
> configure power system settings' (10tweaks-powercfg), Revision 20190107:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:43, DEBUG   : Going to install package 'Win10 tweaks:
> custom background for logon' (10tweaks-oembackground), Revision 20190108:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:43, DEBUG   : Going to install package 'Win10 tweaks:
> disable Cortana' (10tweaks-disable-cortana), Revision 20200108:1, (execute
> flag is '', notify flag is 'true').
> 2022-06-29 11:30:44, DEBUG   : Going to install package 'Win10 tweaks:
> remove unnecessary app' (10tweaks-debloat), Revision 20210320:1, (execute
> flag is '', notify flag is 'true').
> 2022-06-29 11:30:44, DEBUG   : Going to install package 'Win10 tweaks:
> disable Experimentation by Microsoft' (10tweaks-disable-experimentation),
> Revision 20190522:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:44, DEBUG   : Going to install package 'Win10 tweaks:
> install SetDefaultBrowser' (10tweaks-install-setdefaultbrowser), Revision
> 1.5:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:44, DEBUG   : Going to install package 'Win10 tweaks:
> Configure WinLogon' (10tweaks-winlogon-settings), Revision 20200508:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'Win10 tweaks:
> Enable Guest Access' (10tweaks-enable-guestaccess), Revision 20200722:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'Win10 tweaks:
> enable Point'n'Print driver for users after PrintNightmare'
> (10tweaks-enable-userpnp), Revision 20211027:1, (execute flag is '', notify
> flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'SecureLog Agent
> settings' (slagent-settings), Revision 20160718:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'SecureLog Agent'
> (slagent), Revision 2.6.0.7:1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'Seven Registry
> tweaks: enable auditing' (7tweaks-enable-audit), Revision 20130118:0,
> (execute flag is 'once', notify flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'SecureLog Agent
> filters' (slagent-filter), Revision 20160721:1, (execute flag is '', notify
> flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'SecureLog Agent
> settings' (slagent-settings), Revision 20160718:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'Local
> Administrator's Remote Password Change' (larpch), Revision 20130404:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'TightVNC server
> settings' (tightvnc-settings), Revision 20120910:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'CCleaner
> configuration' (ccleaner-settings), Revision 20140930:1, (execute flag is
> '', notify flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'CCleaner'
> (ccleaner), Revision 5.92.9652:1, (execute flag is '', notify flag is
> 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'Bacula File
> Daemon settings' (bacula-settings), Revision 20191108:1, (execute flag is
> '', notify flag is 'true').
> 2022-06-29 11:30:45, DEBUG   : Going to install package 'Mozilla products
> configuration - enable legacy profiles management'
> (mozilla-settings-legacyprofiles), Revision 20200225:1, (execute flag is
> '', notify flag is 'true').
> 2022-06-29 11:30:46, DEBUG   : Going to install package 'Mozilla
> Thunderbird configuration' (thunderbird-settings), Revision 20191029:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:46, DEBUG   : Going to install package 'Set Mozilla
> Thunderbird as default email client' (thunderbird-defaultclient), Revision
> 20110118:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:46, DEBUG   : Going to install package 'Mozilla Firefox
> configuration' (firefox-settings), Revision 20191028:1, (execute flag is
> '', notify flag is 'true').
> 2022-06-29 11:30:46, DEBUG   : Going to install package 'Set Mozilla
> Firefox as default web browser' (firefox-defaultclient), Revision
> 20180921:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:47, DEBUG   : Going to install package 'Adobe Flash
> Player configuration' (flash-settings), Revision 20140317:1, (execute flag
> is '', notify flag is 'true').
> 2022-06-29 11:30:47, DEBUG   : Going to install package 'Google Chrome
> configuration' (chrome-settings), Revision 20200609:1, (execute flag is '',
> notify flag is 'true').
> 2022-06-29 11:30:47, DEBUG   : Going to install package 'Delprof: run
> weekly roaming profile cleanup' (delprof-run), Revision 20130328:1,
> (execute flag is '', notify flag is 'true').
> 2022-06-29 11:30:47, DEBUG   : Going to install package 'FusionInventory
> Agent: run weekly the agent' (fusioninventory-run), Revision 20130807:1,
> (execute flag is '', notify flag is 'true').
>
>
> As you can see, some recipe take 5 or more seconds to run; if i check
> one (firefox):
>
> 2022-06-29 11:28:44, DEBUG   : Going to install package 'Mozilla Firefox'
> (firefox), Revision 91.11.0:1, (execute flag is '', notify flag is 'true').
> 2022-06-29 11:28:44, DEBUG   : Package 'Mozilla Firefox' (firefox): Not
> yet processed during this session.
> 2022-06-29 11:28:44, DEBUG   : Comparing version: '91.11.0:1' <=>
> '91.11.0:1'.
> 2022-06-29 11:28:44, DEBUG   : Checking existence of package: Mozilla
> Firefox
> 2022-06-29 11:28:44, DEBUG   : Reading variables from package 'Mozilla
> Firefox'.
> 2022-06-29 11:28:44, DEBUG   : Reading variables from profile[s]
> 2022-06-29 11:28:44, DEBUG   : Reading variables from hosts[s]
> 2022-06-29 11:28:44, DEBUG   : Host attribute 'architecture' with value
> 'x64' does not match expression 'x86'.
> 2022-06-29 11:28:44, DEBUG   : Searching for previously executed checks
> with attributes type='host', condition='architecture', value='x86'
> 2022-06-29 11:28:44, DEBUG   : Found 1 previously executed checks.
> 2022-06-29 11:28:44, DEBUG   : Replacing check results of previous
> evaluation
> 2022-06-29 11:28:44, DEBUG   : Saving unsorted settings to
> 'C:\Windows\System32\wpkg.xml'.
> 2022-06-29 11:28:44, DEBUG   : Saving XML : C:\Windows\System32\wpkg.xml
> 2022-06-29 11:28:44, DEBUG   : Result of logical 'AND' check is false.
> 2022-06-29 11:28:44, DEBUG   : Host attribute 'architecture' with value
> 'x64' matches expression 'x64'.
> 2022-06-29 11:28:44, DEBUG   : Searching for previously executed checks
> with attributes type='host', condition='architecture', value='x64'
> 2022-06-29 11:28:44, DEBUG   : Found 1 previously executed checks.
> 2022-06-29 11:28:44, DEBUG   : Replacing check results of previous
> evaluation
> 2022-06-29 11:28:44, DEBUG   : Saving unsorted settings to
> 'C:\Windows\System32\wpkg.xml'.
> 2022-06-29 11:28:44, DEBUG   : Saving XML : C:\Windows\System32\wpkg.xml
> 2022-06-29 11:28:48, DEBUG   : Uninstall entry 'Mozilla Firefox ESR (x64
> it)' matches string 'Mozilla Firefox ESR (x64 it)'.
> 2022-06-29 11:28:49, DEBUG   : Uninstall entry for Mozilla Firefox ESR
> (x64 it) was found: test successful.
> 2022-06-29 11:28:49, DEBUG   : Searching for previously executed checks
> with attributes type='uninstall', condition='exists', path='Mozilla Firefox
> ESR (x64 it)'
> 2022-06-29 11:28:49, DEBUG   : Unable to find any previously executed
> checks with these attributes.
> 2022-06-29 11:28:49, DEBUG   : Saving unsorted settings to
> 'C:\Windows\System32\wpkg.xml'.
> 2022-06-29 11:28:49, DEBUG   : Saving XML : C:\Windows\System32\wpkg.xml
> 2022-06-29 11:28:49, DEBUG   : Result of logical 'AND' check is true.
> 2022-06-29 11:28:49, DEBUG   : Result of logical 'OR' check is true.
> 2022-06-29 11:28:49, DEBUG   : Package 'Mozilla Firefox' (firefox):
> Already installed.
>
> seems it takes 4 seconds to compute check condition of type
> 'install'...
>
> as counterexample, a recipe that have check condition only on file AND
> registry, it is quick:
>
> 2022-06-29 11:28:54, DEBUG   : Going to install package 'Adblock Plus for
> Mozilla Firefox' (firefox-adblockplus), Revision 3.14:1, (execute flag is
> '', notify flag is 'true').
> 2022-06-29 11:28:54, DEBUG   : Package 'Adblock Plus for Mozilla Firefox'
> (firefox-adblockplus): Not yet processed during this session.
> 2022-06-29 11:28:54, DEBUG   : Comparing version: '3.14:1' <=> '3.14:1'.
> 2022-06-29 11:28:54, DEBUG   : Checking existence of package: Adblock Plus
> for Mozilla Firefox
> 2022-06-29 11:28:54, DEBUG   : Reading variables from package 'Adblock
> Plus for Mozilla Firefox'.
> 2022-06-29 11:28:54, DEBUG   : Reading variables from profile[s]
> 2022-06-29 11:28:54, DEBUG   : Reading variables from hosts[s]
> 2022-06-29 11:28:54, DEBUG   : The path 'C:\Program Files\Mozilla
> Firefox\browser\extensions\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi'
> exists and is a file: the test was successful.
> 2022-06-29 11:28:54, DEBUG   : Searching for previously executed checks
> with attributes type='file', condition='exists',
> path='%ProgramFiles%\\Mozilla
> Firefox\\browser\\extensions\\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}.xpi'
> 2022-06-29 11:28:54, DEBUG   : Unable to find any previously executed
> checks with these attributes.
> 2022-06-29 11:28:54, DEBUG   : Saving unsorted settings to
> 'C:\Windows\System32\wpkg.xml'.
> 2022-06-29 11:28:54, DEBUG   : Saving XML : C:\Windows\System32\wpkg.xml
> 2022-06-29 11:28:54, DEBUG   : Checking file modification date.
> 2022-06-29 11:28:54, DEBUG   : Reading last modification date of
> 'C:\Program Files\Mozilla
> Firefox\browser\defaults\preferences\adblockplus.js'.
> 2022-06-29 11:28:54, DEBUG   : Reading file modification date of reference
> file '\\FILESV\wpkg\packages\firefox-adblockplus.js'.
> 2022-06-29 11:28:54, DEBUG   : Reading last modification date of
> '\\FILESV\wpkg\packages\firefox-adblockplus.js'.
> 2022-06-29 11:28:54, DEBUG   : Modification date of file 'C:\Program
> Files\Mozilla Firefox\browser\defaults\preferences\adblockplus.js' is Tue
> Sep 1 12:50:48 UTC+0200 2015 which is equal to the comparison date Tue Sep
> 1 12:50:48 UTC+0200 2015 check succeeded.
> 2022-06-29 11:28:54, DEBUG   : Searching for previously executed checks
> with attributes type='file', condition='datemodifyequalto',
> path='%ProgramFiles%\\Mozilla
> Firefox\\browser\\defaults\\preferences\\adblockplus.js',
> value='@%WPKGROOT%\\packages\\firefox-adblockplus.js'
> 2022-06-29 11:28:54, DEBUG   : Unable to find any previously executed
> checks with these attributes.
> 2022-06-29 11:28:54, DEBUG   : Saving unsorted settings to
> 'C:\Windows\System32\wpkg.xml'.
> 2022-06-29 11:28:54, DEBUG   : Saving XML : C:\Windows\System32\wpkg.xml
> 2022-06-29 11:28:54, DEBUG   : Result of logical 'AND' check is true.
> 2022-06-29 11:28:54, DEBUG   : Package 'Adblock Plus for Mozilla Firefox'
> (firefox-adblockplus): Already installed.
>
>
> Thanks.
>
> --
> dott. Marco Gaiarin                                     GNUPG Key ID:
> 240A3D66
>   Associazione ``La Nostra Famiglia''
> http://www.lanostrafamiglia.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/index.php/it/sostienici/5x1000
>         (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 at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/wpkg-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20220629/2c9c0583/attachment-0001.html>


More information about the wpkg-users mailing list