[wpkg-users] [Bug 287] Intermittent problem Uninstall not found in System Context

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Thu Jul 7 20:41:10 CEST 2016


http://bugzilla.wpkg.org/show_bug.cgi?id=287

--- Comment #5 from Robl <robl at grrl.lib.mn.us> ---
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!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20160707/e8a40080/attachment.html>


More information about the wpkg-users mailing list