[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 21:10:12 CEST 2016


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

--- Comment #8 from Rainer Meier <r.meier at wpkg.org> ---
(In reply to Robl from comment #7)

> So then the original command "%windir%\System32\cscript.exe /b /nologo
> \\DOMAIN\wpkg\wpkg.js /synchronize /quiet /nonotify /noreboot" would have
> been calling the x64 version of cscript.exe?

Yes it does. Unless called from 32-bit cmd.exe which would force it to be
redirected to SysWoW64\cscript.exe and therefore execute 32-bit cscirpt.exe
again.

So just use "%windir%\System32\cscript.exe /b /nologo \\DOMAIN\wpkg\wpkg.js
/synchronize /quiet /nonotify /noreboot" but absolutely make sure it's run from
64-bit cmd.exe.

If in doubt call %SystemRoot%\sysnative\cscript.exe (if it exists, which is the
case on 64-bit systems only). This is what wrapper.js does. It fixes the
mistake of users running cscript.exe from a 32-bit application and forces to
invoke 64-bit cscript.exe.

-- 
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/16c324cc/attachment-0001.html>


More information about the wpkg-users mailing list