<html>
<head>
<base href="http://bugzilla.wpkg.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Intermittent problem Uninstall not found in System Context"
href="http://bugzilla.wpkg.org/show_bug.cgi?id=287#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Intermittent problem Uninstall not found in System Context"
href="http://bugzilla.wpkg.org/show_bug.cgi?id=287">bug 287</a>
from <span class="vcard"><a class="email" href="mailto:robl@grrl.lib.mn.us" title="Robl <robl@grrl.lib.mn.us>"> <span class="fn">Robl</span></a>
</span></b>
<pre>Rainer,
Thank you so much for the quick responses. So I kind of thought it may be
something like this so what we tried to do was change the way our batch file
executed wpkg.js. I have included what that file looks like:
echo %DATE% %TIME% > c:\temp\maint_status.log 2>&1
whoami >> c:\temp\maint_status.log 2>>&1
echo %PROCESSOR_ARCHITECTURE% >> c:\temp\maint_status.log 2>>&1
%windir%\SysWOW64\cscript.exe /b /nologo \\DOMAIN\wpkg\wpkg.js /synchronize
/quiet /nonotify /noreboot >> c:\temp\maint_status.log 2>>&1
whoami >> c:\temp\maint_status.log 2>>&1
So we believe we are executing the 64bit cscript.exe (previously it had been
%windir%\System32\cscript.exe). I have never used %Systemroot%\sysnative\ but
it seems to return path not found for me.
With that being said can I use the same command above to execute the wrapper.js
instead of the wpkg.js without problems?
As for the second point about permissions; Do you know how I would check if
this is the case, when WPKG runs the check on the registry files doesn't this
happen under the Local System context? I would imagine it having permissions to
the HKLM registry hive, but admittedly haven't done any looking at this.
Thanks again!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>