<div dir="ltr"><div>Perhaps this?</div><div><br></div><a href="https://github.com/wpkg/wpkg-js/blob/36adca693497e5ea17a0ccbc75af71b6d4449a66/wpkg.js#L10639" target="_blank">https://github.com/wpkg/wpkg-js/blob/36adca693497e5ea17a0ccbc75af71b6d4449a66/wpkg.js#L10639</a><div><br></div><div><snip></div><div>function scanUninstallKeys(nameSearched) {<br> var uninstallPath = new Array();<br> var scanKeys = new Array();<br> scanKeys.push("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall");<br> if (is64bit()) {<br> // scan redirected path as well (assures that 32-bit applications are<br> // found)<br> scanKeys.push("SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall");<br> }<br><br> // try regular expression matching<br> var regularExpression = true;<br> for (var i=0; i < scanKeys.length; i++) {<br> var regPath = scanKeys[i];<br> /*<br> * recursive registry reading is very slow with WSH. Therefore supporting Sub-keys in uninstall entries slows<br> * down uninstall key scanning dramatically. So I leave it off for the moment. Please use registry key checks if<br> * you need to check an uninstall key defined within a sub-key of the uninstall registry location<br> */<br></div><div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div></snip></div><div><br></div><div>Change your check to see if processing times improve.</div><div><br>Kris Lou<br><a href="mailto:klou@themusiclink.net" target="_blank">klou@themusiclink.net</a></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 30, 2022 at 2:40 PM Marco Gaiarin <<a href="mailto:gaio@lilliput.linux.it" target="_blank">gaio@lilliput.linux.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Mandi! Andreas Habel<br>
In chel di` si favelave...<br>
<br>
> I experienced something similar -- simply scanning the WPKG packages suddenly took about an hour instead of 1-2 minutes.<br>
> I found out that I had to whitelist cscript.exe in my anti-virus scanner. Since then things have been normal again.<br>
<br>
I've thinked about the AV solution mee too, but why impact Win10 and not<br>
Win7? Anyway, i've setup an exclusion rules for cscript, but nothing changed.<br>
<br>
Anyway, in some days i'll have to change the AV solution, so more info will<br>
come...<br>
<br>
-- <br>
Il Re di Spagna fece vela, verso l'isola incantata<br>
pero` quell'isola non c'era,<br>
e mai nessuno l'ha trovata (F. Guccini)<br>
<br>
<br>
---------------------------------<br>
wpkg-users mailing list archives >> <a href="http://lists.wpkg.org/pipermail/wpkg-users/" rel="noreferrer" target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br>
_______________________________________________<br>
wpkg-users mailing list<br>
<a href="mailto:wpkg-users@lists.wpkg.org" target="_blank">wpkg-users@lists.wpkg.org</a><br>
<a href="https://lists.wpkg.org/mailman/listinfo/wpkg-users" rel="noreferrer" target="_blank">https://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br>
</blockquote></div>