[wpkg-users] [Bug 258] Windows 7 64 bit not correctly detected

Rainer Meier r.meier at wpkg.org
Mon Dec 5 20:41:14 CET 2011


Hi Joe,

On 05.12.2011 20:18, Joe wrote:
> So a 32 bit client running under windows 64 bit on 64 bit hardware
> detects as 32 bit?

Yes it does. And yes, it is correct bahavior from WPKG point of view. The reason 
is that in case WPKG (WSH script) runs in 32-bit WSH interpreter, then it has no 
possibilities to access virtualized 64-bit file system or registry elements.

As a result WPKG running in 32-bit WSH environment can only work with 32-bit 
software. For example checking uninstall entries for 64-bit software is not 
possible when WPKG is running wrongly in 32-bit WSH environment.

Though you can still run 32-bit WPKG client if you manually run 
%SystemRoot%\sysnative\cscript.exe instead of 32-bit cscript.exe. But I strongly 
recommend to use 64-bit WPKG client directly.

Only when run in 64-bit WSH environment WPKG can work with all 64-bit system 
properties, and only in this setup it makes sense to detect the system as being 
a 64-bit system.


br,
Rainer



More information about the wpkg-users mailing list